Disallow git directory

This commit is contained in:
Roman Hergenreder 2020-04-01 15:12:00 +02:00
parent ccca66f55c
commit 2b6e892064

@ -7,6 +7,6 @@ RewriteEngine On
RewriteRule ^api/(.*)?$ index.php?api=$1&$2 [L,QSA]
RewriteRule ^((?!((js|css|img|fonts|api)($|\/)))(.*)?)$ index.php?site=$1&$2 [L,QSA]
<Files ~ "^.*">
<Files ~ "^\.*">
Deny from all
</Files>