|
How can I configure Apache to treat .html files as PHP under suPHP? You need to remove any previous entries for handling .html files as PHP and insert the following in your .htaccess file: AddHandler x-httpd-php .html .htm Or you can add this manually using Cpanel -> Apache Handlers -> New: Extension: .html .htm Handler: x-httpd-php The newest cPanel servers actually require the following instead: AddHandler application/x-httpd-php .html .htm or AddType application/x-httpd-php .html .htm Please try this if the first type doesn't work for you for files.
|