Forum Discussion

Emad's avatar
Emad
Icon for Cirrostratus rankCirrostratus
Feb 03, 2015

Issue in setting Cookie via ProxyPass Irule

Hi, I am trying to implement proxypass irule but it seems there is an issue when i use clientsidedir as "/" and serverside as "/healthcare". Every thing works fine but it does not change Set-Cookie header in HTTP_RESPONSE. Instead of setting cookie for

Path=/
irule is setting cookie for serversidedir
/healthcare
.

I have tried to debug it with printing custom log tags and it seems this line is not being executed.

set elementvalue $path_clientside[substr $elementvalue [string length $path_serverside]]

if statement works on line 431 & 432 works but this statement does not.

Irule is at

https://devcentral.f5.com/wiki/iRules.ProxyPassV10.ashx

No RepliesBe the first to reply