On Fri, Jul 5, 2013 at 12:31 PM, Dan M <
danjm...@gmail.com> wrote:
> I've got Gerrit 2.6.1 setup behind Apache 2.2.15, and I've configured the
> AllowEncodedSlashes and ProxyPass nocanon options as listed in the reverse
> proxy documentation. I'm still running into issues where gerrit seems to be
> redirecting browsers to the wrong URL, basically appending the port number
> of the Gerrit daemon to the url when they login and logout.
>
> Here is what happens
> I go to:
https://some.server.com/gerrit and it takes me to the login screen
> I login and I'm redirected to
https://some.server.com:8081/gerrit which
> gives me a 404
> From here, I type:
https://some.server.com/gerrit and everything works
> just fine, until I sign out, and basically the same thing happens.
>
> Has anybody seen this type of issue and have a workaround in apache or
> gerrit? I'd hate to have to try to downgrade from 2.6.1 to 2.5.x at this
> point.
>
> I've read this post, but they seem to have solved their problem with
> proxypass.. nocanon.
>
> Here is my gerrit config:
>
> [gerrit]
> basePath = /data/git/repositories/
> canonicalWebUrl =
http://my.server.com:8081/
This URL is incorrect. canonicalWebUrl should direct to the Apache