XF 1.5 SSL Headaches

AwesomeLucky

Member
Licensed customer
Trying to get my SSL to work is proving to be an adventure. The certificate is already installed on the server and everything is good. For kicks, I enabled HTTPS in the config.php file and changed the URLs in the ACP to reflect the new protocol instead of HTTP. It's when I tried to add the .htaccess redirect that everything falls apart. When I add the following redirect, my page wont load and I get an error saying it's being redirected in a way that the page will never load.

Code:
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

I have tried to start a new .htaccess and add the following code, but still no no avail. I am running an Apache server if that helps.

I don't know what I am doing wrong...
 
I got it working.

I don't think I changed anything in config.php

htaccess=

Code:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

That and turn on proxy images and links

(BTW nice username)
 
Last edited:
Back
Top Bottom