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

RE: NameVirtualHost's Root shoul be the root of subversion

From: Stephen Warren <swarren_at_paramanet.com>
Date: 2004-04-02 17:33:28 CEST

> From: Lukas Ruf [mailto:ruf@rawip.org]
>
> I am on the way to configure a server called svn.rawip.org as follwos:
>
> Servername svn.rawip.org
> Documentroot /home/rawip/Svn
> <Location />
> DAV svn
> SVNParentPath /home/ruf/Svn
> AuthType Basic
> AuthName "Subversion Repository"
> AuthUserFile /etc/apache2/dav_svn.passwd
> Require valid-user
> </Location>
>
> on the server, I create a repository:
>
> svnadmin create /home/ruf/Svn

When you use SVNParentPath, the repository directories must be inside the specified directory, so if you have:

SVNParentPath /home/ruf/Svn

You need to use the following command:

svnadmin create /home/ruf/Svn/repository_name

and access http://host/repository_name as your SVN URL

> Now, I would like to access the svn-repository as follows:
>
> uccellina:~/Svn!120> svn mkdir https://svn.rawip.org:8443/Conf

This would be
svn mkdir https://svn.rawip.org:8443/repository_name/Conf

If you only want one single repository, don't use SVNParentPath, but SVNPath in your Apache configuration, in which case the path parameter is the same directory you pass to "svnadmin create"

See http://svnbook.red-bean.com/svnbook/ch06s04.html#svn-ch-6-sect-4.2

--
Stephen Warren, Software Engineer, Parama Networks, San Jose, CA
http://www.wwwdotorg.org/work_contact/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 2 17:34:35 2004

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.