Now really…

This commit is contained in:
Roman committed 2020-04-01 15:14:52 +02:00
1 parent 2b6e892064
commit a3b39001aa
1 file changed
+1 -5
+1 -5
View File
@@ -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>