Forum Discussion
MohanK
Apr 21, 2021Altostratus
Reverse Proxy using Cookie in iRule or Policy
Hello, We need to add below irules/policy for google cloud reverse proxy: 1. The application will drop a cookie on the first request of https://abc.site.com 2. The LTM needs to detect t...
- 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 } }
spalande
Nacreous
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
}
}
MohanK
Jun 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
DevCentral Quicklinks
* 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
Discover DevCentral Connects