Skip to content

Instantly share code, notes, and snippets.

@stefanpejcic
Created August 29, 2019 11:09
Show Gist options
  • Save stefanpejcic/9488f98a5bc03137de9eae79574fcbb1 to your computer and use it in GitHub Desktop.
Save stefanpejcic/9488f98a5bc03137de9eae79574fcbb1 to your computer and use it in GitHub Desktop.
protect specific
<FilesMatch "^.*(error_log|wp-config\.php|php.ini|\.[hH][tT][aApP].*)$">
Order deny,allow
Deny from all
</FilesMatch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment