of the webservice it uses had the wrong host name and port.
--- In [email protected], "yomahz" <[EMAIL PROTECTED]> wrote:
>
> I'm having a very strange issue with flex. I have a crossdomain.xml on
> the webserver as such:
>
> <?xml version="1.0"?>
> <!DOCTYPE cross-domain-policy
> SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
> <cross-domain-policy>
> <allow-access-from domain="*" />
> </cross-domain-policy>
>
> I access the page in my browser by going to:
>
> http://www.myserver.com/directory/index.html
>
> It always gives me a "security error accessing url". I ran a sniffer
> to detect what flash was trying to do and saw that it's using the
> wrong host in the HTTP header when trying to access the
> crossdomain.xml file.
>
> For instance, the GET for the swf itself looks something like:
>
> GET /directory/main.swf HTTP/1.1
> Host: www.myserver.com
>
> Later, I see a request for the crossdomain.xml that looks like this:
>
> GET /crossdomain.xml HTTP/1.1
> Host: www.mycorporatedomain.com:8080
>
> The server has multiple DNS records for this server. The corporate
> domain and port (8080) is not accesible outside of the local network.
> What does flash use to determine the host:port of the crossdomain.xml?
> Why would it be trying to use a different name/port than the swf?
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

