web-base/.htaccess

16 lines
398 B
ApacheConf
Raw Normal View History

2020-02-09 23:02:19 +01:00
php_flag display_errors on
Options -Indexes
2020-06-22 19:09:02 +02:00
DirectorySlash Off
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]
2020-06-22 19:09:02 +02:00
RewriteEngine On
RewriteOptions AllowNoSlash
RewriteRule ^((\.idea|\.git|src|test|core|static)(/.*)?)$ /index.php?site=$1 [L,QSA]
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?site=$1 [L,QSA]