| Re: [Galette-discussion] htacces et ovh | 
[ Thread Index | 
Date Index
| More lists.galette.eu/users Archives
] 
- To: Seb F <users@xxxxxxxxxxxxxxxx>
 
- Subject: Re: [Galette-discussion] htacces et ovh
 
- From: roland.telle@xxxxxxxxx
 
- Date: Mon, 27 Apr 2020 09:03:56 +0200
 
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=20161025;        h=date:from:reply-to:organization:message-id:return-receipt-to:to         :subject:in-reply-to:references:mime-version         :content-transfer-encoding;        bh=mqgPpAaTeaTzQMA3sUN9gTUd5p7p2TrboIvt7vsn8Ds=;        b=W0PGMhY7AWZthe/QnnG5yVTSq8vrv/fmXQ2QsXMIXoUqnvPu2nN+sCzRhXQUXjXdHb         +wOiwOeH1i0ic7u+aXoI7wAtUpixwy8uOmr5tjGTlbznwFY0QiehkV6fUjfDe7atVwBf         Y95uTxh+Y4VBbp0QA4PYKM3IH8SOTsMwU1Vrmn2qfcYiXfa9QRdzNT/udmE8vJ7lQsH0         +X365dfsCQsVVcbYXWjULNN1ObwirbNJubO/BbNxVBUVgHoRt0M1yBI6BpvEscUP5xab         ApHdbAHIe6lgzHboy+0KY634zwL6s8rbetGDVK8rVIBYC57XGkC1KuggI45DePYqA4tz         VGOg==
 
- Organization: -
 
- Return-receipt-to: roland.telle@xxxxxxxxx
 
lundi 27 avril 2020,
Bonjour,
Le dimanche 26 avril 2020 à 23:37:37, sebastien.fosse86@... a écrit :
> Je n'arrive pas a configurer le htacces pour acceder automatiquement
> en  https  sur  galette,  je  suis  hebergé  sur les serveurs d'ovh,
> galette est un sous-domaine.
> J'ai essayé cet syntaxe :
> RewriteCond %{SERVER_PORT} 80
> RewriteRule ^(.*)$ https://www.mypersonaldomain.ovh/$1 [R,L]
Tant qu'à bricoler, essayez donc :
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Bonne journée.
Roland
--
Galette users discussions
https://galette.eu - https://doc.galette.eu
http://bugs.galette.eu/projects/galette/
List documentation: https://listengine.tuxfamily.org/lists.galette.eu/users/