How does user authentification work? [Problems with allow_push, allow_read ...]

Matt Mackall mpm at selenic.com
Fri Dec 16 12:28:37 CST 2011


On Fri, 2011-12-16 at 15:48 +0100, Denise Patzker wrote:
> Hi list ,
> 
> I serve mercurial projects with hgweb .
> I want to restrict the settings for the diffrent projects on my server. 
> But when I do this with allow_push = user1, user2  .  I get the following :

Mercurial depends on the REMOTE_USER variable being set on successful
auth in the CGI/WSGI/etc. environment. If I had to guess, I'd guess that
you're using that silly Nginx webserver, which for some unknown reason
doesn't set this var by default when relevant.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial mailing list