Disallow git directory
This commit is contained in:
parent
4e9eda3b5b
commit
ccca66f55c
@ -6,3 +6,7 @@ Options -Indexes
|
||||
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 ~ "^.*">
|
||||
Deny from all
|
||||
</Files>
|
||||
|
Loading…
Reference in New Issue
Block a user