You've been already given the answer by Eric what else do you need? Read mod_rewrite manual and combine RewriteCond and RewriteRule commands thats all you need to do.
Am I not asking the right question? Have I not given enough information? Or am I missing something?
Sent from my iPhoneAnybody got any ideas?
Sent from my iPhoneOn Jul 9, 2012, at 6:28 PM, Daniel Ruggeri <DRuggeri@xxxxxxxxxxx> wrote: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?Not really sure what you mean but clients get to update.domain.com from the Internet and the intranet (intranet is through a VPN. Internet is over http. We have a public dns entry and a private dns entry). When the request hits our firewall, the firewall sends all port (in this instance) 80 request to the apache server and I need apache to send update.domain.com to a different LAN server (running iis 7.5).I hope this answered your question?You may be able to use a condition like so:
RewriteCond %{HTTP_HOST} update.domain.com
RewriteRule ^/$ http://192.168.123.2 [L]
I tried this and when going to update.domain.com, I get the default site from the apache server.