Added missing .htaccess

This commit is contained in:
Simon Beginn
2020-01-24 22:20:18 +01:00
parent f4791f7a36
commit 9e197f95b0

11
www/.htaccess Executable file
View File

@@ -0,0 +1,11 @@
Options -Indexes
<ifModule mod_rewrite.c>
# Force HTTPS
RewriteEngine On
# Activate a virutal file system and send every request of a non existing file to index.php?apiReq=(...)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?path=$1 [L,QSA]
</ifModule>