Why would changing httpd.conf work for me, but .htaccess would not? [closed]
- by Carl Rempel
I have html files which contain PHP. When I use filename.php they work great. When I use filename.html the entire file renders as plain text.
If I add the following line to my .htaccess, the file still appears as plain text.
AddType application/x-httpd-php .php .html
But ... if I add the the exact same line to my httpd.conf, then PHP renders my page correctly.
What are some possible explanations as to why the .htaccess would not work for me?
I'm using apache OS X, Snow Leopard.