Is there a way for a file.htm or file.html to try to be processed as a php file without have to rename all the files to .php??
Thanks in advance
Is there a way for a file.htm or file.html to try to be processed as a php file without have to rename all the files to .php??
Thanks in advance
Disregard I got it!!
Out of interest, why do you want to do this?
You can certainly tell Apache to process all .htm or .html files with PHP, however this will surely only result in an increase in server load as a lot of static html pages that would otherwise not be passed to PHP will be processed for no reason.
Add a handler for it =) in httpd.conf or .htaccess
Upload Guardian 2.0 - Sign up for our early beta
ServerProgress - Server security, consulting and assistance
Yeah thats what I did. ThanksOriginally Posted by ramprage
Basically to avoid renaming. Many people use FrontPage and insert PHP code in the pages but cannot name the file .php because it will cause FrontPage to not read the file. So they would have to rename extenison and not be able to take advantage of the publishing features. Since I have done it I have not noticed an increase in load. Our load stays under .30 most of the time and .00 so I do not think it will be an issue.Originally Posted by webignition