AutoSSL problem with Xenforo
Hello!
I tryed today to add the AutoSSL certificate.
I tryed to edit the .htaccess and it started working on the acp of xenforo but not in the forums.
This is the code I have in the .htaccess
I have to wait for it to retrieve the certificate or I have to edit the .htaccess with something else? I tryed to whitelist the .well-known folder but that haven't worked.
# Mod_security can interfere with uploading of content such as attachments. If you
# cannot attach files, remove the "#" from the lines below.
#
# SecFilterEngine Off
# SecFilterScanPOST Off
#
ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 500 default
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://domain.tld/forum/$1 [R,L]
# If you are having problems with the rewrite rules, remove the "#" from the
# line that begins "RewriteBase" below. You will also have to change the path
# of the rewrite to reflect the path to your XenForo installation.
#RewriteBase /xenforo
# This line may be needed to enable WebDAV editing with PHP as a CGI.
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
I have to wait for it to retrieve the certificate or I have to edit the .htaccess with something else? I tryed to whitelist the .well-known folder but that haven't worked.
-
Have you seen this post: How To Implement SSL To Secure HTTP Traffic (HTTPS) 0
Please sign in to leave a comment.
Comments
1 comment