Home > General > Affiliate Marketing Forum

PLEASE Help - Rackspace Cloud (3)


06-02-2015 10:59 PM #1 mi6430 (Member)
PLEASE Help - Rackspace Cloud

Hi

We are using Backspace Cloud to host all our mobile landers and its great giving us the option to service sites with HTTP and HTTPS. Everything works fine on our javascript with HTTP, however when we serve the site via HTPPS the javascript stops working. Our script is in another file on the server. Any help would be much appreciated.


06-09-2015 02:24 AM #2 zeno (Administrator)

I presume you mean Rackspace cloud? The CDN?

This could be due to mixed content warnings. Make sure your JS is loading via a relative local link or an HTTPS link. If you try to load the JS from an HTTP location when the page is loaded via HTTPS, many browsers will give warnings.


06-10-2015 03:06 AM #3 jgjh151 (Member)

Here is a way to have them load whichever is needed:

Orig:
<script src=”https://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js” type=”text/javascript”></script>

Updated:
<script src=”//ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js” type=”text/javascript”></script>

(Protocol Relative URLs)


Home > General > Affiliate Marketing Forum