Forum Discussion
Net_Admin_86160
Nimbostratus
Oct 24, 2012Case Issue
Hello,
In just this section(first elseif below) of the irule I have the "and" condition. But somehow in this section ignore case is not working.
elseif {([HTTP::host] contains "do...
Net_Admin_86160
Nimbostratus
Oct 24, 2012Thanks much
I was able to create the datagroups and add it to the irule...but the case issue still persists
elseif {[class match [string tolower [HTTP::host]] contains WebformsDomains_dg] and [class match [string tolower [HTTP::uri]] contains WebformsUri_dg] } {
use pool WEBFORMS
} elseif {[string tolower [HTTP::uri]] starts_with "/webservices/rest/brand/"} {
if {[string tolower [HTTP::uri]] contains "/dataqueue"} {
HTTP::redirect "http://[HTTP::host]/cgi-win/rqueue.cgi?param=[HTTP::uri]"
}
elseif {[string tolower [HTTP::uri]] contains "/comp"} {
HTTP::redirect "http://[HTTP::host]/cgi-win/rcref.cgi?param=[HTTP::uri]"
}
else {
HTTP::redirect "http://[HTTP::host]/cgi-win/rlookup.cgi?param=[HTTP::uri]"
}
}
eg: /secu will take to the correct pool , yet /SECU will not
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
