Forum Discussion
Chris_Lappi_164
Nimbostratus
Jan 12, 2015irule help
We have 1 irule doing the following:
when HTTP_REQUEST {
if {[string tolower [HTTP::uri]] starts_with "/aboutus/careers"} {pool A}
if {[string tolower [HTTP::uri]] starts_with "/aboutus"} {pool ...
Chris_Lappi_164
Nimbostratus
Jan 22, 2015getting the following in the LTM log: invalid command name ""
between the quotes would be the uri being requested.
elseif currently looks like this:
elseif {[class match [string tolower [HTTP::uri]] starts_with DGI_Pool_B]} {[HTTP::uri] [string map -nocase {"/en/" ""} [HTTP::uri]] {pool B}}
Really appreciate the help Brad!!!
- Brad_ParkerJan 22, 2015
Cirrus
may have to actually be [HTTP::uri] [string map -nocase {"/en/" "/"} [HTTP::uri]]
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