This commit is contained in:
2020-02-10 12:32:53 +01:00
parent db4f2db28a
commit cdd159869b
5 changed files with 80 additions and 4 deletions

View File

@@ -1,6 +1,8 @@
php_flag display_errors on
Options -Indexes
# ErrorDocument 404
RewriteEngine On
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]