Author Topic: Non secure HTTP website google phase 2  (Read 11655 times)

0 Members and 1 Guest are viewing this topic.

Offline Bunty

  • Forecaster
  • *****
  • Posts: 2429
  • Stillwater, home of Oklahoma State University
    • Welcome to Stillwater Weather
Re: Non secure HTTP website google phase 2
« Reply #100 on: October 24, 2017, 02:10:33 PM »
My provider does it for free but the visitor has to manually punch in https://

I found this bit of code to put into the .htaccess file on a Linux server which redirects http accesses to https:

Code: [Select]
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Thanks, but I think I have an Apache server.

Also the 2nd home page using modified AltDashboard 6.95 at http://stillwaterweather.com/2ndhome.php

Offline SoMDWx

  • Forecaster
  • *****
  • Posts: 1014
    • Southern Maryland Weather
Re: Non secure HTTP website google phase 2
« Reply #101 on: October 25, 2017, 07:09:44 AM »
Should be the same for you then on APACHE.... :)

Offline Bunty

  • Forecaster
  • *****
  • Posts: 2429
  • Stillwater, home of Oklahoma State University
    • Welcome to Stillwater Weather
Re: Non secure HTTP website google phase 2
« Reply #102 on: October 25, 2017, 02:46:34 PM »
Should be the same for you then on APACHE.... :)
Okay, you're  right.  I placed the .htaccess file in the wrong place.  Thanks again.

Also the 2nd home page using modified AltDashboard 6.95 at http://stillwaterweather.com/2ndhome.php

Offline 92merc

  • BismarckWeather.net
  • Forecaster
  • *****
  • Posts: 1307
  • BismarckWeather.net
    • BismarckWeather.net
Re: Non secure HTTP website google phase 2
« Reply #103 on: October 25, 2017, 04:31:55 PM »
One other trick to the htaccess file I recently found.  Before I updated to the Saratogo scripts, I had index.htm as my main file on the homepage.  But the new scripts use index.php.  But I've noticed a lot of activity through Google Reports trying still to hit the .htm file.  So I added this to the file to redirect it to the php file.  That's assuming you have no files named index.htm? on your site.

RewriteCond %{ENV:REDIRECT_STATUS} 200
RewriteRule ^ - [L]
RewriteRule ^index.html$ /index.php [R,L]
https://www.BismarckWeather.net
Davis VP2, Cumulus, WeatherDisplay, Blitzortung, Saratoga Scripts, NOAA Stream via PI

Offline Bunty

  • Forecaster
  • *****
  • Posts: 2429
  • Stillwater, home of Oklahoma State University
    • Welcome to Stillwater Weather
Re: Non secure HTTP website google phase 2
« Reply #104 on: October 28, 2017, 08:22:11 PM »
I've found there are some downsides from switching to https that may or not apply to you:

1.  Yowindow stops working. It's because it's based on Flash.  There doesn't seem to be any fixes.      It's time for them to move on from it.   So I put my Yowindow pages on http domain I already had.

2. If you use this satellite animation, the photos listed above the head have to be set to https.  At least that is an easy fix:  https://stillwaterweather.com/sat.php  For another easy fix embed youtube videos have to show https.

3.  If you use Flash weather maps by NOAA, they may not work with https.

4.  WU Rapid Fire doesn't work.  I don't think Weather Display Live works either.  Both are based on Flash.  At least some of WU's PWS weather stickers work.

I hope switching to https was worth it.

Also the 2nd home page using modified AltDashboard 6.95 at http://stillwaterweather.com/2ndhome.php

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Non secure HTTP website google phase 2
« Reply #105 on: October 28, 2017, 09:41:12 PM »
Flash will soon stop working everywhere

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Non secure HTTP website google phase 2
« Reply #106 on: October 28, 2017, 09:52:17 PM »
Flash will soon stop working everywhere
That's good. Unfortunately a lot of places are still using it so there will be a mess when it's forced out.
John
W7JKG

Offline Bunty

  • Forecaster
  • *****
  • Posts: 2429
  • Stillwater, home of Oklahoma State University
    • Welcome to Stillwater Weather
Re: Non secure HTTP website google phase 2
« Reply #107 on: October 28, 2017, 10:36:58 PM »
Flash will soon stop working everywhere

Adobe stops supporting Flash in 2020.   Maybe fans of Flash, such as wunderground will be gone by then.

https://www.wired.com/story/adobe-finally-kills-flash-dead/

In a Yowindow forum last March someone  asked developers when there would be a HTML5 version of Yowindow.  The lame response was, "Sorry, we cannot find time to develop YoWindow in HTML5 yet."  I would speculate the people who have been offering Flash widgets for free may not have the money, either.
« Last Edit: October 28, 2017, 11:04:29 PM by Bunty »

Also the 2nd home page using modified AltDashboard 6.95 at http://stillwaterweather.com/2ndhome.php

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Non secure HTTP website google phase 2
« Reply #108 on: October 29, 2017, 05:40:53 AM »
Flash will soon stop working everywhere

Adobe stops supporting Flash in 2020.   Maybe fans of Flash, such as wunderground will be gone by then.

https://www.wired.com/story/adobe-finally-kills-flash-dead/

In a Yowindow forum last March someone  asked developers when there would be a HTML5 version of Yowindow.  The lame response was, "Sorry, we cannot find time to develop YoWindow in HTML5 yet."  I would speculate the people who have been offering Flash widgets for free may not have the money, either.

Thats true, however it will depend more on when browsers stop supporting it, my guess is Chrome will next yr and FF will follow soon

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Non secure HTTP website google phase 2
« Reply #109 on: October 29, 2017, 10:53:48 AM »
Thats true, however it will depend more on when browsers stop supporting it, my guess is Chrome will next yr and FF will follow soon
Given the way FF has been messing with things lately I'd bet they will beat Chrome to the punch.
John
W7JKG