ProxyPass for more than 1 remote server

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

 




Hi all,
 
I'm trying to make ProxyPass and ProxyPassReverse work within 2 remote server
 
I have
 
ProxyPass / http://server1:8080/
ProxyPassReverse / http://server1:8080/
 
ProxyPass /docs http://server2:8080/docs
ProxyPassReverse /docs http://server2:8080/docs
 
ProxyPass /jsp-examples http://server2:8080/jsp-examples
ProxyPassReverse /jsp-examples  http://server2:8080/jsp-examples
It seems like apache try to proxy all uri to server1, so how can I make only path  /  goes to server1 and all others paths proxied to server2?
 
thanks for your help.
 
Inas.



Découvrez tout ce que Windows Live a à vous apporter !

Tous vos amis discutent sur Messenger, et vous ? Téléchargez Messenger, c'est gratuit !

[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