web-base/.htaccess

13 lines
263 B
ApacheConf
Raw Normal View History

2020-02-09 23:02:19 +01:00
php_flag display_errors on
Options -Indexes
2020-02-10 12:32:53 +01:00
# ErrorDocument 404
2020-02-10 00:52:25 +01:00
RewriteEngine On
RewriteRule ^api/(.*)?$ index.php?api=$1&$2 [L,QSA]
2020-02-10 12:32:53 +01:00
RewriteRule ^((?!((js|css|img|fonts|api)($|\/)))(.*)?)$ index.php?site=$1&$2 [L,QSA]
2020-04-01 15:11:17 +02:00
2020-04-01 15:12:00 +02:00
<Files ~ "^\.*">
2020-04-01 15:11:17 +02:00
Deny from all
</Files>