From d74da7ba29f27fc6cb51401bb589d8286ec62116 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Tue, 4 Dec 2012 14:34:54 +1300 Subject: [PATCH] Fixing .htaccess to ignore rewriting PHP files directly --- .htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/.htaccess b/.htaccess index aa65e8f..afd4cab 100644 --- a/.htaccess +++ b/.htaccess @@ -23,6 +23,7 @@ ErrorDocument 500 /assets/error-500.html RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_URI} !\.php$ RewriteRule .* framework/main.php?url=%1 [QSA] RewriteCond %{REQUEST_URI} ^(.*)/framework/main.php$