Page 1 of 1

HTTPS protocol on ALTERVISTA and display problems

Posted: Wed Sep 21, 2022 3:03 pm
by Meteofabro
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?

Re: HTTPS protocol on ALTERVISTA and display problems

Posted: Wed Sep 21, 2022 3:55 pm
by meteoesine
Ciao,
in the main setup: https instead of http

Re: HTTPS protocol on ALTERVISTA and display problems

Posted: Thu Sep 22, 2022 5:06 pm
by Meteofabro
Thanks .. now everything works :D

Re: HTTPS protocol on ALTERVISTA and display problems

Posted: Fri Sep 23, 2022 8:32 pm
by Meteofabro
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)?.

Re: HTTPS protocol on ALTERVISTA and display problems

Posted: Fri Sep 23, 2022 9:23 pm
by davidefa
This is my .htaccess file on altervista, substitute 'fanometeo' with 'meteofabro'

Re: HTTPS protocol on ALTERVISTA and display problems

Posted: Mon Sep 26, 2022 11:00 am
by Meteofabro
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?

Re: HTTPS protocol on ALTERVISTA and display problems

Posted: Tue Sep 27, 2022 11:04 am
by davidefa
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

Re: HTTPS protocol on ALTERVISTA and display problems

Posted: Tue Sep 27, 2022 1:04 pm
by Meteofabro
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.