Mettre à jour phpList 3.2.5 vers 3.3.1 et passer en HTTPS

Publié le - Modifié le 03 août 2022 | Aucun commentaire

Classé dans : Mise à jour, Intervention délicate en 15 min. | Mots clés : htaccess, phpList

La procédure de mise à jour est illustrée ici : https://www.phplist.org/manual/ch031_upgrading.xhtml

Pour passer en HTTPS ajouter dans htdocs/config/config.php :

# Admin protocol
# similar to the above, if you need to force the admin pages on either http or https (eg when behind a
# proxy that prevents proper auto-detection), you can set it here
define('ADMIN_PROTOCOL','https');

Forcer le protocole HTTPS soit via l'interface de l'hébergeur soit en ajoutant dans htdocs/.htaccess :

RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
DirectoryIndex index.php

Et ça marche smiley

Source : https://www.phplist.org/manual/books/phplist-manual/page/upgrading-a-manual-installation

Écrire un commentaire

Quelle est le troisième caractère du mot c5jwi6x ?

Fil RSS des commentaires de cet article