我有一个在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