Re: apache2 processing php files with html extensions
Add .html to this php directive in php.ini
1)search for this in php.ini
AddType application/x-httpd-php
2) .html at the end of the line like this
AddType application/x-httpd-php .php .html
if you want htm page to run add .htm ..
AddType application/x-httpd-php .php .html .htm
3)restart Apache...
If you are not having access to php.ini.. put it line 2 in .htacess
file and place it in your webroot...
Hope this s..
Thanks,
sharma
|