NYCPHP Meetup

NYPHP.org

[nycphp-talk] Parse HTML Files as PHP

Peter Sawczynec ps at blu-studio.com
Fri Feb 20 16:34:37 EST 2009


I want to get my *. htm and *.html files to be parsed as PHP files.
With shared hosting I don't have access to Apache conf, but I can put
.htaccess files 
in my dirs. So I am planning to add this line:

AddHandler application/x-httpd-php .html .htm

… in the .htaccess file.

Anyone have any comment on this strategy pro or con?
Has anyone done this and was satisfied with the results?

Warmest regards, 
 
Peter Sawczynec 
Technology Dir.
blūstudio 
941.893.0396
ps at blu-studio.com 
www.blu-studio.com 






More information about the talk mailing list