2 Replies Latest reply on May 18, 2009 5:42 PM by eponymoose

    Cross-domain Issue

    eponymoose Level 1

      I have a website that is accessible via two domains. It has a long legacy name and a shorter one which is much easier to type. I use absolute URLs in my Flash menu control because the site contains a mixture of legacy and database-served pages, which require multiple menu versions if I use relative URLs. The absolute URLs only work for one domain. For the other domain, which isn't the one in the menu's URL but points to the same ip address, the menu control does nothing. Users who arrive via www.abc.com have no problem while users who arrive via www.abcdefghijk.com are stuck at the home page. The second set of users sees the menu control but nothing happens when they click.

       

      I installed various versions of the appended crossdomain.xml file in the root directory of my website but nothing changed.

       

      The menu control uses AS2. I could rewrite it in AS3 if that would help. I've tried publishing it at plug-in levels 6, 7, and 8.

       

      Thanks in advance for your help!

       

       

      <?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”/>
      <allow-access-from domain=”*” />
      <allow-http-request-headers-from domain=”*” headers=”*”/>
      </cross-domain-policy>

        • 1. Re: Cross-domain Issue
          RossRitchey Level 4

          Have you tried hardcoding the domains to use in the crossdomain, rather than attempting to allow-from all?

           

          <?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”/>
          <allow-access-from domain=”abc.com” />

          <allow-access-from domain=”abcdefghijkl.com” />

          </cross-domain-policy>

          • 2. Re: Cross-domain Issue
            eponymoose Level 1

            Hmm, I was sure I tried that but it now appears to be working so thanks!

             

            I'm wondering if I included the entire URL (http...) before I resorted to wildcards, instead of just the domain.

             

            My cross domain policy is as follows:

             

             

            <?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”/>
            <allow-access-from domain=”abcdef.org” />
            <allow-access-from domain=”abc.org” />
            <allow-http-request-headers-from domain=”abcdef.org” headers="abcdef.org”/>
            <allow-http-request-headers-from domain=”abc.org” headers=”abc.org”/>
            </cross-domain-policy>