-
January 6th, 2009, 02:14 AM
#1
cross domain between http and https
Hi,
I'm using LS Moderato edition as the stream server, and using the LS Javascript library as the client. My web pages and LS Javascript library are served from host1.domain.com through https. My LS Moderato is running on host2.domain.com through http.
With this configuration, I was unable to connect my javascript code to Moderato server. Can anyone please advise whether this configuration is feasible?
Note, I was able to connect my javascript code to Moderato if both hosts are using http. I'm wondering whether there is any cross domain setup so that the https downloaded javascript could talk to the http LS server.
Thanks,
Richard
-
January 7th, 2009, 10:56 AM
#2
Hi riwang,
I'm sorry but as per the same origin policy an https page cannot gather data from an http one:
you have to set both servers to use the same protocol. In your case, since Moderato does not support https you have to serve your pages through simple http.
Hope that helps.
Similar Threads
-
By DarioCrivelli in forum Client SDKs
Replies: 0
Last Post: February 17th, 2010, 05:10 PM
-
By DarioCrivelli in forum Client SDKs
Replies: 5
Last Post: February 4th, 2010, 09:55 AM
-
By achimabeling in forum General
Replies: 1
Last Post: August 20th, 2007, 03:08 PM
-
By Mone in forum Client SDKs
Replies: 1
Last Post: March 28th, 2007, 09:35 AM
-
By DarioCrivelli in forum Client SDKs
Replies: 0
Last Post: December 22nd, 2006, 12:18 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 06:39 PM.
Bookmarks