Re: Redirecting a domain to another using Rewrite rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgpjnA8LfQA8R.pgp
Description: PGP signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux