From 449cce95a73015a73da3dbdc56d1e8eb6500b72a Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Tue, 4 Dec 2012 14:36:59 +1300 Subject: [PATCH] Fixing .htaccess to ignore rewriting PHP files directly --- dev/install/install.php5 | 1 + 1 file changed, 1 insertion(+) diff --git a/dev/install/install.php5 b/dev/install/install.php5 index 0b6d9b151..d3ec3783e 100644 --- a/dev/install/install.php5 +++ b/dev/install/install.php5 @@ -1281,6 +1281,7 @@ ErrorDocument 500 /assets/error-500.html $baseClause RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_URI} !\.php$ RewriteRule .* $modulePath/main.php?url=%1&%{QUERY_STRING} [L] TEXT;