Multisite - La page n’est pas redirigée correctement
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.
Question

Multisite - La page n’est pas redirigée correctement

by
DelphineM18
Created on 2022-03-07 13:37:15 (edited on 2024-09-04 12:14:35) in Hébergements Web

Bonjour,

j'ai un hébergement ovh pour un premier site internet.
j'ai ajouté un autre site, donc j'ai été dans multi site.

mon premier site est redirigé vers www
Pour mon deuxième site j'ai cré un sous domaine et je le fait pointer sous sesam (le nom de mon nouveau site)
J'ai déposé mes fichiers php sous /sesam mais mon site est toujours inaccessible :
La page n’est pas redirigée correctement

je ne comprend pas ce qui bloque
URL : https://www.sesame.cpam55.fr/

est ce quelqu’un pourrait m'aiguiller sur mon problème ?
merci
Cdlt


2 Replies ( Latest reply on 2022-03-09 15:19:52 by
fritz2cat officiel (d'avant la migration)
)

Bonjour,

RAS de mon côté sur : https://sesame.cpam55.fr/index.php

Cordialement, janus57

Bonjour,
mon fichier .htaccess bloquait
je l'ai retiré et ça fonctionne, mais pour moi il le faut car le site se lance en http également.

mais je n'arrive pas à faire un .htaccess qui fonctionne

voici ce que j'ai mis dedans :

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

pouvez-vous m'aider ?


mon fichier .htaccess bloquait


à première vue ça semble correct, mais attention selon votre éditeur de textes veillez bien à sauver votre fichier dans le jeu de caractères ASCII ou ANSI ou ISO-8859-X
et surtout pas UTF-XX ou Unicode