Browse Source

hide and disallow access to .git folder in webroot

master
mxmehl 5 years ago
parent
commit
e84c015cce
  1. 2
      .htaccess

2
.htaccess

@ -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

Loading…
Cancel
Save