allow_read authentication

Conrad Shultz conrad at catalyzethis.com
Thu Oct 29 19:34:45 CDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Afriza N. Arief wrote:
> have you tried to "Trick" Mercurial into asking for authentication:
> 
> touch ~/hg/failed_auth.html 
> 
> assuming your hgwebdir.config and hgwebdir.cgi is in ~/hg/
> 
> see also http://wiki.dreamhost.com/Mercurial

Thanks for the ref.

The failed_auth.html did not make any difference.  However, based on the
ref I re-examined my Apache configuration and discovered that I
apparently needed to tell Apache to limit access to GET if I want to use
allow_read.

At a minimum this should probably be documented, though I would really
classify this as a bug since it means that it is not (easily) possible
to serve read-restricted and read-allowed repositories under the same
hgweb tree.

But in my case I can get things going now with this new knowledge.

Thanks for your assistance.

- --
Conrad Shultz
conrad at catalyzethis.com

"Beets are a very misunderstood vegetable."

- - Capt. Benjamin Sisko, Star Trek: Deep Space Nine, "Equilibrium"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFK6jSlcrIBez8+iX0RAuDSAJ9m4Gj4KqZpG2A3kSdH1lUjefaKMACeOX0z
HtwmZknFhgZEXj/ZNFxu92Q=
=hNES
-----END PGP SIGNATURE-----


More information about the Mercurial mailing list