Author Topic: Migrating a website from http to https  (Read 12271 times)

Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: Migrating a website from http to https
« Reply #15 on: March 01, 2017, 07:07:14 PM »
Good news! Who would have thought that a restart could solve a problem?  ;)
Blick


wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Migrating a website from http to https
« Reply #16 on: March 02, 2017, 03:27:43 PM »
How true!

Now additional my main website unterwurzacher.at is running on HTTPS but only if you call it directly via https://www.unterwurzacher.at - I cannot built in the .htaccess because then my Meteotemplate weather site is broken / will not show any more. So something to do in there (lots of links and scripts and stuff to look over). But I am happy so far with my progress.  [computer]
Reinhard


Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: Migrating a website from http to https
« Reply #17 on: March 02, 2017, 03:54:28 PM »
You are making great progress. I just took another tour of your website. It looks like you have that Meteo template dialed in nicely.

I am still finding a few links on my site that need to be fixed. Yesterday I found a link to a favicon than I had missed earlier.

Nice work, mate. Keep going.
Blick


wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Migrating a website from http to https
« Reply #18 on: March 02, 2017, 04:59:03 PM »
Thanks!

Yes, Meteotemplate (weathersite) is https now. But by far not perfect. First thing I wanna do now is to bring SteelSeries back to live.  [goofy]

 :)
Reinhard


Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: Migrating a website from http to https
« Reply #19 on: March 02, 2017, 06:55:38 PM »
There aren't that many scripts in SteelSeries that reference http, but there are are a few. The Gauges won't display until you find them all.

I made changes for https in:
  • gauges-ss.css
  • gauges-ss-basic.htm and .php
  • steelseriesVWSjson.php (although I don't think that file is used by WeatherCat
  • language.min.js
  • RGraph.common.core.js
  • RGraph.rose.js
Blick


wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Migrating a website from http to https
« Reply #20 on: March 02, 2017, 07:03:49 PM »
Uuuiii,
I don't know why but it was much easier here on my side: No single script redo needed, only the line highlighted in the attached screenshot needs to be done. Lucky me.

All of my weather site now is done except those plugins that do use a source only available as http (such as volcanoes, sat24.de and so on) - things that I have no influence on.
Thanks to you John for encouraging me to risk the jump.
 [rock]
Reinhard


Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: Migrating a website from http to https
« Reply #21 on: March 02, 2017, 07:08:05 PM »
Good for you, mate! Job well done, and it isn't even the weekend yet!

Perhaps the differences in SteelSeries are because we are using a different version. I'm using Mark's most recent release and you aren't. Are you using the SteelSeries option from the Meteo template or are you still using Mark's version that you made work with the template?
Blick


wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Migrating a website from http to https
« Reply #22 on: March 02, 2017, 07:09:52 PM »
No single script redo needed, only the line highlighted in the attached screenshot needs to be done. Lucky me.
Maybe the reason for this is that the whole steelseries folder with all files in it is located in my root https. What I will say is that resources that are grabbed by scripts with relative paths located in a already https directory need not to be done any more. This sentence is speculative - but at least for me this was so.
Reinhard


Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: Migrating a website from http to https
« Reply #23 on: March 02, 2017, 07:11:31 PM »
You are correct. Relative paths do not require editing for https. One more reason to use them.
Blick


wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Migrating a website from http to https
« Reply #24 on: March 02, 2017, 07:11:38 PM »
Still using Mark's Version 2.5.15
Reinhard


Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: Migrating a website from http to https
« Reply #25 on: March 02, 2017, 07:13:46 PM »
As I recall, in version 2.5.18 he made a few small changes that improve some accuracy in one of the gauges and display the gauges better on a smart phone.
Blick


Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: Migrating a website from http to https
« Reply #26 on: March 02, 2017, 07:15:07 PM »
But you've done enough for one night. You should relax  a bit before you go to bed!
Blick


wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Migrating a website from http to https
« Reply #27 on: March 02, 2017, 07:18:06 PM »
As you posted in this thread, I will wait on Mark's upgrade to a new cloud base gauge.  [wink]

And before I forget, another big THANK YOU for your help, Blick.
Reinhard


Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: Migrating a website from http to https
« Reply #28 on: March 02, 2017, 07:20:51 PM »
Hey, you are welcome. It wasn't too long ago that you were helping me install the SteelSeries Gauges for the first time, so I am glad if I could help. Congratulations on transitioning to https. It's a good move.
Blick


xairbusdriver

  • Storm
  • *****
  • Posts: 3126
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Re: Migrating a website from http to https
« Reply #29 on: March 02, 2017, 07:50:56 PM »
Not sure about the 'find and replace' functions in Text Wrangler (free), but it's big brother would make finding and changing things very easy and complete. It can do it all at once or individually, or just a 'show all' list before committing. ;)
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system