Mensch Tracht und Gott Lacht - Filtering Views, News, Tips, Tricks and Temporal Anomalies
Process php on html pages
March 9, 2006 | In web design |Previously I posted about a gentle introduction to php.
To make your .htm or .html pages process like they were .php, just add this line to your .htaccess file:
AddType application/x-httpd-php .html .php .htm
Or use:
RewriteEngine On
RewriteRule ^index.html /index.php
The .htaccess directory-level configuration file can also be used for:
Custom Error Pages
Password protection
Redirects
Prevent hotlinking of images
Preventing Directory Listing
No Comments yet »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds.
Valid XHTML and CSS. ^Top^







Recent Comments