Clearer .htaccess instructions

This commit is contained in:
Ingo Schommer 2018-04-20 11:08:50 +12:00 committed by GitHub
parent 04bf73bff3
commit 15841b45dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,8 @@ this folder doesn't exist.
When separating the public webroot from the BASE_PATH it is necessary to move a few files during migration: When separating the public webroot from the BASE_PATH it is necessary to move a few files during migration:
- Move `.htaccess` from base to `public/` - 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))
- Move `index.php` from base to `public/` - 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 - 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/`. - Move `assets` folder (including the nested `assets/.protected` folder) into `public/`.