Allow only specific file to run PHP via htaccess – Apache
The following makes the list of extensions capable of executing PHP: AddType application/x-httpd-php5 .php .php5 How do I allow only one specific file to be able to run PHP? The following does not work: AddType application/x-httpd-php5 example.php9