Results 1 to 4 of 4

Thread: Where to put crossdomain.xml in 2 server setup?

  1. #1
    Join Date
    Jun 2011
    Posts
    21

    Exclamation Where to put crossdomain.xml in 2 server setup?

    Where do I put the crossdomain.xml file when I have the program running at:
    http://www.somedomain.com/vshare

    but the video is on

    http://www.anotherdomain.com/video


    thanks

  2. #2
    Join Date
    Sep 2007
    Posts
    906

    Default

    Cross-domain policy for Flash movies

    You need to add anotherdomain.com to crossdomain.xml

    I think the XML file need to be in DocumentRoot of the web site, not in sub folder

    http://www.somedomain.com/crossdomain.xml
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  3. #3
    Join Date
    Jun 2011
    Posts
    21

    Default

    Thanks, that got it working nicely. I had placed crossdomain.xml on the file server (somedomain.com) and it worked, but was worried having something on that one allowing access to everyone/everything (*). I removed it from anotherdomain.com and put the crossdomain.xml up to the root of the program server (somedomain.com), removed the *, added the anotherdomain.com plus the www version, and everything works.

    I guess I still dont know the point of the file since it allows a running process to access a remote server and the remote server has no way to allow or disallow this access. It would seem the file server would need/want to have a file that would tell if a web server was allowed access to its files, not the other way around.

    What am I not seeing here?

  4. #4
    Join Date
    Sep 2007
    Posts
    906

    Default

    It is restriction by Flash, not file server. Flash Player will check for crossdomain.xml for security reason.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •