Thanks a bunch, that worked. I puzzled too long on that one, I guess ;)

>Till today stickysession didn't work for me either if i put 
>there a route or not.
>When i look in the code of mod_proxy_balancer.c than it seems 
>that it is
>only working with a Tomcat which sends a JSESSIONID like 
>"<session>.<route>".
>I have the problem that i have a SAP Web Application Server 
>which sends JSESSIONID's like "(J2EE<groupNr>)ID<route>DB<session>End"

Isn't that a bit strange? Why not have stickysession made so it can be set to 
any session identifying cookie, regardless of format? Or am I expecting too 
much...
Nevermind, we'll be falling back to pound for loadbalancing appservers, then.

Cheers! /Carsten


>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>Sent: Saturday, January 07, 2006 10:32 PM
>To: users@httpd.apache.org
>Subject: AW: [EMAIL PROTECTED] ProxyPass trouble, WAS: Can't get 
>"stickysession" to work
>
>
>Hi ,
>
>Last month i made the same thing and after some "forbidden", i 
>put the "/" after the "mycluster" and it worked.
>For me it worked this:
>
>ProxyPass / balancer://wpgcluster/ lbmethod=byrequests 
>stickysession=JSESSIONID nofailover=On
><Proxy balancer://wpgcluster/>
>  BalancerMember http://10.0.0.1:11800/  smax=15 loadfactor=1
>  BalancerMember http://10.0.0.2:19500/  smax=15 loadfactor=1
></Proxy>
>
>So for you it should be:
>
>Config snip >>
>ProxyPass / balancer://mycluster/ stickysession=_ZopeId nofailover=on
>  <Proxy balancer://mycluster/>
>    BalancerMember http://app1.desy.de:8080/
>    BalancerMember http://app2.desy.de:8080/
>  </Proxy>
><< config snip
>
>Till today stickysession didn't work for me either if i put 
>there a route or not.
>When i look in the code of mod_proxy_balancer.c than it seems 
>that it is
>only working with a Tomcat which sends a JSESSIONID like 
>"<session>.<route>".
>I have the problem that i have a SAP Web Application Server 
>which sends JSESSIONID's like "(J2EE<groupNr>)ID<route>DB<session>End"
>
>Greetings
>
>Oliver
>
>
>-----Ursprüngliche Nachricht-----
>Von: [EMAIL PROTECTED] im Auftrag von Joshua Slive
>Gesendet: Fr 06.01.2006 20:02
>An: users@httpd.apache.org
>Betreff: Re: [EMAIL PROTECTED] ProxyPass trouble, WAS: Can't get 
>"stickysession" to work
> 
>On 1/6/06, Germer, Carsten <[EMAIL PROTECTED]> wrote:
>> ReHi everyone,
>> I now tried to do it with ProxyPass and ran into another Problem.
>>
>> Config snip >>
>> ProxyPass / balancer://mycluster stickysession=_ZopeId nofailover=on
>>   <Proxy balancer://mycluster>
>>     BalancerMember http://app1.desy.de:8080/
>>     BalancerMember http://app2.desy.de:8080/
>>   </Proxy>
>> << config snip
>>
>> Works good for requesting http://appfront.desy.de/ but when I try to
>> access http://appfront.desy.de/subpage1.html I get
>> Forbidden
>> You don't have permission to access /subpage1.html on this server.
>> Apache Server at appfront.desy.de Port 80
>>
>> Why doesn't it let me access anything behind "/"? I thought ProxyPass
>> rewrites everything behind "/" to the balancer?
>
>Anything in the error log?
>
>I'd start by adding a trailing slash to mycluster in the 
>ProxyPass directive.
>
>Joshua.
>
>

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to