commit 6bf2073b4193ade7587e8d29f7885025c3682632
Author: Robert Lyon <email address hidden>
Date: Wed Jun 6 09:29:20 2018 +1200
Bug 1774334: Correcting redirect on login for site in subdirectory
The fix in Bug 1774309 fails to work correctly when the site
is in a subdirectory of the apache root.
To test:
1) Adjust your site's apache file and set the DocumentRoot to be
parent of htdocs
2) Change the 'wwwroot' db value for site to include the 'htdocs/' bit
3) Restart the apache server
4) Go to site, adding 'htdocs/' to url
5) Try logging in
before patch: end up not found page with url containing two 'htdocs/'
after patch: end up at correct place
behatnotneeded
Change-Id: Ic5e1de2c5edaf96bbdd9b2403f0f65e45a4b80c0
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit d9ce7d924f086358a27e00bd99138faddbb75e7a)
Reviewed: https:/ /reviews. mahara. org/8945 /git.mahara. org/mahara/ mahara/ commit/ 6bf2073b4193ade 7587e8d29f78850 25c3682632
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: 17.10_STABLE
commit 6bf2073b4193ade 7587e8d29f78850 25c3682632
Author: Robert Lyon <email address hidden>
Date: Wed Jun 6 09:29:20 2018 +1200
Bug 1774334: Correcting redirect on login for site in subdirectory
The fix in Bug 1774309 fails to work correctly when the site
is in a subdirectory of the apache root.
To test:
1) Adjust your site's apache file and set the DocumentRoot to be
parent of htdocs
2) Change the 'wwwroot' db value for site to include the 'htdocs/' bit
3) Restart the apache server
4) Go to site, adding 'htdocs/' to url
5) Try logging in
before patch: end up not found page with url containing two 'htdocs/'
after patch: end up at correct place
behatnotneeded
Change-Id: Ic5e1de2c5edaf9 6bbdd9b2403f0f6 5e45a4b80c0 8a27e00bd99138f addbb75e7a)
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit d9ce7d924f08635