From 11bc5c4199d14240d1976dcf6d608279b5499e2d Mon Sep 17 00:00:00 2001 From: Christoph Date: Fri, 21 Jul 2017 00:35:24 +0200 Subject: [PATCH] Correct Readme for AuthType-Basic use. --- README.AuthType-Basic.md | 44 ++++++++++++++++++++++++++++------------ 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/README.AuthType-Basic.md b/README.AuthType-Basic.md index 371360e..4893da8 100644 --- a/README.AuthType-Basic.md +++ b/README.AuthType-Basic.md @@ -1,14 +1,32 @@ -Falls eine Authentifizierung `AuthType Basic` für das Wurzelverzeichnis `DocimentRoot` definiert ist, so muss sichergestellt sein, dass die URI `/.well-known/acme-challenge/` für die Let's Encrypt Server zur Verifizierung während des Zertifizierungsvorgangs **ohne Authentifizierung** erreichbar ist: +# - Falls eine Authentifizierung `AuthType Basic` für das Wurzelverzeichnis `DocumentRoot` +# - definiert ist, so muss sichergestellt sein, dass die URI `/.well-known/acme-challenge/` +# - für die Let's Encrypt Server zur Verifizierung während des Zertifizierungsvorgangs +# - **ohne Authentifizierung** erreichbar ist: - - AuthType Basic - AuthName "Authentification required" - AuthUserFile - Require valid-user - # - Allow Let's Encrypt Path - # - - SetEnvIf Request_URI ^/.well-known/acme-challenge(.*) allow - Order allow,deny - Allow from env=allow - Satisfy any - + # - Apache 2.2 style + # - + + AuthType Basic + AuthName "Authentication Required" + AuthUserFile "/var/www/borg.oopen.de/.htpasswd" + Require valid-user + # - Allow Let's Encrypt Path + # - + SetEnvIf Request_URI ^/.well-known/acme-challenge(.*) allow + Order allow,deny + Allow from env=allow + Satisfy any + + + # - Apache 2.4 + # - + + AuthType Basic + AuthName "Authentication Required" + AuthUserFile "/var/www/borg.oopen.de/.htpasswd" + Require valid-user + # - Allow Let's Encrypt Path + # - + SetEnvIf Request_URI ^/.well-known/acme-challenge(.*) allow + Require env allow +