From 85e0c9932690cbfe09cdaafd19ca83a562d2e62a Mon Sep 17 00:00:00 2001 From: Rogier Neeleman Date: Fri, 4 Mar 2016 19:00:39 +0100 Subject: [PATCH] updated htaccess file --- .htaccess | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index d4cdb68..ecf1c05 100644 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,7 @@ +DirectoryIndex index.php + RewriteEngine on -RewriteCond $1 !^(index\.php|images|robots\.txt|assets|css|js) -RewriteRule ^(.*)$ ./index.php/$1 [L] +RewriteCond $1 !^(index\.php|images|robots\.txt|css|js) +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^(.*)$ ./index.php/$1 [L,QSA] \ No newline at end of file