Read authorization error on server

Morten H. Pedersen morten at strangeped.dk
Sun Dec 30 18:15:05 UTC 2012


>>It also has nothing to do with CGI, as authentication works the same way for CGI and static files.
>>
>>If you're not getting prompted for a password _in your browser_, it's not configured directly.
>>
>
>Hi Matt
>
>Oh, but I am getting prompted! As I said, HTTP authentication is working properly, I had simply disabled it to exclude any possible causes. If I >enable it, and do not specify a username/password in the URL, I will get prompted for them. And not until I specify the correct credentials am I >allowed to continue. But even then will Mercurial return an authorization error. And the username I enter for HTTP authentication is MHP, which is >also the username I have specified in the "allow_read" configuration. 
>
>I think perhaps I have messed Apache up. I have been toying around with various versions of Apache, WAMP and RhodeCode, and perhaps Apache is no >longer working correctly. I will throw a known-good Norton Ghost image on my server, and install Apache and friends from scratch. Hopefully, that >will fix it. I'll let you know what happens.....
>
>Br
>Morten

Hi Matt

Ok, problem solved! Looks like Apache must be configured to use HTTP authentication on the directory containing the CGI files, not the repositories. Which seems to be the cause of my problems. Quite obvious - at least now, when I have figured it out :-)

Thanks a lot for helping me with this, it is highly appreciated......


Br
Morten







More information about the Mercurial mailing list