Skip to content

Instantly share code, notes, and snippets.

@krohn
Created November 20, 2015 10:43
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 krohn/ad398ae16536aa5b1484 to your computer and use it in GitHub Desktop.
Save krohn/ad398ae16536aa5b1484 to your computer and use it in GitHub Desktop.
Verhindert Zugriff auf GIT/SVN Referenzen
<DirectoryMatch ".*/\.(git|svn)/.*">
  Require all denied
</DirectoryMatch>
@krohn
Copy link
Author

krohn commented Nov 20, 2015

Die Verzeichnisse .git und .svn habe sowas von rein gar nichts auf Produktiv-Systemen zu suchen.
Ist aber mal etwas schiefgegangen, ist dies der Fallschirm...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment