Skip to content

Instantly share code, notes, and snippets.

@andrii-kvlnko
Created September 7, 2019 05:31
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 andrii-kvlnko/bf7a4e5fa95f473bd579a00455f5fcdd to your computer and use it in GitHub Desktop.
Save andrii-kvlnko/bf7a4e5fa95f473bd579a00455f5fcdd to your computer and use it in GitHub Desktop.
Apache | Prevent .git access
RedirectMatch 404 /\.git
RedirectMatch 404 ^.*\.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment