mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Clearer .htaccess instructions
This commit is contained in:
parent
04bf73bff3
commit
15841b45dc
@ -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/`.
|
||||||
|
Loading…
Reference in New Issue
Block a user