web-base/.htaccess

16 lines
373 B
ApacheConf
Raw Normal View History

2020-02-09 23:02:19 +01:00
php_flag display_errors on
Options -Indexes
2020-04-01 15:14:52 +02:00
RedirectMatch 404 /\.git
2020-06-19 14:12:07 +02:00
RedirectMatch 404 /src
RedirectMatch 404 /test
2020-02-10 12:32:53 +01:00
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
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?site=$1 [L,QSA]
</IfModule>