diff options
author | Thomas Lange <code@nerdmind.de> | 2021-06-17 19:59:38 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-06-17 19:59:38 +0200 |
commit | 51a0d16b53abe970acf1918dfffcaa225a65db3a (patch) | |
tree | b97a4abc8c1e2b750ff5e3fbd84fe458585f3385 /.htaccess | |
parent | 1bc0e9f154138354864d243aa559854c5e5eb71c (diff) | |
download | blog-51a0d16b53abe970acf1918dfffcaa225a65db3a.tar.gz blog-51a0d16b53abe970acf1918dfffcaa225a65db3a.tar.xz blog-51a0d16b53abe970acf1918dfffcaa225a65db3a.zip |
Add .git to forbidden directories
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ ErrorDocument 404 /404.php #=============================================================================== # Forbidden directories #=============================================================================== -RewriteRule ^(core|theme/([^/]+)/(html|lang)/) - [F] +RewriteRule ^(.git|core|theme/([^/]+)/(html|lang)/) - [F] #=============================================================================== # Main rules |