I have several .html files in my webroot directory which need to be parsed as php because they contain some php code. I've set up an .htaccess file with the following, and it works just fine:
AddType application/x-httpd-php .php .html .htm
The problem is that I want to limit the effect of this to the webroot directory only. For all subdirectories, I don't want .html pages to be parsed by the php interpreter.
How do I limit php parsing of .html files to the "superdirectory" only and not have it happen for any subdirectories?
Thanks.