hg serve behind lighttpd/mod_proxy
Luc Heinrich
luc at honk-honk.com
Mon Apr 2 15:47:43 CDT 2007
Grettings,
About a year ago, someone trying to use lighttpd's mod_proxy to
forward requests to an hg server made a bug report [1] about some
invalid HTTP content which apparently got fixed. I'm currently trying
to do the same (proxying requests to hg through lighttpd) and I still
can't get it to work.
My lighttpd is listening on port 9000, the hg server is listening on
port 9001 and only the "dynamic requests" are correctly sent through,
static files (css files mostly) get stuck somewhere in the middle,
for some reason. In other words, requests like "GET / HTTP/1.0" are
correctly served, requests like "GET /static/style-gitweb.css HTTP/
1.0" aren't.
I'm not sure where the problem is. Mercurial ? My lighttpd config ?
Lighttpd itself ? Has anybody managed to get this kind of
configuration to work ?
Thanks for any help.
[1] http://www.selenic.com/mercurial/bts/issue254
--
Luc Heinrich
More information about the Mercurial
mailing list