Forum Discussion
irule to read the url and store as cookie
My complete irule would be something like below. So please advise how to store the cookie value as qwa1234 or qwa5678 whenever they are passed in the URL.
URL Example: www.xyz.com/download.do?app=qwa1234
when HTTP_REQUEST { set uri [HTTP::uri] if { ($uri ends_with "qwa1234") } { pool lpqwa1234-25046 } elseif { ($uri ends_with "qwa5678") } { pool lpqwa5678-25046 } else if { {$cookie equals qwa1234) } { pool lpqwa1234-25046 } else if { {$cookie equals qwa5678) } { pool lpqwa5678-25046 } default pool app-E2-openhome-25046 }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com