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

Re: Architecture question

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-03-20 20:09:22 CET

On Mar 20, 2006, at 19:43, Ing. Francesco Dalan wrote:

> With a "separate machine" configuration, I'd like to configure a
> virtual host on the Apache side. So, the virtual host configuration
> will be:
> <Location /repo>
> DAV svn
> SVNPath ....
>
> </Location>
>
> Now, if I use the mod_dav module, how can I set the IP for the SVN
> server?

Same way you do for any vhost. If the IP you want it to listen on is
1.2.3.4, then:

<VirtualHost 1.2.3.4:80>
        ServerName svn.example.com
        <Location /repo>
                DAV svn
                SVNPath /path/to/repo
        </Location>
</VirtualHost>

You don't need a separate IP for your Subversion vhost, of course; a
name-based vhost is just fine too.

If you're doing a whole separate vhost for Subversion, there's no
need to use <Location /repo> either; you may as well use <Location />
in that case.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 20 20:11:01 2006

This is an archived mail posted to the Subversion Users mailing list.