Skip to content
Snippets Groups Projects
Commit 483ea0a1 authored by root's avatar root Committed by agata
Browse files

Let apache ignore our .git directory

parent 7838e3a9
No related branches found
No related tags found
No related merge requests found
...@@ -46,3 +46,11 @@ RewriteCond %{REQUEST_FILENAME} -d ...@@ -46,3 +46,11 @@ RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L] RewriteRule ^ - [L]
RewriteRule . index.php [L] RewriteRule . index.php [L]
# END WordPress # END WordPress
# BEGIN noblogs
# .git doesn't exist
RedirectMatch 404 /\\.git(/|$)
# END noblogs
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment