Now really…

This commit is contained in:
Roman Hergenreder 2020-04-01 15:14:52 +02:00
parent 2b6e892064
commit a3b39001aa

@ -1,12 +1,8 @@
php_flag display_errors on php_flag display_errors on
Options -Indexes Options -Indexes
# ErrorDocument 404 RedirectMatch 404 /\.git
RewriteEngine On 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 ~ "^\.*">
Deny from all
</Files>