web-base/.htaccess

14 lines
396 B
ApacheConf
Raw Normal View History

2020-02-09 23:02:19 +01:00
php_flag display_errors on
Options -Indexes
2020-02-10 00:52:25 +01:00
RewriteEngine On
2020-06-19 14:12:07 +02:00
RewriteRule ^api(/.*)?$ /index.php?api=$1 [L,QSA]
<IfModule mod_rewrite.c>
RewriteEngine On
2020-06-20 15:49:53 +02:00
DirectorySlash Off
2020-06-19 14:12:07 +02:00
RewriteCond %{REQUEST_FILENAME} !-f
2020-06-20 15:49:53 +02:00
RewriteCond %{REQUEST_FILENAME} !-d [OR]
RewriteCond %{REQUEST_URI} "(\.idea|\.git|src|test|core)(/.*)?"
2020-06-19 14:12:07 +02:00
RewriteRule ^(.*)$ /index.php?site=$1 [L,QSA]
</IfModule>