httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pete Houston <...@openstrike.co.uk>
Subject Re: [users@httpd] Redirecting a domain to another using Rewrite rules
Date Wed, 16 May 2012 12:41:29 GMT
On Wed, May 16, 2012 at 05:06:24AM -0700, Desilets, Alain wrote:
> I need to forward a domain www.wiki-translation.com to a different location wiki-translation.wiki4us.com,
while preserving the original url. 
> 
> I have been trying to do this for 30 mins now, using Rewrite rules, and nothing works.

Why would you use a RewriteRule when you could simply use a Redirect? In
case you are not aware of this, it is documented here:

http://httpd.apache.org/docs/2.4/mod/mod_alias.html#redirect

Pete
-- 
Openstrike - improving business through open source
http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107

Mime
View raw message