(ISC)2
301B · Question #22
A virtual server for a set of web services is constructed on an LTM device. The LTM Specialist has created an iRule and applied this iRule to the virtual server: when HTTP_REQUEST { switch [HTTP::uri]
See the full explanation below for the reasoning.
Question
A virtual server for a set of web services is constructed on an LTM device. The LTM Specialist has created an iRule and applied this iRule to the virtual server:
when HTTP_REQUEST {
switch [HTTP::uri] {
"/WS1/WS.jsp" {
log local0. "[HTTP::uri]-Redirected to JSP Pool"
pool JSP
}
default { log local0. "[HTTP::uri]-Redirected to Non-JSP Pool"
pool NonJSP
}
}
}
However, the iRule is NOT behaving as expected. Below is a snapshot of the log:
/WS1/WS.jsp-Redirected to JSP Pool
/WS1/WS.jsp-Redirected to JSP Pool
/WS1/WS.jsp-Redirected to Non-JSP Pool
/WS1/WS.jsp-Redirected to Non-JSP Pool
/WS1/WS.jsp-Redirected to JSP Pool
/WS1/WS.jsp-Redirected to Non-JSP Pool
What is the problem?
Community Discussion
No community discussion yet for this question.