From 45ecc29e12cd9ef19af6776c2754cd97302daff8 Mon Sep 17 00:00:00 2001 From: slawkens Date: Wed, 15 Jan 2020 20:47:31 +0100 Subject: [PATCH] Add to prevent some errors to .htaccess --- .htaccess.dist | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.htaccess.dist b/.htaccess.dist index c932ecdc..9d8bd781 100644 --- a/.htaccess.dist +++ b/.htaccess.dist @@ -1,7 +1,19 @@ -Options -Indexes -MultiViews + + Options -Indexes + -RewriteEngine On + + Options -MultiViews + -RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^.*$ index.php [L] \ No newline at end of file + + RewriteEngine On + + # you can put here your myaac root folder + # path relative to web root + #RewriteBase /myaac/ + + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule ^.*$ index.php [L] +