error 404 after login

Issue #159 resolved
Leonid Lee created an issue

Hello,

I configured kallithea on 127.0.0.1:5000. It works behind apache proxy on location http://server/hg

There is such config in cfg-file

[filter:proxy-prefix]
use = egg:PasteDeploy#prefix
prefix = /hg

So after successful login I have 404 error because page was redirected to http://server/hg/hg/

Any ideas?

Comments (15)

  1. Andrej Shadura

    To be honest, I think in both your and my case it is some misconfiguration, but I have to find out what exactly is wrong.

  2. Andrej Shadura

    Right, I see, that's an actual issue with the code. I'll try to fix it and let you know later.

  3. Leonid Lee reporter

    @andrew_shadura I'm sorry I'm not able to view this page because of security policy of my company. I will check it out later, at home.

  4. Leonid Lee reporter

    @andrew_shadura Hello Andrew! It seems I used pip to install kallithea, so product version is 0.2.9. I cannot apply patch using HG, so I made changes in login.py using vi editor.

    Do I need to clear any cache to get these changes available in kallithea? Attaching login.py...

  5. Log in to comment