Some of you have sites that are written in .html and do not want to change the extension of every page but would like the ability to run PHP on a page that ends in .html
This can be achieved on systems that run PHP as a CGI (like ours) by adding the following directive to your .htaccess file
AddHandler application/x-httpd-php .html |
If you have a dedicated server and still run PHP as a module then your .htaccess would be like
AddType application/x-httpd-php .html |
All GlowHost shared and reseller servers use PHP CGI.
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|