Setting proxy parameters via mod_rewrite

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

 



Let's say I have the following rule:

ProxyPass /foo balancer://cluster5/foo stickysession=JSESSIONID

I want to use RewriteRule for my proxy directives. So I'd say this:

RewriteRule ^/(foo.*) balancer://cluster5/$1 [P]

But how do I set stickysession=JSESSIONID [as well as any other parameters that ProxyPass allows] - or is this a feature request?

Is it just as easy as use E=
RewriteRule ^/(foo.*) balancer://cluster5/$1 [E=stickysession:JSESSIONID]



-Tim

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