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

Re: Is subversion ready for primetime??

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-01-31 23:43:32 CET

Joseph Silverman wrote:
> I have the following configured in Apache:
>
> <Location "/">
> DAV svn
> SVNPath /SvnHome
> AuthType Basic
> AuthName "svn"
> AuthUserFile /PasswordFile
> order deny,allow
> require valid-user
> </Location>
> <LocationMatch "^(/openlaszlo/(lps|tools|3rdparty)|/$|/openlaszlo/?$)">
> DAV svn
> SVNPath /SvnHome
> <LimitExcept GET PROPFIND OPTIONS REPORT>
> AuthType Basic
> AuthName "anonymous svn"
> AuthUserFile /PasswordFile
> order deny,allow
> require valid-user
> </LimitExcept>
> </LocationMatch>
>
> The idea being to prevent anonymous people from accessing certain areas
> of a svn tree. Allow them access to other parts in RO. While allowing
> authorized users access (read and write) to all these areas.

That can't work, because DAV uses all sorts of interesting URLs to represent
non-HEAD items.

> When I do: svn co http://svn.openlaszlo.org/openlaszlo/ .
>
> I get the following error message!
>
> svn: PROPFIND request failed on
> '%5E(/openlaszlo/(lps%7Ctools%7C3rdparty)%7C/$%7C/openlaszlo/%3F$)/!
> svn/vcc/default'
> svn: PROPFIND of
> '%5E(/openlaszlo/(lps%7Ctools%7C3rdparty)%7C/$%7C/openlaszlo/%3F$)/!
> svn/vcc/default': 400 Bad Request (http://svn.openlaszlo.org)
>
> Does anyone have a CLUE what this is about? Why subversion is even
> SEEING the pattern in the </LocationMatch> config tag?

I must admit, I'm a little confused how the *regexp* managed to get folded
into the URL.

But in any case, you should use mod_authz_svn to do path based authz.

> I am running: svnadmin, version 1.1.2 (r12471) compiled Jan 10 2005,
> 18:17:10
>
> And, speaking of, how the heck can I upgrade to latest subversion
> without most of my linux distro too? There appears to be a very close
> dependency between subversion and MANY other bits of Linux - down to
> latest versions of these bits - which makes it nearly impossible to do.

More detail, please.

What dependenc(y|ies) (is|are) giving you trouble specifically? I don't find
Subversion is very tightly coupled to other software.
Upgrading apache is a pain, because of it's many modules, but you appear to
already have a suitable version, since you are already using subversion with
apache.

And to answer your subject-line: IMO, *yes*.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 31 23:45:51 2005

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