Re: ProxyPassReverseCookiePath wildcard match?

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

 




Hi,

I'm attempting to do the above with mod_headers and mod_setenvif.  unsuccessfully.

SetEnvIfNoCase Set-Cookie "JSESSIONID=(\S*);\s*Path=$" jsessionidBlankPath=$1 blankCookiePath
Header set Set-Cookie "JSESSIONID=%{jsessionidBlankPath}e; Path=/" env=blankCookiePath


The first rule is supposed to set a couple variables when a JSESSIONID cookie is set with an empty path.

jsessionidBlankPath will be set to the JSESSIONID value.
blankCookiePath is set

I'm pretty sure the regex should match.

The second rule replaces the Set-Cookie header when blankCookiePath is set.

What am I doing wrong?

Thanks.

[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