httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Cornell" <michael.corn...@estafet.com>
Subject [users@httpd] mod_proxy by host
Date Fri, 06 May 2005 13:34:54 GMT
Hi

 

I’m attempting to use apache as a reverse proxy to a site http://www.x.com
<http://www.x.com/>  (winxp / apache2).  By changing my hosts file on
windows (192.168.0.1             www.x.com <http://www.x.com/> ) I can
redirect all browser traffic to apache.  I then need to modify my httpd.conf
to route all incoming traffic to this site’s ip address  (eg 1.2.3.4)

 

I can get traffic to forward from a path to this server:

ProxyPass        /hi         http://1.2.3.4/                

 

I have tried various permutations such as 

ProxyRemote *:80 http://1.2.3.4:80 <http://1.2.3.4/> 

 

But to no avail.  Could someone please point me in the direction of some
documentation or possibly give me a tip on how to forward whole hosts to
another ip as a reverse proxy.

 

Thanks

M

 

 

 


Mime
View raw message