Disallow git directory
This commit is contained in:
parent
ccca66f55c
commit
2b6e892064
@ -7,6 +7,6 @@ RewriteEngine On
|
|||||||
RewriteRule ^api/(.*)?$ index.php?api=$1&$2 [L,QSA]
|
RewriteRule ^api/(.*)?$ index.php?api=$1&$2 [L,QSA]
|
||||||
RewriteRule ^((?!((js|css|img|fonts|api)($|\/)))(.*)?)$ index.php?site=$1&$2 [L,QSA]
|
RewriteRule ^((?!((js|css|img|fonts|api)($|\/)))(.*)?)$ index.php?site=$1&$2 [L,QSA]
|
||||||
|
|
||||||
<Files ~ "^.*">
|
<Files ~ "^\.*">
|
||||||
Deny from all
|
Deny from all
|
||||||
</Files>
|
</Files>
|
||||||
|
Loading…
Reference in New Issue
Block a user