Login  Register

Re: Https Request Please

Posted by GregChapman on Apr 05, 2019; 4:36pm
URL: https://support.nabble.com/Https-Protocol-Request-tp7600969p7603149.html

Gary Lewis wrote
WAIT!  Tell me more about the iframe?  I have hundreds of those.  Well, maybe 10's.

Do we want to do this offline?
No need! It's simple enough in concept. What I discovered, and perhaps I should have foreseen this, was because all the links within the site are relative to the existing page (i.e. the code says:
href="thisfolder/thatfile.html"
NOT absolute:
href="http://mydomain/thisfolder/thatfile.html"
then once you access a page using https then all the following pages will be processed using https and just as with Nabble when it runs embedded within an https page if the contents of an iframe like this:
<iframe src="http://www.gregchap....
Then nothing appears within the iframe until you add an s to the http

The homepage at http://www.gregafloat.org.uk includes a image that changes every day. I probably coded it some 20 years ago before I learnt better ways to do it. It includes an iframe to load a page now linked with a src="https// link. Now you can also load it as https://www.gregafloat.org.uk or without ssl and the image of the day still appears!
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.