hide and disallow access to .git folder in webroot
This commit is contained in:
@@ -23,6 +23,8 @@ ErrorDocument 404 /404.php
|
|||||||
Redirect 301 /blog http://blog.max-mehl.com/
|
Redirect 301 /blog http://blog.max-mehl.com/
|
||||||
Redirect 301 /it-services http://it.mehl.mx
|
Redirect 301 /it-services http://it.mehl.mx
|
||||||
|
|
||||||
|
# Forbid .git folder
|
||||||
|
RedirectMatch 404 /\.git
|
||||||
|
|
||||||
## SSL
|
## SSL
|
||||||
# Enforce SSL
|
# Enforce SSL
|
||||||
|
|||||||
Reference in New Issue
Block a user