httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From inas inassen <mezgh...@hotmail.com>
Subject RE: [users@httpd] ProxyPass for more than 1 remote server
Date Wed, 25 Mar 2009 20:34:26 GMT

Thank you Krist,

 

It seems working now, I'll do more tests.

 

Inas.
 
> Date: Wed, 25 Mar 2009 09:38:40 +0100
> From: krist.vanbesien@gmail.com
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] ProxyPass for more than 1 remote server
> 
> On Wed, Mar 25, 2009 at 1:59 AM, inas inassen <mezghena@hotmail.com> 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@gmail.com
> krist@vanbesien.org
> 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@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

_________________________________________________________________
Sur Windows Live Ideas, découvrez en exclusivité de nouveaux services en ligne... si nouveaux
qu'ils ne sont pas encore sortis officiellement sur le marché !
http://ideas.live.com
Mime
View raw message