hgweb

rhodecode nginx uwsgi hgweb_mod.py line 100 in run_wsgi KeyError: SCRIPT_NAME

Установил rhodecode под nginx + uwsgi + python virtualenv, получил ошибку: KeyError ‘SCRIPT_NAME’. Интерфейс заработал, а вот клонирование или другие манипуляции с репозиторием не проходят

> Traceback (most recent call last):
> File
> “lib/python2.6/site-packages/RhodeCode-1.2.3-py2.6.egg/rhodecode/lib/middleware/simplehg.py”,
> line 176, in __call__
> return app(environ, start_response) File
> “lib/python2.6/site-packages/mercurial-1.9.3-py2.6-linux-i686.egg/mercurial/hgweb/hgweb_mod.py”, line 91, in __call__
> return self.run_wsgi(req) File “lib/python2.6/site-packages/mercurial-1.9.3-py2.6-linux-i686.egg/mercurial/hgweb/hgweb_mod.py”, line 100, in run_wsgi
> req.url = req.env[‘SCRIPT_NAME’] KeyError: ‘SCRIPT_NAME’

Continue reading