View Single Post
  #2 (permalink)  
Old 11-23-2008, 06:42 AM
chandrika's Avatar
chandrika chandrika is offline
WebProWorld Veteran
 
Join Date: Oct 2005
Location: Cambridge, UK
Posts: 376
chandrika RepRank 4chandrika RepRank 4chandrika RepRank 4chandrika RepRank 4
Default Re: Firefox doe snot like my HTACCESS

The code I use to do this in htaccess is just

AddType application/x-httpd-php .htm .html

The code you put above does not have a dot before the htm html etc, maybe that makes a difference?

You have two lines there and it may be also that you only need to use one of those lines, depending on how your server runs php.

For web servers using PHP as apache module:

AddType application/x-httpd-php .html .htm

For web servers running PHP as CGI:

AddHandler application/x-httpd-php .html .htm
__________________
2009 Hairstyles - Pictures of 2009 hairstyles and a virtual hairstyler demo.
Price Comparison Site - Compare prices of well known brands and products.
Reply With Quote