AddType or AddHandler in .htaccess?

Status
Not open for further replies.

mindos4

New Member
Messages
22
Reaction score
0
Points
0
I want to be able to use php in my .html and .htm files. I have added the following lines into my .htaccess file:
AddHandler application/x-httpd-php .html .htm
AddType application/x-httpd-php .html .htm

I added both because I don't know how the server interprets php (CGI or other?)

But it's not working. Here's my whole .htaccess just in case it needs to
be in a different spot, or something:

Code:
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName mindos4.x10.mx
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
AddType application/x-httpd-php .html .htm
AddHandler application/x-httpd-php .html .htm
 
Status
Not open for further replies.
Top