httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Arnold <carn...@electrichendrix.com>
Subject [users@httpd] Rewrite Rule Help (again)
Date Tue, 03 Jul 2012 21:25:34 GMT
Hello list! Apache 2.2.12 on SLES 11 SP2. I need to rewrite/proxy http://updates.domain.com
traffic to another server on the LAN. I have a few rewrite rules in my host file now:
RewriteRule ^/folder http://%{HTTP_HOST}/folder/ [L]

but am not sure how to rewrite without a folder (ie http://updates.domain.com to another server
with the same address).

The deal is we only have 1 public ip and the router PATs port 80 traffic to the SLES11 server
and for http://updates.domain.com needs to go to a different server. Can i do this with apache2
and with a rewrite?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message