Reviewed: https://reviews.mahara.org/8946 Committed: https://git.mahara.org/mahara/mahara/commit/58ae4b333ba3553b824c6afe0725e4ad94be03a9 Submitter: Robert Lyon ([email protected]) Branch: 17.04_STABLE
commit 58ae4b333ba3553b824c6afe0725e4ad94be03a9 Author: Robert Lyon <[email protected]> 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 protected]> (cherry picked from commit d9ce7d924f086358a27e00bd99138faddbb75e7a) -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1774334 Title: Redirecting to wrong adminurl post login Status in Mahara: Fix Committed Status in Mahara 17.04 series: Fix Committed Status in Mahara 17.10 series: Fix Committed Status in Mahara 18.04 series: Fix Committed Status in Mahara 18.10 series: Fix Committed Bug description: Hi, I have installed Mahara 18041 manually on one of my test servers. However I am getting stuck post admin login. After installing Mahara 18041 when I try to login into http://{domain.com}/{subdirectory}/admin it is redirecting to http://{domain.com}/{subdirectory}/ {subdirectory} /admin which is giving "404 Not found" error as it is detecting {subdirectory} twice. Can anyone help me out why this is happening ? To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1774334/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

