0

Ok guys, here's the story: my server in configured so it would parse all the html request as php, did this so I can insert php code in to html files... and is working.
But, I have 2 html pages that I'd like for the server to parse as html, about.html and about-1.html So, how can I do this with htaccess or the apache's config file? (if possible)

The reason is that that these 2 pages have a lot of visitors and I think is they'll parse as they are, html, it will take some load from the apache server, making it a little lighter.

2
Contributors
1
Reply
3
Views
6 Years
Discussion Span
Last Post by cereal
0

This should work:

<Files about.html>
php_flag engine off
AddType text/html .html
ForceType text/html
</Files>
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.