web-base/.htaccess
Roman Hergenreder bc2fbbda68 reactjs
2020-06-14 12:38:35 +02:00

10 lines
290 B
ApacheConf

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