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

Re: Restricting HTTP access to a repository portion

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2003-11-26 23:22:43 CET

Hello Kevin,

There's always mod_authz_svn
http://svn.collab.net/repos/svn/trunk/subversion/mod_authz_svn/

There's an INSTALL file in there that explains the format of the
configuration file. This is what I use, and I find things are going fine
for me. Also, you may take a look at the following thread (started by
yours truly):
http://subversion.tigris.org/servlets/ReadMsg?list=users&msgId=283100

In the thread, Seth Falcon explains how to setup two Location directives,
one for public, anonymous access, and the other one for protected access,
without using mod_authz_svn.

Hope that helps !
François

On Wed, 26 Nov 2003 14:46:08 -0700, "Kevin Rosenberg"
<kevin@rosenberg.net> said:
> I'd like to setup public access via HTTP/HTTPS to certain
> subdirectories of my repository. In my tests with Apache2 and the
> the SVNPath statement, it appears that SVNPath must point to the root
> of the repository. That's reasonable. It'd be nice to have some
> directive like SVNLocation that could set the location in the
> repository that would be served.
>
> For example, URL http://server/project1 accessing the directory
> trunk/projects/p1 in repository /opt/svn/repos could use a syntax like:
> <Location /project1>
> SVNPath /opt/svn/repos
> SVNLocation trunk/projects/p1
> </Location>
>
> As opposed to adding a new directive, is there any existing method I
> could use for such functionality?
>
> Thanks!
>
> --
> Kevin Rosenberg
> kevin@rosenberg.net
Developer of Java Gui Builder
http://jgb.sourceforge.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 26 23:23:29 2003

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

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