[users@httpd] mod_proxy by host

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

 



Hi

 

I’m attempting to use apache as a reverse proxy to a site http://www.x.com (winxp / apache2).  By changing my hosts file on windows (192.168.0.1             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

 

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

 

 

 


[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