[us...@httpd] Apache 2.2: mod_proxy_balancer does not work as documented?

2010-01-14 Thread Francis GALIEGUE
Hello everyone, For a production platform, we have plans to migrate to Apache 2.2, using mod_proxy_ajp and mod_proxy_balancer instead of mod_jk. Unfortunately, while the single Tomcat below case works with no problem, the balancer does not work at all... Here is the relevant part of the

Re: [us...@httpd] Apache 2.2: mod_proxy_balancer does not work as documented?

2010-01-14 Thread Philip Wigg
2010/1/14 Francis GALIEGUE f...@one2team.com: Hello everyone, For a production platform, we have plans to migrate to Apache 2.2, using mod_proxy_ajp and mod_proxy_balancer instead of mod_jk. Unfortunately, while the single Tomcat below case works with no problem, the balancer does not work

Re: [us...@httpd] Apache 2.2: mod_proxy_balancer does not work as documented?

2010-01-14 Thread Devraj Mukherjee
Hi Francis, I use mod_proxy_ajp to proxy Pentaho, also a Tomcat application. I think what you are looking for is ProxyPassReverseCookieDomain so the cookies are set for the right domain. http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreversecookiedomain Let me know if you want me

Re: [us...@httpd] Apache 2.2: mod_proxy_balancer does not work as documented?

2010-01-14 Thread Francis GALIEGUE
On Thu, Jan 14, 2010 at 09:34, Devraj Mukherjee dev...@gmail.com wrote: Hi Francis, I use mod_proxy_ajp to proxy Pentaho, also a Tomcat application. I think what you are looking for is ProxyPassReverseCookieDomain so the cookies are set for the right domain.

Re: [us...@httpd] Apache 2.2: mod_proxy_balancer does not work as documented?

2010-01-14 Thread Francis GALIEGUE
On Thu, Jan 14, 2010 at 09:33, Philip Wigg p...@philipwigg.co.uk wrote: ProxySet is only available in Apache 2.2 and later. Are you sure you're running the 'httpd -S' from the right version of Apache? Yes, this is Apache 2.2. 2.2.3 to be precise (the one bundled with rhel5). -- Francis

Re: [us...@httpd] Apache 2.2: mod_proxy_balancer does not work as documented?

2010-01-14 Thread Francis GALIEGUE
On Thu, Jan 14, 2010 at 09:42, Francis GALIEGUE f...@one2team.com wrote: On Thu, Jan 14, 2010 at 09:34, Devraj Mukherjee dev...@gmail.com wrote: Hi Francis, I use mod_proxy_ajp to proxy Pentaho, also a Tomcat application. I think what you are looking for is ProxyPassReverseCookieDomain so the

[us...@httpd] MPM - connection

2010-01-14 Thread Andrew Hole
Hi! I was reading an interesting document http://httpd.apache.org/docs/2.0/misc/perf-tuning.html about MPM and I would like to clarify a doubt regarding the concept of connection: * The worker MPM uses multiple child processes with many threads each. Each thread handles one connection at a

Re: [us...@httpd] MPM - connection

2010-01-14 Thread Mark Watts
On Thu, 2010-01-14 at 10:17 +, Andrew Hole wrote: What means Each process/thread handles one connection at a time? A connection is a request made by the client? A thread just handle a request? A client (web browser) makes a connection to the server, thus using up one Prefork_MPM child

[us...@httpd] RewriteRule and VirtualDocumentRoot: How do they interract ?

2010-01-14 Thread Thomas Preud'homme
Greetings, === Context === I recently had to write a rewrite rule and after a few fail, decided to read carefully online documentation. After understanding the base problem of RewriteRule in .htaccess files (which I did experiment), I put a rule in the vhost config file. The rule seems to

Re: [us...@httpd] RewriteRule and VirtualDocumentRoot: How do they interract ?

2010-01-14 Thread Eric Covener
On 1/14/10, Thomas Preud'homme thomas.preudho...@celest.fr wrote: Greetings, === Context === What I don't understand is that after the substitution, apache look for the file by prepending document_root (/htdocs on my server) to the substitution. But I use VirtualDocumentRoot and no

Re: [us...@httpd] RewriteRule and VirtualDocumentRoot: How do they interract ?

2010-01-14 Thread Thomas Preud'homme
Le jeudi 14 janvier 2010 19:53:09, Eric Covener a écrit : On 1/14/10, Thomas Preud'homme thomas.preudho...@celest.fr wrote: Greetings, === Context === What I don't understand is that after the substitution, apache look for the file by prepending document_root (/htdocs on my server)

RE: [us...@httpd] Apache 2.2: mod_proxy_balancer does not work as documented?

2010-01-14 Thread inas inassen
English message follows Salut Francis Le mod_proxy fonctionne tres bien, je l'utilise en production depuis 2005 et mon apache est configuré pour service une quinzaine de tomcats repartis sur 6 virtuels host. Le JvmRoute est tres important, ça ne marche pas sans ce parametre. Je suis

Re: [us...@httpd] Apache vs LiteSpeed

2010-01-14 Thread Scott Gifford
On Wed, Jan 13, 2010 at 2:08 AM, Jarrod Slick jar...@e-sensibility.comwrote: On Jan 13, 2010, at 12:47 AM, Scott Gifford wrote: On Wed, Jan 13, 2010 at 1:31 AM, Jarrod Slick jar...@e-sensibility.comwrote: Apache Users, As some of you may or may not know a fairly prominent commercial

Re: [us...@httpd] Apache vs LiteSpeed

2010-01-14 Thread Arnab Ganguly
Basic query, is LiteSpeed an open source ? Can we write our own plugins equivalent to Apache modules which will talk to LiteSpeed ? Thanks in advance. -A On Fri, Jan 15, 2010 at 10:56 AM, Scott Gifford sgiff...@suspectclass.comwrote: On Wed, Jan 13, 2010 at 2:08 AM, Jarrod Slick

Re: [us...@httpd] Apache vs LiteSpeed

2010-01-14 Thread Jarrod Slick
On Fri, Jan 15, 2010 at 10:56 AM, Scott Gifford sgiff...@suspectclass.com wrote: On Wed, Jan 13, 2010 at 2:08 AM, Jarrod Slick jar...@e-sensibility.com wrote: On Jan 13, 2010, at 12:47 AM, Scott Gifford wrote: On Wed, Jan 13, 2010 at 1:31 AM, Jarrod Slick jar...@e-sensibility.com wrote: