On Wed, Mar 25, 2009 at 1:59 AM, inas inassen <mezghena@xxxxxxxxxxx> wrote: > > 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? Change the order of your proxy directives. Put the more specific ones before the mroe general ones. Krist -- krist.vanbesien@xxxxxxxxx krist@xxxxxxxxxxxxx Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx