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

Re: How to create a new repository

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Sun, 23 Aug 2009 03:35:23 -0500

On Aug 22, 2009, at 14:22, Sam Carleton wrote:

> I normally go to the online book for basic things like this, but
> the online Subversion book link isn't working.
>
> I need to setup a whole new repository:
>
> https://<domain>/repos/<something new>
>
> What are the commands to do that?

svnadmin create /path/to/repositories/newreponame
chown -R apache:apache /path/to/repositories/newreponame

(where "apache:apache" is the user:group your apache server runs as)

In your httpd.conf or other relevant configuration file you have
something like:

<VirtualHost domain:443>
        ServerName domain
        DocumentRoot /path/to/documentroot
        <Location /repos/>
                DAV svn
                SVNParentPath /path/to/repositories
                ...
        </Location>
        ...
</VirtualHost>

(where "domain" is your server's hostname)

And /path/to/repositories shall not be inside /path/to/documentroot.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2386447

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-23 10:36:36 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.