sort out the well-known acme-challenge mess - at least on apache

This commit is contained in:
redmatrix
2016-02-08 13:57:40 -08:00
parent 00ae6bdac6
commit be99c7fe12
3 changed files with 6 additions and 12 deletions

View File

@@ -24,6 +24,7 @@ AddType audio/ogg .oga
# Also place auth information into REMOTE_USER for sites running
# in CGI mode.
RewriteCond %{REQUEST_URI} ^/\.well\-known/.*
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]