在 LTM 設備上爲一組 Web 服務構建了一個虛擬服務器。LTM 專家創建了一個 iRule 並將此 iRule 應用於虛擬服務器: 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 }}}然而,iRule 的行爲並不符合預期。以下是日誌快照:/WS1/ws.jsp-Redirected to JSP Pool /WS1/ws.jsp-Redirected to JSP Pool /W
在 LTM 設備上爲一組 Web 服務構建了一個虛擬服務器。LTM 專家創建了一個 iRule 並將此 iRule 應用於虛擬服務器: 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 }}}然而,iRule 的行爲並不符合預期。以下是日誌快照:/WS1/ws.jsp-Redirected to JSP Pool /WS1/ws.jsp-Redirected to JSP Pool /W