Created
December 29, 2014 05:51
-
-
Save kopepasah/5a00a50f9ee3fdbc95d4 to your computer and use it in GitHub Desktop.
An .htaccess configuration for hiding SVN/Git files.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Hide SVN / GIT files | |
RedirectMatch 404 /\\.(git|gitignore|gitmodules|sh|svn|log|htaccess|htpasswd|ini|phps|fla|psd)(/.*|$) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment