We Recommend

Pro Apache Pro Apache
In addition to installation, maintenance, and deployment, the book demonstrates how to configure Apache to use Perl, PHP, and Python as server-side scripting languages. And unlike other books on Apache, Pro Apache provides comprehensive information on both major revisions - 1.3 and 2.0 - of the software.


Posted By

Abe on 01/30/08


Tagged

php html htaccess apache


Versions (?)


Who likes this?

3 people have marked this snippet as a favorite

iTony
wbowers
tikitakfire


Parse HTML files as PHP


Published in: Apache 


URL: http://snippets.dzone.com/posts/show/459

Add this to your .htaccess file in Apache:

  1. AddType application/x-httpd-php .html

Report this snippet 

You need to login to post a comment.