private http repository

hg user mercurialuser at gmail.com
Thu Jun 19 05:45:02 CDT 2008


Good morning,
I just created a mercurial http server using hgwebdir.cgi for publishing
several projects.

Some are public (open-source) and have "allow_push = (userlist)", some
should be private. Using <Location> directive in the apache configuration
I'm able to have a password requested also for GET access....

Now the question:
I need to hide some repositories, not just asking a password... they
shouldn't be listed (security by obscurity....)

I tried the [paths] way but it doesn't work....

I believe the only way is to create a new alias ( from /hg/ to... /myhg/ and
having a new copy of hgwebdir.cgi and hgwebdir.conf....) and protect /myhg/
with password...

Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20080619/53f49871/attachment.htm 


More information about the Mercurial mailing list