mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 15:05:33 +00:00
Merge pull request #66 from simonwelsh/stupid-htaccess
Don't block rewriting .php URLs
This commit is contained in:
commit
c23348d5d1
@ -30,7 +30,6 @@ 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…
x
Reference in New Issue
Block a user