Skip to content

Instantly share code, notes, and snippets.

@leducson1
Created June 13, 2017 04:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leducson1/4e15ecc7333460590a66df6653b2a5f9 to your computer and use it in GitHub Desktop.
Save leducson1/4e15ecc7333460590a66df6653b2a5f9 to your computer and use it in GitHub Desktop.
# protect file .htaccess:
<Files ~ “^.*\.([Hh][Tt][Aa])”>
order allow,deny
deny from all
satisfy all
</Files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment