Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Nov 2008
    Location
    Boston
    Posts
    24

    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

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    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

  1. Replies: 0
    Last Post: February 17th, 2010, 06:10 PM
  2. Replies: 5
    Last Post: February 4th, 2010, 10:55 AM
  3. Cross domain capability
    By achimabeling in forum General
    Replies: 1
    Last Post: August 20th, 2007, 04:08 PM
  4. Opera --> Cross-frame scripting / frameset
    By Mone in forum Client SDKs
    Replies: 1
    Last Post: March 28th, 2007, 10:35 AM
  5. Replies: 0
    Last Post: December 22nd, 2006, 01:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 03:13 AM.