Forum Discussion
Robert_47833
Mar 11, 2015Altostratus
HTTP::uri "/new-page[HTTP::uri]" without pool specified
when HTTP_REQUEST {
if {[HTTP::host] ends_with .com and [HTTP::path] equals /} {
HTTP::uri "/new-page[HTTP::uri]";
}
xxxxx-other irule logic-xxxx
...
- Mar 11, 2015
I made some logs ,I found that the request changed to /new-pagexxx ,when it is evluated by xxxxx-other irule logic-xxxx,is it an expected behavior?
yes, i believe so.
Robert_47833
Altostratus
if {[HTTP::host] ends_with ".com" and [HTTP::path] equals "/"} {
HTTP::uri "/new-page[HTTP::uri]"
}
xxxxxxxxxxxxxxxxxxother-irule-logic---------------------
if {[HTTP::path] starts_with "/new-page"} {
log local0.alert "[HTTP::uri]"
}
xxxxxxxxxxxxxxxxxxother-irule-logic---------------------
Robert_47833
Mar 11, 2015Altostratus
I am confused .if I put syntax outside the default syntax
if {[HTTP::path] starts_with "/new-page"} {
log local0.alert "[HTTP::uri]"
}
the page is up
but if I use it in a switch with a default action,
"/new-homepage*" {
log local0.alert "hellohello [HTTP::uri]"
}
default {
pool xxxx
return
}
}
}
it is down.
no other reason to make it down,only irule.
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