httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zac Stevens <>
Subject Re: [users@httpd] Which do I need, mod_rewrite or a redirect?
Date Thu, 15 May 2003 01:19:07 GMT
Hi Eric,

On Wed, May 14, 2003 at 06:03:56PM -0700, Eric Wagar wrote:
> I'd like anyone that goes to and to
> instead see  I would like it to be transparent, ie,
> there is no page telling the user the page/domain has changed.

The easiest way to accomplish this is adding the old domains as aliases
using the 'ServerAlias' directive.  If that is unsuitable, you will need to
use mod_rewrite.  I'm not a rewrite guru, but if you take a look through
the URL rewriting guide you will find plenty of example rules which you can
amend to fit your precise situation: 



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message