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

Re: [TSVN] No user/password asked

From: Toby Johnson <toby_at_etjohnson.us>
Date: 2004-07-12 23:44:40 CEST

Girouard, Audrey wrote:

>I want to control the access to my repository. In my httpd.conf, I have put
>---
>AuthzSVNAccessFile svnaccessfile
><LimitExcept GET PROPFIND OPTIONS REPORT>
>Require valid-user
></LimitExcept>
>---
>
>In my svnaccessfile, I have for example:
>
>---
>[groups]
>developers = agirouard
>docs = mbouchard
>#to allow everyone read access
>[/]
>* = r
>#allow all developers complete access
>@developers = rw
>---
>
>Now, when I try to look at my files through IE, I don't need an
>authorization.
>
>
Since you used "LimitExcept" in httpd.conf, it is not placing any limits
on the methods you listed (GET PROPFIND OPTIONS REPORT). Since read
access requires only these methods, "Requre valid-user" is not taking
affect for read access. If this is not what you want, remove the
"LimitExcept" tags and just use "Require valid-user" by itself.

SVN will try to use anonymous access if it can, then ask for
authorization info otherwise. Since you aren't requiring read operations
to be a valid-user, you are never being prompted for that info.

>If I put * = w (for test purposes), I can't look at my files (still no
>authorization).
>
>
That's because you aren't giving any configuration for global read
access. Maybe you wanted to say "* = rw" instead?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Jul 13 08:34:11 2004

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

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