HTTPS protocol on ALTERVISTA and display problems

Post Reply
User avatar
Meteofabro
Observer
Observer
Posts: 35
Joined: Wed Aug 23, 2017 5:20 pm
Location: Fabro
Station model: Davis Vantage Vue
Software: Meteobridge RED PRO
Contact:

HTTPS protocol on ALTERVISTA and display problems

Post by Meteofabro » Wed Sep 21, 2022 3:03 pm

Hello.

I have a problem with my site after activating the HTTPS protocol on ALTERVISTA.ORG.
If I launch an unprotected HTTP the pages work wonders, if by chance the same pages are loaded with secure HTTPS, the pages are loaded partially as per the attached image.
Has anyone already addressed the problem?
Attachments
MeteoFabro_https.png
MeteoFabro_https.png (315.12 KiB) Viewed 857 times
Image

User avatar
meteoesine
Forecaster
Forecaster
Posts: 166
Joined: Sun Aug 20, 2017 4:08 pm
Location: Esine, Valcamonica (BS) - Italy
Station model: Davis Pro2+
Software: Meteobridge nano
Contact:

Re: HTTPS protocol on ALTERVISTA and display problems

Post by meteoesine » Wed Sep 21, 2022 3:55 pm

Ciao,
in the main setup: https instead of http
Attachments
ScreenShot01150.jpg
ScreenShot01150.jpg (65.37 KiB) Viewed 854 times
:arrow: https://meteoesine.it
ham wx aprs/cwop: IW2LAO-13

Image

User avatar
Meteofabro
Observer
Observer
Posts: 35
Joined: Wed Aug 23, 2017 5:20 pm
Location: Fabro
Station model: Davis Vantage Vue
Software: Meteobridge RED PRO
Contact:

Re: HTTPS protocol on ALTERVISTA and display problems

Post by Meteofabro » Thu Sep 22, 2022 5:06 pm

Thanks .. now everything works :D
Image

User avatar
Meteofabro
Observer
Observer
Posts: 35
Joined: Wed Aug 23, 2017 5:20 pm
Location: Fabro
Station model: Davis Vantage Vue
Software: Meteobridge RED PRO
Contact:

Re: HTTPS protocol on ALTERVISTA and display problems

Post by Meteofabro » Fri Sep 23, 2022 8:32 pm

I am trying to redirect the HTTP to HTTPS pages of the domain to .htaccess.
What instructions should I write since I have a main domain (http://meteofabro.it) and an Altervista sub domain (http://meteofabro.altervista.org)?.
Image

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: HTTPS protocol on ALTERVISTA and display problems

Post by davidefa » Fri Sep 23, 2022 9:23 pm

This is my .htaccess file on altervista, substitute 'fanometeo' with 'meteofabro'
Attachments
htaccess_altervista.zip
(1.08 KiB) Downloaded 26 times
Image

User avatar
Meteofabro
Observer
Observer
Posts: 35
Joined: Wed Aug 23, 2017 5:20 pm
Location: Fabro
Station model: Davis Vantage Vue
Software: Meteobridge RED PRO
Contact:

Re: HTTPS protocol on ALTERVISTA and display problems

Post by Meteofabro » Mon Sep 26, 2022 11:00 am

Thanks David.

The code to add in the .htaccess file works.
But I have another problem, some external links that I was on some blocks and plugins don't work.
I have solved many of them by putting the link in "https://", but unfortunately other portals have not set up the server in the secure http protocol, so I still have to use "http://" to call the link.
Here are some links of the Plugins that don't work:
1) https://meteofabro.altervista.org//plug ... nnetta.php
2) https://meteofabro.altervista.org/plugi ... /index.php
3) https://meteofabro.altervista.org/plugi ... /usNWS.php
4) https://meteofabro.altervista.org/plugi ... /index.php

Can I fix it by putting some code on .htaccess?
Image

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: HTTPS protocol on ALTERVISTA and display problems

Post by davidefa » Tue Sep 27, 2022 11:04 am

Not in .htaccess, but you can do it in your browser.
Your browser is set to disable 'mixed content' loading ( this is a security settings ):
if you disable it you are allowed to load 'https pages' that contain http resources/images ( it is a good idea to disable it only for selected sites ).
As this is a browser setting, visitors will load your pages correctly only with 'mixed content' settings disabled

Only these settings will work.
1) https://meteofabro.altervista.org//plug ... nnetta.php
4) https://meteofabro.altervista.org/plugi ... /index.php

the others need an update anyway
Image

User avatar
Meteofabro
Observer
Observer
Posts: 35
Joined: Wed Aug 23, 2017 5:20 pm
Location: Fabro
Station model: Davis Vantage Vue
Software: Meteobridge RED PRO
Contact:

Re: HTTPS protocol on ALTERVISTA and display problems

Post by Meteofabro » Tue Sep 27, 2022 1:04 pm

Thanks David.

For the Steel Series Gauges of the other weather station that we have in Colonnetta di Fabro I have solved even if in an inelegant way.
With a script in php that every minute I copy the data file of the gauges in my server and here I upload them directly to https.
This was important, while the others took them out of the portal.
Image

Post Reply