rejetto forum

Software => HTML & templates => HFS ~ HTTP File Server => RAWR-Designs => Topic started by: Neirboen on April 21, 2011, 05:52:58 PM

Title: Live template - insecure content warning
Post by: Neirboen on April 21, 2011, 05:52:58 PM
I just want to start out by saying that I love the Live template!

I thought I would post this small adjustment I had to make for secure hosting in case anyone else was looking for this. I apologize if this was posted elsewhere.

I use Stunnel on the server side of my site to add SSL functionality. When I loaded up the Live template, I noticed I was getting the "insecure content" warning on every page load with IE, and in other browsers like Firefox it would say the page was only partially secure; that had never happened before until I was using Stunnel AND the Live template. After pulling many hairs out of my head looking for the source of the issue and the fix, I finally figured out that the jQuery reference here was causing it: "<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>"

If you modify the line and take out the http so it looks like this, "<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>", then you don't have to worry about it switching between secure and insecure content. It worked for me!

This is my first post here, and I hope this helps others. :)
Title: Re: Live template - insecure content warning
Post by: rejetto on April 23, 2011, 12:04:02 PM
welcome!
and thanks for sharing.
this is the same solution used in the default template.
Title: Re: Live template - insecure content warning
Post by: TSG on May 15, 2011, 03:51:52 AM
I would just use https://, or the local copy.
Title: Re: Live template - insecure content warning
Post by: rejetto on May 24, 2011, 04:04:21 PM
https is slower
local copy is slower and takes bandwidth
Title: Re: Live template - insecure content warning
Post by: MelkiyProd. on March 30, 2012, 02:03:49 PM
I would just use https://, or the local copy.

The template "live" will be updated? Coz at new HFS have new function :)