web-base/.htaccess

17 lines
366 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]
2021-01-14 23:41:16 +01:00
RewriteEngine On
RewriteOptions AllowNoSlash
RewriteRule ^files$ /files/ [L,QSA]
2020-06-22 19:09:02 +02:00
RewriteEngine On
RewriteOptions AllowNoSlash
2020-06-22 21:39:15 +02:00
RewriteRule ^((\.idea|\.git|src|test|core)(/.*)?)$ /index.php?site=$1 [L,QSA]
2020-06-22 19:09:02 +02:00
2020-06-22 21:39:15 +02:00
FallbackResource /index.php