hide and disallow access to .git folder in webroot

This commit is contained in:
2017-05-15 00:45:24 +02:00
parent e41f46a282
commit e84c015cce

View File

@@ -23,6 +23,8 @@ ErrorDocument 404 /404.php
Redirect 301 /blog http://blog.max-mehl.com/
Redirect 301 /it-services http://it.mehl.mx
# Forbid .git folder
RedirectMatch 404 /\.git
## SSL
# Enforce SSL