我正在使用 Apache2 与 mod_wl_20.so 组合来将负载平衡到 2 个 weblogic 实例。Apache 正在监听 7070。
此插件会部分删除某些搜索的 URI 编码(其中含有空格)。这会导致该网络服务器出现问题。
您可以在这段日志中看到问题:
================New Request: [GET /splunk-uat/en-GB/manager/launcher/saved/searches/Errors%20in%20the%20last%2024%20hours?action=edit&f_pwnr=-&ns=search&f_search=&uri=%2FservicesNS%2Fnobody%2Fsearch%2Fsaved%2Fsearches%2FErrors%2520in%2520the%2520last%252024%2520hours&f_ns=search HTTP/1.1] =================
Wed Mar 19 17:45:55 2014 Getting queryString from the request: [action=edit&f_pwnr=-&ns=search&f_search=&uri=%2FservicesNS%2Fnobody%2Fsearch%2Fsaved%2Fsearches%2FErrors%2520in%2520the%2520last%252024%2520hours&f_ns=search]
Wed Mar 19 17:45:55 2014 Using Uri /splunk-uat/en-GB/manager/launcher/saved/searches/Errors in the last 24 hours
Wed Mar 19 17:45:55 2014 After trimming path: '/splunk-uat/en-GB/manager/launcher/saved/searches/Errors in the last 24 hours'
Wed Mar 19 17:45:55 2014 The final request string is '/splunk-uat/en-GB/manager/launcher/saved/searches/Errors in the last 24 hours?action=edit&f_pwnr=-&ns=search&f_search=&uri=%2FservicesNS%2Fnobody%2Fsearch%2Fsaved%2Fsearches%2FErrors%2520in%2520the%2520last%252024%2520hours&f_ns=search'
在第二行“使用 Uri”中,它已经从“过去 24 小时内的错误“这是已保存搜索的名称。
这是一个已知问题吗?或者我可以通过 apache 本身的一些重写规则来防止这种情况发生吗?
任何帮助都将受到赞赏。
编辑
插件配置:
<Location / >
SetHandler weblogic-handler
WebLogicCluster ap4185:9001,ap4185:9002
ConnectTimeoutSecs 2
ConnectRetrySecs 2
KeepAliveEnabled ON
KeepAliveSecs 15
Debug ALL
FileCaching ON
WLCookieName J2SESSIONID
WLLogFile "C:/log/wl_plugin.log"
</Location>
答案1
我尝试升级到 Apache 2.2 和 mod_wl_22.so,但问题仍然存在。现在我又升级到 Apache 2.4 和 mod_wl_24.so,问题解决了!所以这似乎是 mod_wl 插件的一个错误,直到 2.4 版。