Forum Discussion
aandreyy_293459
Nimbostratus
Jul 25, 2017iRule for redirecting to different uri
iRule for redirecting to different uri
i have problem like have redirection in iRule
when HTTP_REQUEST "/url" use pool POOL
now i need have
"/newurl" use pool NEWPOOL but need forward ...
P_K
Altostratus
Jul 25, 2017Try this..
when HTTP_REQUEST {
if { [ string tolower [HTTP::uri]] starts_with "/url" } {
pool oldpool
}
elseif { [string tolower [HTTP::uri]] starts_with "/newurl" } {
HTTP::uri "/url"
pool NewPool
}
}
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