Pier Fumagalli wrote:

On 11 Aug 2004, at 17:14, Mladen Turk wrote:

Hi all,

We've finished the initial development of extended mod_proxy.
Since the development took place at jakata-tomcat-connectors,
the source code can be found under ajp/proxy.

Here is the list of major features added:
3. Added new module proxy_balancer


What's wrong with:

ProxyPassReverse / http://localhost:8888/
ProxyPreserveHost On
RewriteMap hosts rnd:/opt/apache/conf/tables/hosts.map
RewriteRule "^/(.*)" "${hosts:live}/$1" [P,L]

It's in there already, and it works great (I even have a couple of CGIs reading and building up that table, enabling, disabling and prioritizing hosts).

http://wiki.apache.org/cocoon/ApacheModProxy
http://wiki.apache.org/cocoon/LoadBalancingWithModProxy

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/balancer-howto.html#Using%20Apache%202%20with%20mod_proxy%20and%20mod_rewrite

Performance is very bad (much worse than mod_jk, according to testing), failover is questionable, and load balancing policies are not available.
So this is definitely a great hack, and it's likely very useful for some people but it's not generic enough, and definitely isn't a "marketable" solution.


Rémy


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to