diff --git a/docs/en/04_Changelogs/4.0.0.md b/docs/en/04_Changelogs/4.0.0.md index 2aa9109f0..a9b21db12 100644 --- a/docs/en/04_Changelogs/4.0.0.md +++ b/docs/en/04_Changelogs/4.0.0.md @@ -84,6 +84,17 @@ to adjust the path to this file from `framework/main.php` to `vendor/silverstrip If you are running Apache, adjust your `.htaccess` file. For other webservers, please consult the [installation guides](getting_started/installation/). +For websites served by Apache, here's an adjusted `.htaccess` excerpt: + +```diff ++RewriteCond %{REQUEST_URI} !^/vendor/silverstripe/framework/main\.php +RewriteRule ^vendor(/|$) - [F,L,NC] + +# ... + +-RewriteRule .* framework/main.php?url=%1 [QSA] ++RewriteRule .* vendor/silverstripe/framework/main.php?url=%1 [QSA] +``` #### Upgrade references to renamed and namespaced classes