Forum Moderators: phranque
In the meantime, I've just added a 'FilesMatch' rule in .htaccess to stop anyone accessing any config files or .inc.php - which removes most of the risks.
But I was wondering if there was any rule I could add into my htaccess file to send a 403 if the MIME-type being sent to the browser is 'application/x-httpd-php' (i.e. the source hasn't been parsed), or if the PHP apache module isn't loaded?
Many thanks for any ideas!
Andy