{"action":"created","issue":{"url":"https://api.github.com/repos/intridea/omniauth-ldap/issues/54","labels_url":"https://api.github.com/repos/intridea/omniauth-ldap/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/intridea/omniauth-ldap/issues/54/comments","events_url":"https://api.github.com/repos/intridea/omniauth-ldap/issues/54/events","html_url":"https://github.com/intridea/omniauth-ldap/issues/54","id":84989226,"number":54,"title":"The Gollum --base-path option","user":{"login":"njman","id":1268066,"avatar_url":"https://avatars.githubusercontent.com/u/1268066?v=3","gravatar_id":"","url":"https://api.github.com/users/njman","html_url":"https://github.com/njman","followers_url":"https://api.github.com/users/njman/followers","following_url":"https://api.github.com/users/njman/following{/other_user}","gists_url":"https://api.github.com/users/njman/gists{/gist_id}","starred_url":"https://api.github.com/users/njman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njman/subscriptions","organizations_url":"https://api.github.com/users/njman/orgs","repos_url":"https://api.github.com/users/njman/repos","events_url":"https://api.github.com/users/njman/events{/privacy}","received_events_url":"https://api.github.com/users/njman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-04T08:48:51Z","updated_at":"2015-06-16T13:13:07Z","closed_at":"2015-06-16T03:28:58Z","body":"I want wiki sub-directory, e.g. `http://localhost:4567/wiki/Home`, `/wiki/` is the sub-directory.\r\n\r\n[Gollum][1] support --base-path option in Rack way, please check the [wiki tips][2].\r\nThe [omnigollum][3] support it by [the pull][4].\r\nHowever, `omniauth-ldap` has `Sign In` problem, i.e. always return to Home page once submit.\r\nLook around the `LDAP Authentication` html source:\r\n\r\n```html\r\n      <body>\r\n      <h1>LDAP Authentication</h1>\r\n      <form method='post' action='/__omnigollum__/auth/ldap/callback' noValidate='noValidate'>\r\n\r\n<label for='username'>Login:</label>\r\n<input type='text' id='username' name='username'/>\r\n<label for='password'>Password:</label>\r\n<input type='password' id='password' name='password'/>\r\n<button type='submit'>Sign In</button>      </form>\r\n      </body>\r\n```\r\n\r\nI doubted on this line: \r\n  \r\n`action='/__omnigollum__/auth/ldap/callback' `\r\n\r\nshould write:\r\n\r\n`action='/wiki/__omnigollum__/auth/ldap/callback' `\r\n\r\nNot sure. How to resolve this problem, thanks.\r\n\r\n[1]: https://github.com/gollum/gollum\r\n[2]: https://github.com/gollum/gollum/wiki/Using-Gollum-with-Rack\r\n[3]: https://github.com/arr2036/omnigollum/\r\n[4]: https://github.com/arr2036/omnigollum/pull/30"},"comment":{"url":"https://api.github.com/repos/intridea/omniauth-ldap/issues/comments/112423821","html_url":"https://github.com/intridea/omniauth-ldap/issues/54#issuecomment-112423821","issue_url":"https://api.github.com/repos/intridea/omniauth-ldap/issues/54","id":112423821,"user":{"login":"aldanor","id":2418513,"avatar_url":"https://avatars.githubusercontent.com/u/2418513?v=3","gravatar_id":"","url":"https://api.github.com/users/aldanor","html_url":"https://github.com/aldanor","followers_url":"https://api.github.com/users/aldanor/followers","following_url":"https://api.github.com/users/aldanor/following{/other_user}","gists_url":"https://api.github.com/users/aldanor/gists{/gist_id}","starred_url":"https://api.github.com/users/aldanor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldanor/subscriptions","organizations_url":"https://api.github.com/users/aldanor/orgs","repos_url":"https://api.github.com/users/aldanor/repos","events_url":"https://api.github.com/users/aldanor/events{/privacy}","received_events_url":"https://api.github.com/users/aldanor/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T13:13:07Z","updated_at":"2015-06-16T13:13:07Z","body":"@njman np.\r\n\r\n@pyu10055 Do you think it makes sense to merge it in master?"}}