mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #3394 from simonwelsh/stupid-htaccess
Don't block rewriting .php URLs
This commit is contained in:
commit
672e817439
@ -1528,7 +1528,6 @@ ErrorDocument 500 /assets/error-500.html
|
||||
|
||||
RewriteCond %{REQUEST_URI} ^(.*)$
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_URI} !\.php$
|
||||
RewriteRule .* $modulePath/main.php?url=%1&%{QUERY_STRING} [L]
|
||||
</IfModule>
|
||||
TEXT;
|
||||
|
Loading…
Reference in New Issue
Block a user