I am trying to turn off the authentication for a subdirectory that is protected by authentication
admin.bios-living.com
is protected as a virtual domain
<VirtualHost *:80>
ServerName admin.bios-living.com
ServerAdmin ruben@mrbrklyn.com
DocumentRoot "/usr/local/apache2/htdocs/admin"
Alias "/.well-known/acme-challenge/"
"/usr/local/apache2/htdocs/tokens/" # SSLEngine on
# SSLOptions +StrictRequire
#
SSLCertificateFile /var/lib/ca-certificates/pem/bios-living.com.crt
# SSLCertificateKeyFile /etc/ssl/private/bios-living.com.key
Header set Cache-Control "no-store, must-revalidate" Header set
Pragma "no-cache" Header set Expires "0"
Options Indexes
<Files *.html>
SetHandler perl-script
PerlResponseHandler Embperl
</Files>
<Location "/">
AuthType basic
AuthName "admin"
AuthBasicProvider file
AuthUserFile "/usr/local/apache2/conf/admin.auth"
Require valid-user
Options +Indexes +FollowSymLinks
</Location>
Now I need to carve out a resource for letsencrypt without
authentication and without ssl
Nothing seems to work
Alias "/.well-known/acme-challenge/"
"/usr/local/apache2/htdocs/tokens/"
<Location "/.well-known/acme-challenge/">
Require all granted
</Location>
<Directory "/usr/local/apache2/htdocs/tokens/">
Require all granted
</Directory>
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 46:28:05 |
Calls: | 6,648 |
Files: | 12,198 |
Messages: | 5,329,853 |