Jump to content

Change board to SSL / https://


SeaTea

Recommended Posts

Posted

I want to change my board to https.  I have tested the setup, but I see some strange things happening when using https://.  It seems that some links to subforums do not work anymore.  Do I need to change anything in the forum-settings ?  Or do I have to clear cache or change friendly URL setting  ?  Is it possible to use http and https at the same time or do I need to choose either http or https setup ?  

Posted

A couple of things you will need to do. Starting with .htaccess. Make sure .htaccess is pointing to your https address and not the http address. If not then it needs to point to it.
Example to start:

RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https:#www.testsite.com/$1  [R=301,L]

 

Posted

Be aware that if you have existing images posted prior to the date that you switched to HTTPS then you will have mixed content security warnings on those pages.

I've been quite vocal about this as a huge gap.

You also need to change your URL before enabling your image proxy, or you'll have problems with broken images,

Posted
2 minutes ago, Evil Edwina said:

Be aware that if you have existing images posted prior to the date that you switched to HTTPS then you will have mixed content security warnings on those pages.

I've been quite vocal about this as a huge gap.

You also need to change your URL before enabling your image proxy, or you'll have problems with broken images,

Exactly.... or error messages for unsecure content and it won't tell you what.... Usually it comes to images where I had to hunt each down and make my changes via the database.
A great way to spend a weekend....

Posted

I know how to use .htaccess (or the way I have to do this in my nginx server), but I was wondering if I could use both https and http at the same time.  Will this interfere with internal cache or other things ?  So people who connect to the http version will get the same as when they connect to the https version ?  

I have my test-forum running on http now and after I changed this to https I got all kinds of errors, so I had to swich-back to http-only as I could not login anymore.  So I wondered if I needed to change something in settings, I could only find a setting for login via https or http (did not change my problem), but nothing for normal board settings or friendly-URL's.  Will they auto-follow when the forum is called via https url ? 

Regarding the 'mixed content' warnings:  are they not solved when using the new https-image-proxy ?  Or will this only work on new posts ?

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...