Hébergement Cloud Web - Erreur ERR_TOO_MANY_REDIRECTS, je ne comprends pas
... / Erreur ERR_TOO_MANY_REDIR...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

Erreur ERR_TOO_MANY_REDIRECTS, je ne comprends pas

Von
Community Deleted user
Erstellungsdatum 2020-12-07 11:53:22 (edited on 2024-09-04 13:04:19) in Hébergement Cloud Web

Bonjour,

Je suis en train de transférer mon site de l'hébergeur 1&1 à OVH.
Je tente maintenant de sécuriser mon nom de domaine "ecrits-libres.fr"

Mon certificat SSL "www.ecrits-libres.fr" est bien activé dans la page multisite.

L'objectif est de toujours rediriger vers "https://www.ecrits-libres.fr"
Voici mon .htaccess (J'ai testé les deux configurations) :

#RewriteEngine On
#RewriteCond %{HTTPS} off [OR]
#RewriteCond %{HTTP_HOST} !^www\. [NC]
#RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
#RewriteRule ^.*$ https://www.%1%{REQUEST_URI} [L,NE,R=301]

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.ecrits-libres.fr/$1 [R,L]

J'ai une erreur qui s'affiche :

> "Cette page ne fonctionne paswww.ecrits-libres.fr vous a redirigé à de trop nombreuses reprises.
> Essayez de supprimer les cookies..
> ERR_TOO_MANY_REDIRECTS"

Lorsque je tape "http://www.ecrits-libres.fr" ou "http://ecrits-libres.fr" je suis bien redirigé vers "https://www.ecrits-libres.fr" mais ça m'affiche le message d'erreur ci-dessus.

On dirait qu'il y a une redirection supplémentaire qui se fait automatiquement.
page multisite :
ecrits-libres.fr www/ecritslibres phpfpm-7.3 Désactivé Désactivé Activé Activé
www.ecrits-libres.fr www/ecritslibres phpfpm-7.3 Activé Désactivé Activé Activé

Mon .htaccess est donc dans www/ecritslibres et non pas dans www (juste pour information)

Merci pour votre aide,

Nicolas


Antworten sind derzeit für diese Frage deaktiviert.