mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Fixing .htaccess to ignore rewriting PHP files directly
This commit is contained in:
parent
9106e41498
commit
449cce95a7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user