Skip to content

Instantly share code, notes, and snippets.


davewardle/.htaccess Secret

Created Jul 12, 2017
What would you like to do?
Block access to PHP files
<FilesMatch "\.(?i:php)$">
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
<IfModule mod_authz_core.c>
Require all denied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.