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
ah,maybe it works in this way:
when the syntax is out of the switch -glob [HTTP::path] which has default pool,this request will be distributed to this default pool since no match in previous condition.
but if I evulate it in this switch -glob [HTTP::path] which has default pool,it will not be distributed to default rule,so LB failed....
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