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

Re: Support for HTTP Redirects? was: Re: https connection without http

From: Chris Croome <chris_at_webarchitects.co.uk>
Date: 2004-03-13 15:24:05 CET


On Sat 13-Mar-2004 at 01:10:24AM +0100, Marcin Gil wrote:
> If I have virtual defined as svn.example.com and the location is repo:
> - I access repo https://svn.example.com/repo
> - I've got several virtual hosts eg sum.funky.shit.com
> If I do redirects for VirtualHost svn.example.com will this work for
> sum.funky.shit.com too? Or do I have to put it in every single
> VirtualHost directive?

You will need to create a VirtualHost for each domain name, eg:

  <VirtualHost *:80>
    ServerName one.example.com
    Redirect /repo https://one.example.com/repo
  </VirtualHost *:80>

  <VirtualHost *:80>
    ServerName two.example.com
    Redirect /repo https://two.example.com/repo
  </VirtualHost *:80>


Chris Croome                               <chris@webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 13 15:24:32 2004

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