Apache OFBiz;问题

问题描述 投票:0回答:2

以下是我遇到的问题:

https://localhost:8443/accounting/control/main此URL有效https://127.0.0.1:8443/accounting/control/main此网址有效https://w2019-dc:8443/accounting/control/main此URL不适用于以下消息|错误信息org.apache.ofbiz.webapp.control.RequestHandlerException:域w2019-dc不被接受以防止主机头注入https://192.168.1.254:8443/accounting/control/main此URL不适用于以下消息|错误消息org.apache.ofbiz.webapp.control.RequestHandlerException:域w2019-dc未被接受以防止主机头注入]

我需要您的建议。

以下是我遇到的问题:https:// localhost:8443 / accounting / control / main此URL运行正常https://127.0.0.1:8443/accounting/control/main此URL运行正常https:// w2019-dc:...

tomcat erp ofbiz
2个回答
0
投票

您需要在security.properties文件的允许主机头的列表属性中添加w2019-dc(或任何其他使用的域)。


0
投票

如果您的域名遵循一种模式,除非您无法编码,否则可以添加必要的内容。然后最好创建一个OFBiz Jira:https://issues.apache.org/jira/projects/OFBIZ?selectedItem=com.atlassian.jira.jira-projects-plugin%3Asummary-page

© www.soinside.com 2019 - 2024. All rights reserved.