28 Nov
2004
28 Nov
'04
4:49 p.m.
-----Original Message----- From: Timothy A. Canon [mailto:tim@crn.org] Sent: Saturday, November 27, 2004 3:56 PM To: dustin.decker@1on1security.com Cc: kclug@kclug.org Subject: Re: Apache 2.x and mod_rewrite
Hi,
Mod_rewrite might be overkill for what you are trying to do. If you have mod_alias you can just use a virtual host and redirect to the new site.
<VirtualHost 192.168.1.1> ServerName www.foo.com ServerAlias foo.com Redirect / http://www.foo.org/ </VirtualHost>
More info here:
<http://httpd.apache.org/docs-2.0/mod/mod_alias.html#redirect>
Regards, Tim Canon
Tim and Jeremy both - thanks so much for this information. It's precisely what I was looking for. Dustin