authentication failure
Kemin Zhou
kmzhou4 at yahoo.com
Tue Sep 15 15:34:22 UTC 2015
I have done all the configuration. I have spend a whole week time.I have read over the document 10 x.
It might be nice to change the code around the failure sectionto have more implicit logging information.
I have already switched to git that I can set up in a few hours time.
Kemin Zhou 858 771-3269
From: Adrian Klaver <adrian.klaver at aklaver.com>
To: Kemin Zhou <kmzhou4 at yahoo.com>; Matt Mackall <mpm at selenic.com>
Cc: "mercurial at selenic.com" <mercurial at selenic.com>
Sent: Tuesday, September 15, 2015 6:56 AM
Subject: Re: authentication failure
On 09/14/2015 10:27 AM, Kemin Zhou wrote:
> So what is running at http://localhost/hg/proj?
> hgweb.cgi under apache2
> I looked at the source code in mercurial, and could not get any clue.
> There is no apache2 error message when this happened.
>
> In other words what Web server is serving up the repo?
> I am using the apache2. Very strange. I am using Ubuntu which
> uses sudo.
> When I start the apache2 server, I got 5 processes with slight
> different uid. This could be
> the source of the trouble.
> root 12013 1 0 Sep13 ? 00:00:02 /usr/sbin/apache2 -k start
> www-data 12016 12013 0 Sep13 ? 00:00:00 /usr/sbin/apache2 -k start
> kzhou 12017 12013 0 Sep13 ? 00:00:02 /usr/sbin/apache2 -k start
> www-data 12018 12013 0 Sep13 ? 00:00:19 /usr/sbin/apache2 -k start
> www-data 12019 12013 0 Sep13 ? 00:00:18 /usr/sbin/apache2 -k start
>
>
> Also, how was it setup?
>
> in the /etc/apache2 directory
> I have the apache2.conf file
> I used the <Location /hg>
> AuthType Basic
> Require valid-user
>
> ScriptAlias /hg /usr/lib/cgi-bin/hgweb.cgi
All I can do is point you at:
https://mercurial.selenic.com/wiki/CGIinstall
> Kemin Zhou 858 771-3269
>
--
Adrian Klaver
adrian.klaver at aklaver.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20150915/0d5ee545/attachment-0002.html>
More information about the Mercurial
mailing list