Forum Discussion
Greg_33932
Nimbostratus
Feb 27, 2014IRule - combine 2 variables with an and && statment
Having issues with an irule. I'm no where an expert so please forgive my ignorance. Everything else works but the following statement (bolded is the new portion, rest is working):
if { ( $redirect_to...
Greg_33932
Nimbostratus
Mar 17, 2014Thanks for the reply, for some reason the page still does render on the handheld device with this line in.
if { ( $redirect_to_mobile == "true") && {if [HTTP::status] == "404" } } {
pool $non_mobile_pool
As soon as I comment this part out it allows the page to render. I'm basically looking to capture 404 responses and pass that on to our back end servers to handle the 404 message. I'm not sure what I'm missing in the irule logic. Thanks again for the advice!
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