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.