根目录:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM"
http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
</cross-domain-policy>
子目录:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM"
http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*"/>
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>
请求的是子目录下的内容。若把allow-access-from domain="*"加入根目录便能成功。