Thanks Neels, Just tried that. When accessing svn.proja.com from a browser it worked fine. But checkout & list on svn.proja.com failed with the message: "/svn/projA/!svn/vcc/default path not found"
Any ideas? On Thu, Feb 11, 2010 at 2:27 PM, Neels J Hofmeyr <ne...@elego.de> wrote: > Itamar O wrote: > > Relocating the question to the correct mailing list + clarification: > > > > I am not talking about serving multiple repositories with SVNParentPath. > > I have a single repository with the following layout: > > root (@ /var/svn/repos) > > |- projA > > |- projB > > |- ... > > > > Each project has its own virtual host on Apache, > > with its own DNS's (e.g. www.projA.com <http://www.projA.com> & > > svn.projA.com <http://svn.projA.com>). > > > > I want that the svn.projA.com <http://svn.projA.com> virtual host will > > be directed to root/projA, > > so that users of projA SVN are not even aware of other projects. > > > > Is this possible? > > What comes to my mind is a URL rewrite in apache before it hits the DAV > (google for some beginners' tutorial for mod_rewrite). i.e. httpd-wise > redirect svn.proja.com to your.main.server/repos/sub/folder/proja. > > Not sure if there will be side problems appearing. Technically, the user is > then via mod_rewrite not able to ask for URLs other than below proja/, > while > the repository would still allow that if any got through. > > It's hacky ;) > Not sure if there's a better way other than having dedicated repositories > per project (which is also an option). > > ~Neels > > > > > > Thanks, > > Itamar O. > > > > ---------- Forwarded message ---------- > > From: *Itamar O* <itamar...@gmail.com <mailto:itamar...@gmail.com>> > > Date: Wed, Feb 10, 2010 at 11:00 PM > > Subject: Serving internal SVN path via Apache > > To: d...@subversion.apache.org <mailto:d...@subversion.apache.org> > > > > > > Is there a way to configure Apache to serve a "scoped" repository? > > e.g., if my repository root is at /var/svn/repos, > > and I have top-level project-structure, > > I want something like: > > <Location /projA> > > DAV svn > > SVNPath /var/svn/repos/projA > > # (this doesn't work..) > > # Maybe something like "SVNPath /var/svn/repos" & "SVNScope projA" ? > > </Location> > > > > Thanks, > > Itamar O. > > > >