[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Problem with TortoiseSVN

From: BOUSSEBHA Djamel <dboussebha_at_cimaya.com>
Date: 2004-03-25 09:44:52 CET

OK Ben;

I have modified the file httpd.conf as follows :

 <Location /svn>
        DAV svn
        SVNParentPath D:\SVN
        AuthType Basic
        AuthName "Subversion repositories"
        AuthUserFile passwd
        #AuthzSVNAccessFile svnaccessfile
        Require valid-user
</Location>

For authentification I use the following procedure :

1- From the command prompt (DOS-Box), change to the apache2 folder and create a password file by entering
   bin\htpasswd -bc passwd toto titi
This will create a file with the name passwd which is used for authentication.

2- Restart the apache service
3- To point :http://MyServer/svn/work and From identification window, I type the correct login + password (3 times), but
I have the following error message :

Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
--------------------------------------------------------------------------------
Apache/2.0.48 (Win32) SVN/1.0.0 DAV/2 Server at localhost Port 80

The file passwd file is located in : C:\Program Files\Apache Group\Apache2\bin and the login + password (crypted) are correct.

Regards;

-----Message d'origine-----
De : Ben Collins-Sussman [mailto:sussman@collab.net]
Envoyé : mercredi 24 mars 2004 18:26
À : BOUSSEBHA Djamel
Cc : dev@subversion.tigris.org
Objet : Re: Problem with TortoiseSVN

On Wed, 2004-03-24 at 11:17, BOUSSEBHA Djamel wrote:

> <LimitExcept GET PROPFIND OPTIONS REPORT> Require valid-user
> </LimitExcept>

The block above means, "ask for authentication *except* on read
operations".

> 4- Point your browser to http://MyServer/svn
> I have the following error message and the identification window for a
> username and password the is not posted ?

There's no authentication prompt, because you're doing a read
operation. It's exactly what you configured.

> Forbidden
> You don't have permission to access /svn/ on this server.

What does your entire subversion <Location> block look like?

> But I have access to my repository :
> Revision 0: /
> Powered by Subversion version 1.0.0.

I don't understand; you show two different messages. Are they *both*
coming from a web-browser? How do you produce the different messages?
If you point your browser to http://MyServer/svn, do you see the
"Forbidden" message, or do you see the "Revision 0" message? It's
either one or the other.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 25 09:45:14 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.