Correct Readme for AuthType-Basic use.

This commit is contained in:
Christoph 2017-07-21 00:35:24 +02:00
parent e613af5262
commit 11bc5c4199

View File

@ -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:
<Location />
AuthType Basic
AuthName "Authentification required"
AuthUserFile <path-to-htpasswd-file>
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
</Location>
# - Apache 2.2 style
# -
<Location />
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
</Location>
# - Apache 2.4
# -
<Location />
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
</Location>