hg serve behind lighttpd/mod_proxy

Matt Mackall mpm at selenic.com
Tue Apr 3 16:34:12 CDT 2007


On Tue, Apr 03, 2007 at 04:22:17PM -0500, Scott M. Ferris wrote:
> 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.

Not that we've bundled with the source yet. A few versions have been posted.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list