Is there a way to just have php parsed in a single file rather than in all files ending in a particular extension?
For example, I know that
AddType application/x-httpd-php .html
will parse all .html files using the php parsing engine
But I want to only parse abc.html and not anythingelse.html
I am thinking this is the directive
AddType application/x-httpd-php abc.html
but it does not work like I want it too.
Is what I am trying to do possible?
Best Answer
Just put your AddType directive inside a Files or FilesMatch container to only apply it to specific files.