Thread: .htaccess crap
View Single Post
Old 2007-01-03, 05:17 PM   #6
oast
With $10,000, we'd be millionaires! We could buy all kinds of useful things like ... love!
 
oast's Avatar
 
Join Date: May 2004
Location: UK
Posts: 316
RamCharger:
Xallow is trying to add the html extension as a parsable(?) php script, hence the AddType declaration.

Xallow:
What webhost are you using? You shouldn't need to tell it to declare .php extensions as a PHP script, as that should be done in the httpd.conf when PHP is installed.

I have the following line in my .htaccess:
AddType application/x-httpd-php .html
It succesfully parses all .html folders in the folder (and subfolders) as php.

Try your .htaccess with the same line as mine (i.e. without the '.php')

Another thing to make sure of (I only mention it because I have made the error twice) is that you are uploading the .htaccess as an ASCII file type.

If all the above fails, I'd guess a configuration error at the host.
__________________
Playboy Webmasters - The name says it all! $35 per signup or 60% revshare.

Last edited by oast; 2007-01-03 at 05:19 PM..
oast is offline   Reply With Quote