Activer la redirection .htaccess 301
... / Activer la redirection .h...
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

Activer la redirection .htaccess 301

by
SamuelD9
Created on 2017-10-06 08:12:36 (edited on 2024-09-04 12:46:05) in SSL Gateway-old

Bonjour, j ai voulu activer la redirection .htaccess 301 mais ça me met "The .htaccess file is not writable. Add these lines to your htaccess manually, or set 644 writing permissions."
"Le fichier .htaccess n'est pas accessible en écriture. Ajoutez ces lignes à votre htaccess manuellement ou définissez 644 autorisations d'écriture."
# BEGIN rlrssslReallySimpleSSL rsssl_version[3.3.1]

RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]

# END rlrssslReallySimpleSSL
Le problème c est que je suis débutant et je ne sais pas faire le réglage.
Merci de votre aide


1 Reply ( Latest reply on 2020-04-30 14:26:34 by
kyodev
)

> activer la redirection .htaccess 301

**NE PAS TOUCHER à ça chez Ovh**, piège

pour le reste ce que tu montres est une absurdité de really simple sss

tu devrais **modifier** le titre de ton sujet et choisir la **catégorie**: Hébergement Web
(SSL Gateway est un service sans rapport)

Replies are currently disabled for this question.