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

Re: SV: Accessing different revs via Apache?

From: Jeff Stuart <jstuart_at_computer-city.net>
Date: 2002-10-10 10:47:06 CEST

Yeah, I just ran a simple commit and saw the URL's BUT... I notice in
the FINAL analysis, that the FINAL part of a commit is this:

65.25.3.78 - jstuart [10/Oct/2002:01:42:18 -0700] "MERGE
/forums.weboverdrive.com/Trunk/htdocs HTTP
/1.1" 200 805 "-" "neon/0.23.5 SVN/0.14.3 (dev build)"

Everything above that uses funky URL's for the PROPFIND, PROPPATCH,
CHECKOUT, and PUT. And I notice that the PUT is for each file.
However, the MERGE uses normal URL's... don't know what would happen if
the merge fails... :)

On Thu, 2002-10-10 at 04:26, Nuutti Kotivuori wrote:
> Jeff Stuart wrote:
> > And ya know.. I JUST had a thought!!!
> >
> > YOU MIGHT be able to make a portion of the repository read only via
> > APACHE!!!
> >
> > IE something like this:
> >
> > <Location /Tags/release>
> > <LimitExcept GET PROPFIND OPTIONS REPORT>
> > deny from all
> > </LimitExcept>
> > </Location>
> >
> > This would make it read only for EVERYONE. OR!!!!
> >
> > <Location /Tags>
> > <LimitExcept GET PROPFIND OPTIONS REPORT>
> > require user tag-manager
> > </LimitExcept>
> > </Location>
> >
> > This would make the repository read only to everyone but the
> > tag-manager user. Control who has that password and you're in
> > business.
>
> Right now, this does not work. Sorry :)
>
> The only thing this will prevent is for anyone just browsing around
> there - the Subversion client will commit just fine. The problem is
> that the URLs used by the client do not match these locations, since
> they have all the revision and baseline stuff in them.
>
> You _can_ however do all this in a pre-commit hook. You can check the
> committing username and you can check - for example - that a commit to
> /Tags can only contain a copy of a tree, no modifications.
>
> The apache permission stuff is in fact coming later - right guys? :-)
>
> -- Naked
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 10 10:47:52 2002

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.