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

Apache and SVN subdirectories

From: Floris van der Ploeg <fvdploeg_at_xs4all.nl>
Date: Tue, 18 Mar 2008 20:37:29 +0100

Is there a way to have apache/svn support multiple subdirectories under one
root?

Let me explain;

 

I've got Apache and SVN running and I want multiple directories that will
contain multiple repositories. For example, my httpd.conf contains this:

    <Location /svn>

        Dav svn

        SVNParentPath D:\Repositories

 

        AuthType Basic

        AuthName " Repositories"

        AuthUserFile D:\Configuration\Security\svn.passwd

        Require valid-user

    </Location>

 

At the path on my PC (D:\Repositories) I've got multiple subdirectories, eg.
"Archive_1", "Archive_2" and "Current"

Thus having this directory tree:

D:\Repositories\Archive_1

D:\Repositories\Archive_2

D:\Repositories\Current

 

I want to create repositories at these paths. So I execute:

svnadmin create D:\Repositories\Current\Repo_v02

svnadmin create D:\Repositories\ Archive_2\Repo_v01

etc.

 

All is fine so far. But whenever I want to do a checkout or whatever using
the URL, it fails:

svn checkout http://srv001/svn/Current/Repo_v02

(svn: Could not open the requested SVN filesystem) Also browsing the
repository using internet explorer fails, giving a new entry in my apache
error log:

 

[Tue Mar 18 20:33:58 2008] [error] [client 192.168.131.1] (20014)Error
string not specified yet: Can't open file
'D:\\Repositories\\Current\\format': The system cannot find the file
specified.

 

So is there a way to configure SVN/Apache in a way to support this, without
having to define every subdirectory (D:\Repositories\Current, etc.) in the
httpd.conf??

 

Thanks in advance.

 

Kind regards,

Floris van der Ploeg

 

 
Received on 2008-03-18 20:38:09 CET

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.