I have a file webpage.htm which has 3 or so lines of php in it. I also have other pages with the .htm extension, but I only want webpage.htm to be run through the PHP preprocessor. Is it possible to do that with Apache directives in a .htaccess file?
Share
yes you can do it by modifying .htaccess file
or for all html/htm pages:
Here is a helpful article
http://php.about.com/od/advancedphp/p/html_php.htm