diff --git a/docs/en/04_Changelogs/4.1.0.md b/docs/en/04_Changelogs/4.1.0.md index 54c9048cd..de2fe8134 100644 --- a/docs/en/04_Changelogs/4.1.0.md +++ b/docs/en/04_Changelogs/4.1.0.md @@ -28,6 +28,11 @@ When separating the public webroot from the BASE_PATH it is necessary to move a - Move your existing `.htaccess` from base to `public/` - Update the `RewriteRule` directives in the `.htaccess` (check the [default .htaccess](https://github.com/silverstripe/recipe-core/blob/1.1/public/.htaccess)) + - Create a new `.htaccess` in base that contains: + ``` + RewriteEngine On + RewriteRule ^(.*)$ public/$1 + ``` - Move `index.php` from base to `public/` - If upgrading from 4.0, replace the [index.php](https://github.com/silverstripe/recipe-core/blob/1.1/public/index.php) file from `recipe-core` in order to fix autoloading paths - Move `assets` folder (including the nested `assets/.protected` folder) into `public/`.