Modify working AddHandler to match files only in the CURRENT directory, NOT child directories – Apache
The following works fine for allowing PHP to be executed on two XML files: <FilesMatch ^(opensearch|sitemap).xml$> AddHandler application/x-httpd-php5 .xml </FilesMatch> However unfortunately this rule would allow this to happen in any child directory as well. /opensearch.xml, working/desired match /henchman24/opensearch.xml, working/NOT…