Skip to content

Instantly share code, notes, and snippets.

@charliecm
Created June 16, 2013 18:40
Show Gist options
  • Save charliecm/5792967 to your computer and use it in GitHub Desktop.
Save charliecm/5792967 to your computer and use it in GitHub Desktop.
Various .htaccess security tweaks.
# Block access to .ht* files
<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