httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Ruggeri <DRugg...@primary.net>
Subject Re: [users@httpd] Rewrite Rule Help (again)
Date Mon, 09 Jul 2012 22:28:57 GMT
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


Mime
View raw message