Error when trying to login to a wiki using openid when the wiki doesn't run under "/"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Moin OpenID module |
New
|
Undecided
|
Unassigned |
Bug Description
Description:
Moin will return an error when logging in using OpenID when the wiki doesn't run under '/'.
The problem seems to be that we use PATH_INFO to redirect the request to the original page. Unfortunately this seems to not include the wiki's root directory.
i.e.
If the wiki is served from the site's '/' location:
* wiki.example.
* login succeeds
If the wiki is served from the site's '/wiki' location:
* wiki.example.
* login fails
Steps to reproduce:
1. Create a wiki which is served from /wiki
2. Being logged out, log in.
3. Enter your Launchpad details.
4. Return to the wiki, but you're not logged in.
I have attached a quick patch to try to remedy the problem as well as the relevant Apache virtual host config and MoinMoin fastcgi script.
affects: | canonical-bis-openid → moin-openid |