Re: [us...@httpd] Apache loadbalancer with tomcat 6

2010-05-24 Thread Francis GALIEGUE
10.10.1.130 > > Nothing comes in tomcat logs > Firewall on the Tomcat server forbidding access to the port? What if you try to: - ping the host (unless the firewall blocks that too), - telnet thehost 8009 ? -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +

Re: [us...@httpd] Slow apache proxy performance.

2010-03-19 Thread Francis GALIEGUE
you refer to the backend app server by IP address (whether it be IPv4 or IPv6)? If by name, how long does it take, on the proxying server, to obtain the IP address from the name (use the "host" command to find out, since it will use the full resolver library)? 2. Do you use keepalive when

Re: [us...@httpd] rewrite rule

2010-03-11 Thread Francis GALIEGUE
STRING}  ^(n=[3]+)$ Why [3]+? 3+ is largely enough. 3 is an atom, like any character class. And it will match 3, 33, 333, etc, whether it is written [3]+ or 3+, so this is probably not what you want. Remember that quantifiers (+, *, {...}) apply to the immediately preceding atom. -- Francis Ga

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

2010-01-20 Thread Francis GALIEGUE
On Fri, Jan 15, 2010 at 21:39, inas inassen wrote: > Hi > > these are my config files > > in httpd.conf add > [...] Thank you! Following these instructions, reading here and there and putting it all together, I managed to get it to work. -- Francis Galiegue ONE2TEAM Ing

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 wrote: > On Thu, Jan 14, 2010 at 09:34, Devraj Mukherjee 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

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

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

2010-01-14 Thread Francis GALIEGUE
nnectors on the tomcat side, I didn't think it would have an influence here. But it seems to have... -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris --

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

2010-01-14 Thread Francis GALIEGUE
can be set to On, in order to account for the part behind the ';' in the JSESSIONID. And indeed, there is one in the generated cookies. Unfortunately, when I add this to the ProxySet directive above, httpd -S says that the parameter is unknown :( Help :( -- Francis Galiegue ONE2TEAM I

Re: [us...@httpd] Re: Ampersand extends to the left part of regexes with RewriteRule, RedirectMatch and SetEnvIf: is that expected?

2009-12-08 Thread Francis GALIEGUE
On Fri, Dec 4, 2009 at 14:39, Eric Covener wrote: [...] >> >> I think Apache is simulating perls $&, and I think it's on purpose. >>  Seems pretty unwise. > > That is definitely the case. > If I file an issue on Apache's Bugzilla, will this be consider

Re: [us...@httpd] mod_cache caching cluster

2009-12-07 Thread Francis GALIEGUE
ess plus 1 month" # or more Header append Cache-Control "private" # this tells that the proxy won't cache, but the final client will You don't even need disk-based caching. The OS' pagecache will largely fill the "need for speed". -- Francis Galiegu

Re: [us...@httpd] Location - Match

2009-12-07 Thread Francis GALIEGUE
ot;access plus " I use this configuration and it works wonderfully (I use ExpiresDefault "now" for index.html however). You can also use ExpiresByType, but it won't be suitable for your case, I think. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 8

Re: [us...@httpd] Ampersand extends to the left part of regexes with RewriteRule, RedirectMatch and SetEnvIf: is that expected?

2009-12-04 Thread Francis GALIEGUE
On Fri, Dec 4, 2009 at 14:04, Eric Covener wrote: > On 12/4/09, Francis GALIEGUE wrote: >> I have tried to backslash it > > Backslash worked for me in the RedirectMatch test. > Well, it does indeed... During my test period, I forgot that I had an ExpiresDefault set to "

Re: [us...@httpd] Re: Ampersand extends to the left part of regexes with RewriteRule, RedirectMatch and SetEnvIf: is that expected?

2009-12-04 Thread Francis GALIEGUE
;the whole thing matched by the matching left regex". While this is a common regex idiom in "basic" regexes (sed acts this way for instance), it is not expected at all from pcre (Perl doesn't know about &, and from what I've read about pcre so far, pcre doesn't k

[us...@httpd] Re: Ampersand extends to the left part of regexes with RewriteRule, RedirectMatch and SetEnvIf: is that expected?

2009-12-04 Thread Francis GALIEGUE
On Fri, Dec 4, 2009 at 09:55, Francis GALIEGUE wrote: > Hello everyone, > > I've had the request to redirect a particular URI, say /foo or /foo/ > to http://some.external.site/?var1=val1&var2=val2&var3=val3. The > Apache server version is 2.0.52 used on RHEL 4.x. I

[us...@httpd] Ampersand extends to the left part of regexes with RewriteRule, RedirectMatch and SetEnvIf: is that expected?

2009-12-04 Thread Francis GALIEGUE
expected or is this a bug? I have tried and googled for hours without being able to solve this problem... Is there a simple way to just make the & literal in right parts? I have tried to backslash it away to no effect... Thanks in advance, -- Francis Galiegue ONE2TEAM Ingénieur système Mob :