[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 00:54:19 CET


On Sat 13-Mar-2004 at 12:35:06AM +0100, Marcin Gil wrote:
> So, how do you create those redirections? By a index.html file
> with meta refresh, index.php with header(location) or with
> mod_rewrite?

None of those, just a simple Redirect statments in a VirtualHost,

  Redirect /foo https://svn.example.com/foo

You can make them 301's like this:

  Redirect permanent /foo https://svn.example.com/foo

The key think to remember is that the destination has to be a fully
qualified URI.

More info here:


Also RedirectMatch is nice, it's new in Apache 2:


It's simpler to get your head around that mod_rewrite and is quite


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 00:54:47 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.