RE: [users@httpd] Repost: Reverse proxy load balanced question

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

 



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@xxxxxxxxxxxxxx [mailto:Axel-
> Stephane.SMORGRAV@xxxxxxxxxxxxxx]
> Sent: 18 April 2005 14:17
> To: users@xxxxxxxxxxxxxxxx
> 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@xxxxxx]
> Envoyé : lundi 18 avril 2005 11:56
> À : users@xxxxxxxxxxxxxxxx
> 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@xxxxxx>
> [mailto:"James
> > Richardson" <james.richardson+external@xxxxxx>]
> > Sent: 14 April 2005 15:32
> > To: users@xxxxxxxxxxxxxxxx
> > 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


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



[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