From 9e197f95b0049bb70849eaaf216e66835b8d121c Mon Sep 17 00:00:00 2001 From: Simon Beginn Date: Fri, 24 Jan 2020 22:20:18 +0100 Subject: [PATCH] Added missing .htaccess --- www/.htaccess | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 www/.htaccess diff --git a/www/.htaccess b/www/.htaccess new file mode 100755 index 0000000..9e90358 --- /dev/null +++ b/www/.htaccess @@ -0,0 +1,11 @@ +Options -Indexes + + + # 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] +