我有一個在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. IBM Websphere Liberty Profile:如何在Websphere中映射公有IP地址
- 2. Websphere 8.5 Liberty Profile - Servlet API setLocale
- 3. Websphere Liberty Profile中的Java EE-Timer/@Schedule
- 4. WebSphere Application Server Liberty Profile - 管理中心
- 5. WebSphere Liberty概要AdminClient連鎖
- 6. JSESSIONID在會話失效後被Websphere Liberty Profile重用
- 7. 將多個DataSource轉換爲Websphere Liberty Profile
- 8. WebSphere Liberty Profile OIDC客戶端URL
- 9. JSF不適用於WebSphere Liberty Profile
- 10. JavaEE Websphere Liberty沒有根資源匹配請求&沒有有效的jdbcDriver
- 11. 如何在Websphere Liberty Profile上啓用Bluemix中的javax.script?
- 12. 如何在WebSphere 8.5 Liberty Profile中定義自定義DataStoreHelper
- 13. 如何在WebSphere Liberty Profile中使用DB2配置log4j2 JDBCAppender
- 14. 如何在WebSphere Liberty Profile中啓動管理控制檯
- 15. Liberty Profile + Servlet 2.4
- 16. Jersey Liberty Profile上的JAXB json
- 17. 如何使用Websphere Liberty Profile 8.5中定義的數據源?
- 18. System.Drawing.Font:沒有字體重量的概念?
- 19. 在redis cli中有沒有管道的概念?
- 20. 有沒有在Visual Studio 2013在線的wiki的概念?
- 21. 有效的provisioning profile
- 22. 握手提醒:Unrecognized_name Liberty Profile
- 23. 如何使「HTTPS重定向」在WebSphere Application Server Liberty Profile上工作?
- 24. 無法在Websphere Liberty Profile上獲得Swagger Annotations輸出
- 25. 有沒有關於mxnet中的多CPU的概念
- 26. Android中有沒有像DLL這樣的概念的DLL或DLL?
- 27. wp7中有沒有bumbers或snapinto的概念?
- 28. java中沒有輪詢概念的聊天應用程序
- 29. NoClassDefFoundError:在Web Sphere Liberty Profile
- 30. websphere liberty profile無法實例化導致的TransactionManagerLookup:java.lang.ClassNotFoundException:com.ibm.ejs.jts.jta.JTSXA
很難說。你將不得不詳細說明,你的閥門在Liberty中爲了找到最佳匹配還是替換它們而做的。 – Gas
我的web應用程序中的這些tomcat閥限制來自未知主機的請求。如果特定的請求被阻止,那麼它將把它重定向到錯誤頁面。 – veeru