hg serve behind lighttpd/mod_proxy

Marcin Kasperski Marcin.Kasperski at softax.com.pl
Tue Apr 3 01:12:36 CDT 2007


>
> 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.
>
Haven't tried such configuration, but two obvious suggestions:

a) Serve static content directly from lighttpd instead of proxying it. 
After all, it is also more efficient way.

b) Try some other proxy (like squid in reverse-proxy config, or apache 
with mod_proxy) to check whether the problem happens too (and whether 
meaningful messages are logged).




More information about the Mercurial mailing list