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