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

Restricting HTTP access to a repository portion

From: Kevin Rosenberg <kevin_at_rosenberg.net>
Date: 2003-11-26 22:46:08 CET

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

Received on Wed Nov 26 22:47:01 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.