where we can place crossdomain.xml

爱⌒轻易说出口 提交于 2020-01-21 14:45:07

问题


Hi I have deployed my flex application on application(_http://myserver:11090/apps) and using proxy server (web server - _https://mysite.site.com) which redirect to application server.

But at run time application search crossdomain.xml at the location _http://myserver:11090/crossdomain.xml due to this it gives popup "Authentication required" for JBoss and ask credentials of app server.

can you please help me where I should place crossdomain.xml file on app server or web server's root directory.

right now crossdomain.xml is placed at the location _http://myserver:11090/apps/crossdomain.xml

Please help me. I am stuck due to this problem

Thanks in advance


回答1:


You need to place the crossdomain.xml file in the root of your server, not in a subdirectory. If you need help on how to configure JBoss or your proxy to allow this, I suggest you try https://serverfault.com/ :).




回答2:


Place crossdoamin.xml at webapps/ROOT folder Then it will work.



来源:https://stackoverflow.com/questions/3101770/where-we-can-place-crossdomain-xml

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