Re: Rewrite Rule Help (again)

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

 



On 7/9/2012 5:03 PM, Chris Arnold wrote:
So the RewriteRule ^/$ http://192.168.123.2 [L] 
Sends all traffic to 192.168.123.2. I just need http://update.domain.com traffic to go to the 192.168.123.2 host.

Chris;
   I think more information is needed... how do clients get to "update.domain.com" and the rest of your domains? You may be able to use a condition like so:
RewriteCond %{HTTP_HOST} update.domain.com
RewriteRule ^/$ http://192.168.123.2 [L]

... to ensure only things matching that domain name get sent there once they reach httpd... that is a shot in the dark without more information.
-- 
Daniel Ruggeri

[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