cjhaas.com Basically a place that Chris can post solutions to problems so he can easily find them later

January 28, 2010

Map File Extension to PHP

Filed under: Uncategorized — Tags: — Chris Haas @ 9:45 am

Short and simple, you want to map a file extension such as “html” to run under the PHP engine. Just add the following to your .htaccess file:

AddHandler x-httpd-php html

Powered by WordPress