Forum Discussion
Sep 18, 2015
BIG-IP : irule not matching uri as expected
F5 BIG-IP Virtual Edition v11.4.1 (Build 635.0) LTM on ESXi This code is logging all requests - including those with uri "/404" : when HTTP_REQUEST {
if {[HTTP::uri] != "/404"} {
log l...
arpydays
Nimbostratus
Sep 18, 2015not sure what's going on then - I'm using 11.6 VE, prehaps you can run the same commands and post your results
ltm rule test404 {
when HTTP_REQUEST {
if {[HTTP::uri] != "/404"} {
log local0. "uri = [HTTP::uri]"
}
}
}
[root@f5lab] config curl http://10.12.12.145/402
[root@f5lab] config curl http://10.12.12.145/403
[root@f5lab] config curl http://10.12.12.145/404
[root@f5lab] config curl http://10.12.12.145/405
Sep 18 16:43:00 f5lab info tmm[17994]: Rule /Common/test404 : uri = /402
Sep 18 16:43:05 f5lab info tmm[17994]: Rule /Common/test404 : uri = /403
Sep 18 16:43:11 f5lab info tmm[17994]: Rule /Common/test404 : uri = /405
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