In tomcat it needs to go in the root webapp, not in the webapps directory.

If you just do http://myserver/, what does it resolve to?

cheers,

David




"Tracy Spratt" <[EMAIL PROTECTED]> 
Sent by: [email protected]
04/20/2008 11:04 AM
Please respond to
[email protected]


To
<[email protected]>
cc

Subject
RE: [flexcoders] crossdomain where is the server root?







It goes wherever the web server domain name resolves to.  In IIS, 
…\inetpub\wwwroot.  In JRUN, …\jrun4\servers\default.  I have never put 
one in a Tomcat installation… hmm, I just went and looked at a tomcat 
server and I would have expected it to go in “webapps”, as you said you 
tried.

 

First are you trying a global setting, using wildcards for both the port 
and server?  Also, with the latest versions of the player, yo need a 
couple more entries in tht file.  Here is an example.

 

<?xml version="1.0"?>

<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromed
ia.com/xml/dtds/cross-domain-policy.dtd">

<cross-domain-policy> 

   <site-control permitted-cross-domain-policies="master-only"/>

   <allow-access-from domain="*" to-ports="*" />

   <allow-http-request-headers-from domain="*" headers="*" />

</cross-domain-policy>

 

That way I figured mine out is to put a global crossdomain in every 
possible location until it worked, then removed them till it broke.

 

Tracy

 



From:[email protected] [mailto:[EMAIL PROTECTED] On 
Behalf Of hworke
Sent: Friday, April 18, 2008 8:50 PM
To: [email protected]
Subject: [flexcoders] crossdomain where is the server root?

 



Sorry for asking this question. I am using jetty
and put the crossdomain.xml in webapps folder but
look like it is not the root. Also which one is the
tomcat root? ROOT folder?




Reply via email to