Sie sind nicht angemeldet.

1

Montag, 24. August 2009, 14:54

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 '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

2

Montag, 24. August 2009, 14:56

you have to buy a full licence domain ;-)

3

Montag, 24. August 2009, 15:07

Ok, I will do that then.
Thanks

4

Dienstag, 25. August 2009, 11:15

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":

Quellcode

1
2
3
4
5
6
<?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