Now really…
This commit is contained in:
1 parent
2b6e892064
commit
a3b39001aa
1 file changed
+1
-5
@@ -1,12 +1,8 @@
|
||||
php_flag display_errors on
|
||||
Options -Indexes
|
||||
|
||||
# ErrorDocument 404
|
||||
RedirectMatch 404 /\.git
|
||||
|
||||
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>
|
||||
Reference in new issue
Block a user