httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Richardson" <james.richard...@db.com>
Subject RE: [users@httpd] Repost: Reverse proxy load balanced question
Date Mon, 18 Apr 2005 15:21:52 GMT
That would be do-able. The list is not so long!

I will give that a try.

Thanks!

James


> -----Original Message-----
> From: Axel-Stephane.SMORGRAV@europe.adp.com [mailto:Axel-
> Stephane.SMORGRAV@europe.adp.com]
> Sent: 18 April 2005 14:17
> To: users@httpd.apache.org
> Subject: RE: [users@httpd] Repost: Reverse proxy load balanced question
> 
> The only thing I can think of is to make one ProxyPassReverse for each
> host in you rewrite map.
> 
> -ascs
> 
> -----Message d'origine-----
> De : James Richardson [mailto:james.richardson@db.com]
> Envoyé : lundi 18 avril 2005 11:56
> À : users@httpd.apache.org
> Objet : [users@httpd] Repost: Reverse proxy load balanced question
> 
> 
> Can anybody help out on this one? Would much appreciate it.
> 
> Thanks!
> 
> James
> 
> 
> > -----Original Message-----
> > From: "James Richardson" <james.richardson+external@db.com>
> [mailto:"James
> > Richardson" <james.richardson+external@db.com>]
> > Sent: 14 April 2005 15:32
> > To: users@httpd.apache.org
> > Subject: [users@httpd] Reverse proxy load balanced question
> >
> >
> > Hi,
> >
> > Currently I am using mod_proxy to map multiple web application servers
> > into a single content root like this:
> >
> > <Location /foobar>
> > 	RewriteEngine on
> > 	RewriteRule    htdocs/(.*)$	http://bar.foo.com:8080/$1 [P]
> > 	ProxyPassReverse http://bar.foo.com:8080/foobar </Location>
> >
> > This works very well (although I think that I've not 100% got the hang
> of
> > the rewrite, it does work very successfully).
> >
> > However, I would now like to use a rnd: text mapped file for the
> > reverse proxied host (so as to do a non-sticky load balance), and I
> > don't really understand how to place this into my config....
> >
> > I have so far this:
> >
> > RewriteMap     servers rnd:/home/richja/apache/test/conf/servers.txt
> > <Location /foobar>
> > 	RewriteEngine on
> > 	RewriteRule    htdocs/(.*)$	http://${servers:foobar}:8080/$1
> > [P]
> > 	ProxyPassReverse http://?????what_to_put_here?
> > </Location>
> >
> > But I'm a bit stuck as how to handle the ProxyPassReverse rule.
> >
> > I would much appreciate any pointers...
> >
> > Thanks!
> >
> > James
> 
> ---------------------------------------------------------------------
> 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


---------------------------------------------------------------------
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


Mime
View raw message