Commit 3f2aec08 authored by root's avatar root Committed by agata

Let apache ignore our .git directory

parent e3c6c2cc
......@@ -46,3 +46,11 @@ RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L]
# END WordPress
# BEGIN noblogs
# .git doesn't exist
RedirectMatch 404 /\\.git(/|$)
# END noblogs
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment