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

Re: access control: viewcvs

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-08-24 00:03:05 CEST

Michael W Thelen <thelenm@cs.utah.edu> writes:

> > Huh? Will that actually work? mod_authz_svn's primary purpose is to
> > decode the special URLs we use into a fashion that can do path based
> > authorization.
>
> Works for me... because it's in a <Location> block, I think the path being
> accessed looks exactly the same to mod_authz_svn whether it's being accessed
> via /svn or /viewsvn (i.e. both http://example.com/svn/foo and
> http://example.com/viewsvn/foo require authorization to access /foo in the
> repository at /path/to/repos).

Ah, yes, I can see how this works. So, the fact that mod_authz_svn
can decode those special URLs is irrelevant -- ViewCVS doesn't use the
special URLs. The important thing is that all ViewCVS URLs are normal
GETs, and mod_authz_svn does the right thing for normal GETs aimed at
a Subversion repository.

Nice.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 24 00:04:55 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.