From 3338c4633cfc3143834b9c13b578d9aeac183e3d Mon Sep 17 00:00:00 2001 From: gcolpart Date: Wed, 23 Nov 2022 14:37:27 +0100 Subject: [PATCH] fix err RewriteCond --- HowtoApache.md | 1 - 1 file changed, 1 deletion(-) diff --git a/HowtoApache.md b/HowtoApache.md index a6b8f43a..0060bdf6 100644 --- a/HowtoApache.md +++ b/HowtoApache.md @@ -319,7 +319,6 @@ La configuration d'un VirtualHost pour HTTPS pourra ainsi ressembler à : RewriteEngine On RewriteCond %{HTTPS} !=on RewriteCond %{HTTP:X-Forwarded-Proto} !=https - RewriteCond %{HTTP_HOST} !^secure.example.com$ RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R=permanent] ~~~