web-base/.htaccess

19 lines
513 B
ApacheConf
Raw Permalink 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
2021-11-11 14:25:26 +01:00
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
2020-02-10 00:52:25 +01:00
RewriteEngine On
2022-06-01 11:20:24 +02:00
RewriteRule ^(api(/.*)?)$ /index.php?api=$1 [L,QSA]
2020-06-19 14:12:07 +02:00
2021-01-14 23:41:16 +01:00
RewriteEngine On
RewriteOptions AllowNoSlash
2022-11-18 18:06:46 +01:00
RewriteRule ^((\.idea|\.git|src|test|Site|Core|docker|files)(/.*)?)$ /index.php?site=$1 [L,QSA]
2020-06-22 19:09:02 +02:00
2022-06-01 09:47:31 +02:00
FallbackResource /index.php
ErrorDocument 400 /index.php?error=400
ErrorDocument 403 /index.php?error=403
ErrorDocument 404 /index.php?error=404
ErrorDocument 500 /index.php?error=500