httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Richardson" <james.richard...@db.com>
Subject [users@httpd] Repost: Reverse proxy load balanced question
Date Mon, 18 Apr 2005 09:55:36 GMT

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