From 0beac83b9546908eeb390592bcd2a0a147465232 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Mon, 26 Dec 2016 00:30:23 +0100 Subject: [PATCH] repair routing under apache mod_php/mod_redir --- .htaccess | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 85a4c064..b688582d 100644 --- a/.htaccess +++ b/.htaccess @@ -5,4 +5,8 @@ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l -RewriteRule (.*) index.php?route=$1&htaccess=1 [L] +RewriteRule (.*) index.php?route=$1&htaccess=1 [L,QSA] +RewriteRule ^/?$ index.php?route=$1&htaccess=1 [L,QSA] + +#DirectoryIndex index.php?htaccess=1 +DirectoryIndex disabled