Fixing .htaccess to ignore rewriting PHP files directly

This commit is contained in:
Sean Harvey 2012-12-04 14:34:54 +13:00
parent 5c1a16f93c
commit d74da7ba29
1 changed files with 1 additions and 0 deletions

View File

@ -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$