You don't need frames to view this website. Flash communication server. Flash mx xml socket server.
Home
Main Menu
Home
- - - - - - -
What is Palabre ?
Features
News
FAQ
Forum
DEMO
- - - - - - -
Downloads !
Browse SVN
- - - - - - -
Search
Contact Us
- - - - - - -
Sourceforge Project Page
Python
Links




 
Download Palabre Flash Xml Socket Server DOWNLOAD Download Palabre Flash Xml Socket Server FORUM Download Palabre Flash Xml Socket Server FAQ Download Palabre Flash Xml Socket Server WHAT IS IT
 



Using Palabre ? Coming here for Support ? Please consider making an (even small) donation :)
Palabre Forum  


::post new topic::
Trouble Getting SWF to work from Website - 2008/04/14 04:49 I'm about ready to start live testing of my app.

I have Palabre running on a remote VPS server, xx.xxx.xx.166

I have been developing on my machine at home, and that machine has no trouble connecting with the server at xx.xxx.xx.166

I am putting up the SWF on another domain with a dedicated IP on my VPS at
xx.xxx.xx.170

My config includes:
Code:

 alloweddomains xx.xxx.xx.166 www.mydomain.com www.mydomain.com/testlab



(testlab is the folder the SWF lives in)

My SWF client includes:
Code:

 System.security.loadPolicyFile("xmlsocket://xx.xxx.xx.166:2468");



I have to admit I'm very confused about how this part of the setup works.

Do I need an actual domain security file of some sort at xx.xxx.xx.166? Or is this being generated by Palabre?

Thanks!
I hope to be able to show the early alpha work soon...
Sean
  reply | quote
Re:Trouble Getting SWF to work from Website - 2008/04/14 04:53 Forgot to add, I can telnet to xx.xxx.xx.166:2468

I cannot telnet to xx.xxx.xx.170:2468
Don't imagine I need to, as the server doesn't live there?

And finally, the socket connection the client makes is to xx.xxx.xx.166

-Sean
  reply | quote
Re:Trouble Getting SWF to work from Website - 2008/04/14 08:06 Hi,

If your SWF is hosted at xx.xxx.xx.170, then the correct crossdomain config is :

alloweddomains = xx.xxx.xx.170

Alloweddomains must include the domain name or IP the SWF is hosted on.
If you access your SWF through http://xx.xxx.xx.170/TEST.SWF , then alloweddomaines = xx.xxx.xx.170

For example:
This website is http://palabre.gavroche.net/
There is a flash demo here at http://palabre.gavroche.net/PalabreChat.swf
But my palabre server is hosted at : http://vds.gavroche.net
So on my palabre.conf at vds.gavroche.net I set :
alloweddomains = palabre.gavroche.net

alloweddomains is the domain part of the URL where you host the SWF.
And be carefull :
if you set alloweddomains = test.com and access the swf at www.test.com it won't work. This has to be the exact same name. (and you can use wildcards like this alloweddomains = *.test.com )
Célio Conort
Lonesome Palabre developper
  reply | quote
Re:Trouble Getting SWF to work from Website - 2008/04/14 16:29 Works like a charm.

And I also (finally) noticed that this exact information is in the docs. D'oh!
  reply | quote
::post new topic::