Merge pull request #993 from halkyon/htaccess_fix

Fixing .htaccess to ignore rewriting PHP files directly
This commit is contained in:
Sean Harvey 2013-01-06 17:24:49 -08:00
commit b63e55a77a

View File

@ -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]
</IfModule>
TEXT;