View Single Post
  #4 (permalink)  
Old 2007-03-07, 11:01 AM
karthikeyanr23 karthikeyanr23 is offline
Junior Member
 
Join Date: Mar 2007
Posts: 1
karthikeyanr23 is on a distinguished road
Default To parse html pages as php

Hi jonwade,

You want apache to parse html as php right? This can be set by putting the following code in ".htaccess"

1. edit .htaccess file

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

This will do the trick.

If you want more extension to be parsed as php you can add as much

eg:

AddHandler application/x-httpd-php .php .phtml .html .htm .shtml .cgi .pl .asp .dll


Regards,
Karthikeyan.R
Reply With Quote