hg serve behind lighttpd/mod_proxy

Scott M. Ferris sferris at acm.org
Tue Apr 3 16:22:17 CDT 2007

On Tue, Apr 03, 2007 at 03:21:47PM -0500, Matt Mackall wrote:
> Nice. Mind putting this on the wiki somewhere?

Sure.  I'll put a revised version up on the wiki, since I accidentally
emailed out an old version that has regexps that are slightly too
broad and could match URLs like hgfoo/bar.html.

> The advantage of doing the proxy thing is that you avoid all the CGI
> start-up costs. Proxying to hg serve or using one of the FastCGI
> approaches avoid this but are obviously more complicated.

Is there an hgwebdir.cgi that supports SCGI or FastCGI?  lighttpd can
do both, so if either of those are an option, I can put a lighttpd
config for that on the wiki as well.

Scott M. Ferris,
sferris at acm.org 

More information about the Mercurial mailing list