Forum Discussion
Wes_98712
Nimbostratus
Mar 17, 2006images irule
I have a strange problem, one that I can't seem to figure out, probably because I'm not thinking it through. I have the following rule:
else if (http_uri ends_with one of images) {
use ...
Deb_Allen_18
Mar 18, 2006Historic F5 Account
Hi Wes --
The 2nd half of this condition:
else if (http_uri ends_with one of images and not http_uri starts_with "branch.html") {
will always evaluate to TRUE, since URI's always start with "/".
Your last code snip looks syntactically correct to me. I'd recommend adding some logging to each conditional branch of your rule to determine what conditions are actually being hit.
If you need more assistance, it might be helpful if you included the class list and the full text of your rule.
HTH
/d
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