joined:Feb 23, 2012
I have tried several settings in .htaccess each of which appear to get my .htm files in the directory being parsed by php which is what I want. Some I have tried that seem to work in that they do get htm to be processed by php are:
AddType application/x-httpd-php .htm
AddType php5-script .htm
AddHandler application/x-httpd-php .htm
AddHandler php5-script .htm
Unfortunately, my php autoprepend file, set in php5.ini, is not running. It get run when it should when accessing a .php file but not processing any .htm files. If I rename the files from .htm to .php they work correctly, but when I rename them back to .htm files the autoprepend does not happen and they break.
I have done this many times before without a problem, but not this time. Is there something else I need to do that I have forgotten?
Driving me nuts!