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

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

 



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