Forum Discussion
Shailesh
Oct 12, 2020Nimbostratus
I rule for maintenance page
Hi Team, Need assistance to fix an I rule. Below are the requirements: 1) If VS works fine then any traffic matching URI " N=197" & "Nrpp=25 "needs to re-directed as usual. 2) When all the Pool...
Oct 13, 2020
Hi Shailesh,
Can you try this iRule and look logs?
when HTTP_REQUEST {
if { [active_members [LB::server pool]] < 1 } {
log local0. "All members down. URI=[HTTP::uri]"
switch -glob [string tolower [HTTP::uri]] {
"*n=197*" { HTTP::redirect "https://d-www.abc.com/system-maintenance" }
"*nrpp=25*" { HTTP::redirect "http://s-www.xyz.com/maintenance/index.html" }
}
}
}
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