I setup rhodecode to to work with apache revers proxy. This is my apache config (rhodeCode.conf):
And in rhodeCode: [app:main] filter-with = proxy-prefix . . . [filter:proxy-prefix] use = egg:PasteDeploy#prefix prefix = /hg2 }}}
When I'm opening http://mydomain.com/hg2 I'm redirected to https://mydomain.com/hg2/_admin/login?came_from=%252Fhg2%252F and when I'm click sign-in button I'm redirected to http://mydomain.com/hg2/_admin/%2Fhg2%2F and getting "Not Found" error. but if I use https://mydomain.com/hg2/_admin/login url everything is O.K.
I use RhodeCode 1.2.3.