Silverstripe Version: 4.4.0 and 4.4.1
Wamp: 3.1.13
Apache: 2.4.33
PHP: 7.2.4
MySQL: 5.7.21
MariaDB: 10.2.14
Question: Why do I get redirected to DocumentRoot instead of SS_BASE_URL, unlike previous versions?
After a successful install of SilverStripe 4.4.1, I get auto-redirected to DocumentRoot instead of the project’s base url. I can navigate back to the correct sub-directory and everything functions as normal.
This issue does not occur in versions 4.2.0, 4.3.0, and 4.3.3
My DocumentRoot is C:\wamp\www reachable at 127.0.0.1
Version 3.4.4 is in C:\wamp\www\344\ and is reachable at 127.0.0.1/334/
Version 4.4.1 is in C:\wamp\www\441\ and is reachable at 127.0.0.1/441/
They were obtained through composer like so:
C:\wamp\www>composer create-project silverstripe/installer 433 4.3.3
C:\wamp\www>composer create-project silverstripe/installer 441 4.4.1
My DocumentRoot’s index.php is a welcome page with links that takes you to either version.
The following illustrates each step in the installation process:
Step-by-step on version 4.3.3 click for full image
4.3.3 installs successfully and redirects correctly.
Step-by-step on version: 4.4.1 click for full image
4.4.1 installs successfully but redirects to DocumentRoot. I manually type in the missing sub-directory to get to the last step.
I would also like to note that if I do flush=all while not in dev mode, I get redirected to DocumentRoot and with a urlspecialstoken, but if I manually type in the missing sub-directory and with the provided urlspecialstoken, it will flush successfully.