WSO2 Application Server will redirect to “/carbon” upon 404 error is expected

橙三吉。 提交于 2019-12-11 14:16:30

问题


I am being confused by wso2 aplication server. When i access a non-exist page, it will always redirect to carbon console, I have studied the xml config files, but find no luck. I just want to know how to make it just report 404 error when it does happen?


回答1:


I have found the answer, the reason is the carbon app occupied the context root, so all request to non exist context-roots will be received by carbon app. After changing the carbon WebContextRoot in carbon.xml, all seems ok now.



来源:https://stackoverflow.com/questions/23933482/wso2-application-server-will-redirect-to-carbon-upon-404-error-is-expected

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!