RE: [users@httpd] Can't get "stickysession" to work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>This is mod_rewrite/RewriteRule-Directive, not the proxyPass 
>directive. 
>Can you set such options also here? If yes, it's at least undocumented 
>on http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriterule 

I haven't tried ProxyPass yet as I love my flexible RewriteRules.
Indeed it _is_ documented but only in one sentence and without examples.
Down at the end of this paragraph
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass
"If you require a more flexible reverse-proxy configuration, see the
RewriteRule directive with the [P] flag."

I'm going to try with ProxyPass but am not sure if I get the needed
rewriting out of proxypass.

Noone ever tried or used rewriterules wuth lodbalancing? Works fine so
far, leave alone the stickysession ;)
Any more hints, anyone?

/Carsten



>-----Original Message-----
>From: Robert Ionescu [mailto:robsiegen@xxxxxxxxxxxxxx] 
>Sent: Thursday, January 05, 2006 9:38 PM
>To: users@xxxxxxxxxxxxxxxx
>Subject: Re: [users@httpd] Can't get "stickysession" to work
>
>
>Germer, Carsten wrote:
>> We're using apache 2.2.0 as caching proxy in front of several
>> application servers. No matter what I tried, I can't get 
>"stickysession"
>> to see my appservers session-cookie :(
>> 
>> <VirtualHost *:80>
>>   ServerName appfront.desy.de
>>   RewriteEngine on
>>   RewriteRule ^(.*) balancer://mycluster$1 [P,L] 
>stickysession=_ZopeId
>
>This is mod_rewrite/RewriteRule-Directive, not the proxyPass 
>directive. 
>Can you set such options also here? If yes, it's at least undocumented 
>on http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriterule
>
>The proxyPass directive didn't work either?
>
>ServerName appfront.desy.de
>ProxyPass / balancer://mycluster/ stickysession=_ZopeId
>
>-- 
>Robert
>
>---------------------------------------------------------------------
>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@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux