Skip to content

Instantly share code, notes, and snippets.

@shnhrrsn
Created March 10, 2012 19:54
Show Gist options
  • Save shnhrrsn/2012732 to your computer and use it in GitHub Desktop.
Save shnhrrsn/2012732 to your computer and use it in GitHub Desktop.
# Disable Access to .svn directories
RewriteRule \.svn - [F]
# Disable Access to .git directories
RewriteRule \.git - [F]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment