[thelist] PHP and .htaccess

Dan Stockton prosayist at yahoo.com
Wed Sep 25 06:17:01 CDT 2002


--
[ Picked text/plain from multipart/alternative ]

"What is the line in .htaccess to invoke .html pages to be parsed by PHP

This isnt quite it
AddType application/x-httpd-parser .html"

this actually has nothing to do with php.ini, it's an entry in 'httpd.conf' but you can use it in .htaccess as such:
AddType application/x-httpd-php .html
alternatively, you can parse everything ;
DefaultType application/x-httpd-php



---------------------------------
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!



More information about the thelist mailing list