303 · Question #196
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…
The correct answer is B. Use the followinG. switch [string tolower [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 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 should the LTM Specialist do to resolve this?
Options
- AUse the followinG. switch -lc [HTTP::uri]
- BUse the followinG. switch [string tolower [HTTP::uri]]
- CSet the "Case Sensitivity" option of each member to "None".
- DSelect the "Process Case-Insensitivity" option for the virtual server.
How the community answered
(36 responses)- A3% (1)
- B83% (30)
- C3% (1)
- D11% (4)
Community Discussion
No community discussion yet for this question.