AutoSSL and TXT Files
HTTP redirects seem to be pretty troublesome: specifically, the default cPanel/Comodo provider will fail if it finds a redirect. To address this, we"re implementing logic in 60 to insert mod_redirect exclusions into a virtual host"s .htaccess file when necessary. You can do this in 58, but it will be a manual process. Here are the exclusions to add in: For Comodo: RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt$ Insert these lines before every "RewriteRule" directive to ensure that domain control validation (DCV) will avoid redirects. Only the Comodo one should be strictly necessary, but the others are good ideas just in case.
Hi, I'm on v62 but seems inserting mod_redirect exclusions doesnt work :( EDIT: Just found in .htaccess : # Prevent Direct Access to files Order deny,allow Deny from all Which blocked access to TXT files
-
# Prevent Direct Access to files Order deny,allow Deny from all
Hello @masterross, This entry will block all access attempts to .txt files, which are required as part of the validation process for the AutoSSL feature. This topic is discussed on the following thread: Directory index forbidden by Options directive Thank you.0
Please sign in to leave a comment.
Comments
1 comment