[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: Nico Kadel-Garcia <nkadel_at_comcast.net>
Date: 2006-03-21 02:45:15 CET

Ryan Schmidt wrote:
> 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.

Hold. If you're using password based access, you do *NOT* want this under
HTTP, you want it under HTTPS. This means adding it to the ssl.conf file or
an appropriately iincluded config file, more like this. And you want to
think carefully about your first listed virtual host, your default, to make
sure it doesn't have access to things like this.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 21 02:46:42 2006

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.