我有一個在tomcat上部署並使用tomcat值的web應用程序,現在應用程序正在轉向websphere liberty,我不確定類似的概念存在於自由中。 在websphere libery配置文件中是否有等效的tomcat閥概念?如果是的話,我們該如何實現?在websphere liberty profile中有沒有等效的tomcat閥概念?
2
A
回答
1
您可以在server.xml中以每個端點爲基礎將白名單和IP地址白名單/黑名單。被阻止的人會收到一條連接重置消息。
<httpEndpoint httpPort="19080" httpsPort="19443" id="defaultHttpEndpoint" tcpOptionsRef="myTcpOptions" host="*"/> <tcpOptions id="myTcpOptions" hostNameExcludeList="*.foo.com,*.ibm.com" />
如果您需要每個應用程序不同的排除,你可以使用配置多個端點,並把它們映射到使用虛擬主機的應用程序。 https://www.ibm.com/support/knowledgecenter/en/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/cwlp_virtual_hosts.html
+0
謝謝布魯斯的幫助。我會繼續嘗試這個建議。 – veeru
相關問題
- 1. Websphere 8.5 Liberty Profile - Servlet API setLocale
- 2. WebSphere Liberty概要AdminClient連鎖
- 3. JSESSIONID在會話失效後被Websphere Liberty Profile重用
- 4. WebSphere Liberty Profile OIDC客戶端URL
- 5. JavaEE Websphere Liberty沒有根資源匹配請求&沒有有效的jdbcDriver
- 6. 如何在WebSphere Liberty Profile中啓動管理控制檯
- 7. 如何在WebSphere 8.5 Liberty Profile中定義自定義DataStoreHelper
- 8. 如何在WebSphere Liberty Profile中使用DB2配置log4j2 JDBCAppender
- 9. Liberty Profile + Servlet 2.4
- 10. System.Drawing.Font:沒有字體重量的概念?
- 11. 在redis cli中有沒有管道的概念?
- 12. 有效的provisioning profile
- 13. 握手提醒:Unrecognized_name Liberty Profile
- 14. 有沒有關於mxnet中的多CPU的概念
- 15. Android中有沒有像DLL這樣的概念的DLL或DLL?
- 16. 將Google/iTunes的根證書導入WebSphere Application Server - Liberty Profile 8.5.5.1
- 17. NoClassDefFoundError:在Web Sphere Liberty Profile
- 18. 有效的開發團隊有哪些關鍵概念?
- 19. Websphere中的Java EE依賴注入Liberty概要文件
- 20. 使用Apache Httpclient和WebSphere Liberty Profile設置TLS版本
- 21. 如何爲WebSphere Liberty Profile生成LTPA令牌
- 22. Liberty Websphere上沒有共同的密碼套件
- 23. activemq中的「出隊」和「確認」等效概念?
- 24. Rust中有POD類型的概念嗎?
- 25. WinForms:有沒有關聯標籤和文本框的概念?
- 26. 有沒有導致豆莢啓動上傳部署的概念?
- 27. Liberty Profile是否支持RMI調用
- 28. Ansible與highstates有什麼等價的概念?
- 29. 爲什麼Struts2中沒有用於Action類的Singleton概念?
- 30. C++概念:無效引用功能概念
很難說。你將不得不詳細說明,你的閥門在Liberty中爲了找到最佳匹配還是替換它們而做的。 – Gas
我的web應用程序中的這些tomcat閥限制來自未知主機的請求。如果特定的請求被阻止,那麼它將把它重定向到錯誤頁面。 – veeru