Forum Discussion
Michael_-_Harr1
Nimbostratus
Feb 20, 2014Need some assistance with IRULE
Need some assistance with IRULE. If my pool mobileqa goes down need to seend a redirect for browser traffic to maintenance page. However if the traffic is coming from a mobile device the URL is diffe...
Michael_-_Harr1
Nimbostratus
Feb 20, 2014I need to add the condition the Virtual server pool goes down as the condition
when HTTP_REQUEST { if { [active_members Mobile-QA] < 1 } {
Not sure how to incorporate the rest
if { [HTTP::URI] starts_with "/www/" } { HTTP::redirect https://edepositqa.test.com/mobile/index.html return } elseif { [HTTP::URI] starts_with "/splash/"} { HTTP::redirect https://edepositqa.test.com/mobile/index.html return } else { HTTP::respond 404 Location [HTTP::header Location] return }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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