Fixing .htaccess to ignore rewriting PHP files directly
This commit is contained in:
parent
5c1a16f93c
commit
d74da7ba29
|
@ -23,6 +23,7 @@ ErrorDocument 500 /assets/error-500.html
|
||||||
|
|
||||||
RewriteCond %{REQUEST_URI} ^(.*)$
|
RewriteCond %{REQUEST_URI} ^(.*)$
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_URI} !\.php$
|
||||||
RewriteRule .* framework/main.php?url=%1 [QSA]
|
RewriteRule .* framework/main.php?url=%1 [QSA]
|
||||||
|
|
||||||
RewriteCond %{REQUEST_URI} ^(.*)/framework/main.php$
|
RewriteCond %{REQUEST_URI} ^(.*)/framework/main.php$
|
||||||
|
|
Loading…
Reference in New Issue