Hi Loic,

Sorry to be a bother and thanks for the wiki on same origin policy. It
helped reinforce my understanding of the browser to site security
concept.  But my difficulty lies in the practical application of the
concept. 

Since i am not intimately familiar with the jpoker code structure, my
problem is I don't know how or where in the code to define, create,
implement or otherwise synchronize the restURL with my site url. A
novice such as myself would think there would be a simple line or two of
code somewhere that could be modified to satisfy same origin.  If it is
much more complicated than that. I would rather hire a professional to
set it up. Can you advise?

Thanks again!
 
On Sun, 2009-08-09 at 09:27 +0200, Loic Dachary wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Larry wrote:
> > Hmmm,  I am confused.
> >
> > I assumed that this line in the script was setting the restURL on
> > my server -- config.jpoker = { restURL : 'http://
> > myserver:19384/POKER_REST' }; . Since that didn't work I looked in
> > poker.server.xml and noticed the resthost is set to localhost on
> > port 19384.   So I tried this : config.jpoker = { restURL :
> > 'http:// localhost/POKER_REST'}; But jpoker remains disconnected.
> > If I can't set the restURL to point to my server through the
> > index.html then where else?
> >
> Hi,
> 
> Maybe you will find this reading
> http://en.wikipedia.org/wiki/Same_origin_policy
> is helpful in understand the specific problem you are facing.
> 
> Cheers
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkp+ef0ACgkQ8dLMyEl6F21e6wCfRfqojEbjHQB+bmSlEJQwid+h
> xTMAoI75VyZnb1ALoWlt34JaVT2K5oUJ
> =DKrk
> -----END PGP SIGNATURE-----
> 


_______________________________________________
Pokersource-users mailing list
Pokersource-users@gna.org
https://mail.gna.org/listinfo/pokersource-users

Reply via email to