Bug 26616

Summary: https redirect for www.mageia.org
Product: Websites Reporter: Florian Hubold <doktor5000>
Component: www.mageia.orgAssignee: Atelier Team <atelier-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: atelier-bugs, manuel.mageia, rihoward1, sysadmin-bugs, tmb
Version: trunk   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: mageia.org
Whiteboard:
Source RPM: CVE:
Status comment:
Bug Depends on: 21403    
Bug Blocks:    

Description Florian Hubold 2020-05-13 18:19:59 CEST
+++ This bug was initially created as a clone of Bug #21403 +++

Description: When visiting http://www.mageia.org there doesn't seem to be an automatic redirect to https anymore. Redirect works for http://mageia.org but not for http://www.mageia.org

Would be appreciated if someone could take a look, thanks in advance.

----

original Description of problem, from resolved Bug #21403:

Since last move of website to new server, the autoredirect to https for mageia.org is no more working.

We have some php stuff that was working http://gitweb.mageia.org/web/www/tree/index.php#n13 but looks $_SERVER['APP_MODE'] is no more.

BUT i would be in favour that this is done in apache itself
so if we could redirect http://mageia.org and http://www.mageia.org to https://www.mageia.org it should be good enough
http://gitweb.mageia.org/infrastructure/puppet/tree/deployment/websites/manifests/www.pp#n52
Comment 1 Thomas Backlund 2020-05-13 19:07:21 CEST
should be fixed.

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED

Comment 2 r howard 2020-05-13 22:30:57 CEST
Redirect to https now works for both http://mageia.org and http://www.mageia.org.

CC: (none) => rihoward1