web-base/.htaccess
2020-04-03 22:10:21 +02:00

9 lines
229 B
ApacheConf

php_flag display_errors on
Options -Indexes
RedirectMatch 404 /\.git
RewriteEngine On
RewriteRule ^api/(.*)?$ index.php?api=$1&$2 [L,QSA]
RewriteRule ^((?!((js|css|img|fonts|api|docs)($|/)))(.*)?)$ index.php?site=$1&$2 [L,QSA]