allow_read not working

Martin Geisler mg at lazybytes.net
Fri Nov 6 04:42:35 CST 2009


Julio César Rocha <julio.rocha at rochsquadron.net> writes:

> Greetings. I have a Linux/Apache/HgWeb standard installation.
>
> I am using authorization via htpasswd generated file (used the
> procedure on the wiki page "PublishingRepositories")
>
> I can configure push authorization via http correctly. I get a
> password prompt and if I use the correct username and password, the
> push command will execute successfully.
>
> However, mercurial seems to be ignoring my allow_read user list. It only
> works if I omit it or use the '*' value.
> I know a similar message was posted before, but it is supposed to be
> resolved and still doesn't work for me. Please help.

Have you configured your webserver correctly to require a valid user for
GET requests too? Otherwise no authentication will be done when you
clone and Mercurial wont be happy.

I think you should post your Apache configuration too, then perhaps an
Apache guru can help you further.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.



More information about the Mercurial-devel mailing list