Server space problem

  • Hi,
    I am having an issue with server space.
    Krpano is licensed to a specific domain name ... let's say "domain.com".
    I am running out of space on this server.
    I have another domain ... let's say "domain2.com" with a lot of free space on it.
    I am trying the following with no luck at the moment:
    - On "domain.com", I copy the following:
    xml file, the license file, krpano.swf, the plugins folder, skin folder, swfobject folder and the pano.html file.

    - On "domain2.com", I copy "xxx.tiles" folder.

    Now, when trying to view the panorama at 'http://www.domain.com/pano.html", I get a black screen without any error messages.

    If there not a way to store large image files on a different server / domain address while keeping the license file on the correct domain ?

    Thanks

  • Hi,

    what you are trying to do is a "crossdomain" access.

    Flash has some security restrictions here:
    to be able to access files from a other domain, there must be a "crossdomain.xml" file in the root directory on the other domain, the Flashplayer will look for this file,

    e.g. this is a crossdomain.xml file that allows access from a swf that is on "domain1.com":

    XML
    <?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="domain1.com" />  
      <allow-access-from domain="www.domain1.com" />  
    </cross-domain-policy>

    best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!