AutoSSL failing
Hi all i am having an issue with one site that runs on software called Moosocial. For this site the auto ssl keeps failing.
I wonder if anyone has any ideas. Moosocial seem to have some funky redirect where the main website files are under public_html/app/webroot and htaccess file is this.
How can i get auto ssl to work for this site?
11:08:04 AM WARN The domain "example.com" failed domain control validation: The system queried for a temporary file at "http://example.com/CB0B4E96C763170CC380F975070E859C.txt", but the web server responded with the following error: 500 (Internal Server Error). A DNS or web server misconfiguration may exist. at bin/autossl_check.pl line 565.
11:08:04 AM WARN The domain "www.example.com" failed domain control validation: The system queried for a temporary file at "http://www.example.com/D93409EAC773BBFE44C6A4B7E5BA6E58.txt", but the web server responded with the following error: 500 (Internal Server Error). A DNS or web server misconfiguration may exist. at bin/autossl_check.pl line 565.
11:08:04 AM WARN The domain "mail.example.com" failed domain control validation: The system queried for a temporary file at "http://mail.example.com/20462063B6E57CB3DAB1FF94B5A227C7.txt", but the web server responded with the following error: 500 (Internal Server Error). A DNS or web server misconfiguration may exist. at bin/autossl_check.pl line 565.I wonder if anyone has any ideas. Moosocial seem to have some funky redirect where the main website files are under public_html/app/webroot and htaccess file is this.
RewriteEngine on
# Uncomment if you have a .well-known directory in the root folder, e.g. for the Let's Encrypt challenge
# https://tools.ietf.org/html/rfc5785
# RewriteRule ^(\.well-known/.*)$ $1 [L]
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
How can i get auto ssl to work for this site?
-
Hello, You'd need to add some additional exclusions in your Mod_Rewrite .htaccess entry to allow access to the TXT files. EX: RewriteRule .*\.txt - [L]
Thank you.0 -
Thanks but sadly that didn't seem to work. 0 -
Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you. 0 -
Just been talking to mooSocial and their script uses cakephp. The webroot is at app/webroot along with the htaccess file. Although all folders and files for the script are installed at domain.com/ their script somehow makes domain.com/app/webroot the root. 0 -
Hello, Yes, that looks to be done through the Mod_Rewrite rules you provided. You may want to contact the provider and ask them for the specific rule to add in order to exclude TXT files from that redirect. Thank you. 0
Please sign in to leave a comment.
Comments
5 comments