[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] server parsed asp / php on *.html page



On Wed, 7 Feb 2001, hirsh -e-skwirtz wrote:

> we need to come up with an htaccess file that will allow the server to parse 
> php and asp includes on *.html pages...

Well, you can't do *both* at the same time, they are either one or the
other ;0

if you want to pretend html files are php in one directory and that html
files are asp in another you can do that, in the appropriate directories
just make an htaccess file that overrides the file type, eg has this in
it:

AddType application/x-httpd-php .html

(for the php pages...not sure offhand what type mimetype name is for asp)

maybe this?

AddHandler chiliasp .asp

gsh