Apache 2.x and mod_rewrite
Dustin Decker
dustin.decker at 1on1security.com
Sun Nov 28 10:49:52 CST 2004
> -----Original Message-----
> From: Timothy A. Canon [mailto:tim at crn.org]
> Sent: Saturday, November 27, 2004 3:56 PM
> To: dustin.decker at 1on1security.com
> Cc: kclug at 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
More information about the Kclug
mailing list