Drupal's defualt .htaccess file breaks webroot authentication

If you add in your drupal .htaccess just above

RewriteRule “(^|/).” - [F]

the following rule:
RewriteRule “^.well-known/acme-challenge” - [L]

Then automated letsencrypt works on our cPanel install.

3 Likes