Brèves de comptoir - Comment créer la redirection de http:// vers https://
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

Comment créer la redirection de http:// vers https://

Von
LudovicL11
Erstellungsdatum 2019-05-09 14:30:35 (edited on 2024-09-04 11:42:54) in Brèves de comptoir

Bonjour a tous je suis novice et j'ai un site ebergé chez OVH, ma question : comment créer la redirection de http:// vers https://
merci d'avabnce cdlt vicou


1 Antwort ( Latest reply on 2019-05-09 14:38:54 Von
kyodev
)

Bonjour,

Ne connaissant pas votre offre, voici le guide générique Ovh :

https://docs.ovh.com/fr/hosting/passer-site-internet-https-ssl/

Cordialement AntoineB1

quelle offre d'hébergement? perso/pro/...

pourquoi poster dans [lab]security?

accessoirement tu auras plus propre avec
```text
RewriteEngine On

## http -> https
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE,QSA]
```
rien à modifier

Antworten sind derzeit für diese Frage deaktiviert.