Forum Discussion
Reverse Proxy using Cookie in iRule or Policy
- Apr 21, 2021
Create a pool for Google Cloud destination. Modify iRule with pool name accordingly.
when HTTP_REQUEST { if { ( [HTTP::cookie exists Experience] ) } { HTTP::header replace "Host" "def.site.com" HTTP::uri /home pool def.site.com_pool } else { return } }
Create a pool for Google Cloud destination. Modify iRule with pool name accordingly.
when HTTP_REQUEST {
if { ( [HTTP::cookie exists Experience] ) } {
HTTP::header replace "Host" "def.site.com"
HTTP::uri /home
pool def.site.com_pool
} else {
return
}
}
- MohanKApr 22, 2021Altostratus
Awesome! Thank you Sanjay. I'll Test and get back to you :)
- MohanKMay 13, 2021Altostratus
Sanjay,
At this moment I'm selecting, this as a best answer.
I also have one more query - Pool member is going to be an external VIP Address, does it respond to health monitor just like all other server node ?
- MohanKJun 12, 2021Altostratus
This rule worked, as exactly what we expected, I have added few other parameters for the special requirement. Thank you so much again, Sanjay :)
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