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

Re[2]: Combining Repositories

From: Andrey Repin <anrdaemon_at_freemail.ru>
Date: Thu, 2 Apr 2009 20:37:29 +0400

Greetings, David Aldrich!

>> SVNParentPath is what you need most likely.

DA> This may be relevant to an issue we have. Please will you expand on how one might use SVNParentPath?

It is used for Apache installation to tell the dav_svn module, where to look
for repositories home path, instead of specifying path to each of them
directly.

So to say, you could have configuration similar to this:

<VirtualHost *>
    ServerName www.mydomain.local

    DocumentRoot "C:/home/svn"
    AddDefaultCharset utf-8

    ErrorLog "C:/home/svn/.log/error_log"
    CustomLog "C:/home/svn/.log/access_log" common env=!SVN-ACTION
    CustomLog "C:/home/svn/.log/svn_access_log" svn env=SVN-ACTION

    <Location "/svn">
        Order allow,deny
        Allow from 192.168.1.10

        <IfModule dav_svn_module>
            DAV svn
            SVNParentPath "C:/home/svn"
        </IfModule>

    </Location>
</VirtualHost>

And every repository you create in C:/home/svn (F.e.

  svnadmin create C:/home/svn/mytestrepos

)
Will be accessible through URL
http://www.mydomain.local/svn/mytestrepos

--
WBR,
 Andrey Repin (anrdaemon_at_freemail.ru) 02.04.2009, <20:29>
Sorry for my terrible english...
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1521048
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-02 18:57:31 CEST

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.