Jump to content

The details on transitioning to HTTPS.


Recommended Posts

So, I'm considering switching over to a secure server very soon.  My questions about this are

  1. EXACTLY what files need manual changing or configuration to properly implement HTTPS.   System files obviously.  Not talking 3rd party stuff. 
  2. What are the steps in changing any files mentioned in point 1. 
  3. What actions are taken within the ACP?
  4. Ive read certain posts where all forum POSTS are not accessible after transition.  What's the solution for this. 
  5. Are there any known 3rd party apps that don't play nice with a secure server. 

Sorry if if this has been answered elsewhere but I haven't been able to find a good solid detailed guide on this. I'm running 4.1.11

Link to comment
Share on other sites

50 minutes ago, pilotguy said:

So, I'm considering switching over to a secure server very soon.  My questions about this are

  1. EXACTLY what files need manual changing or configuration to properly implement HTTPS.   System files obviously.  Not talking 3rd party stuff. 
  2. What are the steps in changing any files mentioned in point 1. 

Activate SSL on your server.
Change the base URL in global_conf.php to https
Set URL forwarding from http to https for every URL via htaccess

50 minutes ago, pilotguy said:
  1. What actions are taken within the ACP?

Clear the cache. 

Optional but recommended: Turn on the image proxy so embedded external images are served via SSL from your site. 

50 minutes ago, pilotguy said:
  1. Ive read certain posts where all forum POSTS are not accessible after transition.  What's the solution for this. 
Link to comment
Share on other sites

4 minutes ago, opentype said:

manually editing and saving each post so the proxy can kick in

Manually editing/saving EACH post?  Oh my... I have A LOT of posts.  Does that 3rd party app linked also do that.  Seems its related to images.

Link to comment
Share on other sites

Ok - I'm having an issue with the redirect and need some clarification.

I have edited the .htaccess file in my root directory.  Not the directory in which IPS resides (public_html) but the directory before that. 

RewriteCond %{HTTP_HOST} www.example.net$
RewriteRule ^/?$ "https://www.example.net" [R=301,L]

However, if I enter in HTTP://www.example.net I get no redirect.  It simply goes to the HTTP site with no redirect to the secure HTTPS version.  To get to that I need to manually enter HTTPS.

If I place the above code in my site directories htaccess file I get a 500 internal server error.

What am I doing wrong here?

Link to comment
Share on other sites

8 minutes ago, pilotguy said:

I found the problem and it is fixed now.

Glad you got it sorted, for your info to re-direct all http to https this is what i use in .htaccess

# all http to https

RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

 

Link to comment
Share on other sites

  • 2 weeks later...

To clarify there is no need to setup any https forwarding at all, with IPS4 it will pick this up from your conf_global.php file, so all that is needed are the steps below.

1. setup ssl on your site/host

2. edit your conf_global.php file, change http to https

3. Log into the admincp and run the first step of the support tool to clear the cache.

 

 

 

Link to comment
Share on other sites

1 hour ago, sobrenome said:

I have removed the forwarding. There was no difference on TTBF. Is there any other thing I could check?

I personally wouldn't get hung up on testing data, it will vary by testing site, I would stick with real world loading times, and response times of your site.  It's loading quickly for me in testing, are you seeing any issues? (ignoring the testing site data) 

Link to comment
Share on other sites

Did you run the support tool on your site after changing the conf file? it's still loading a profile image from http.  I was testing the site on this topic in the first post too, sorry about that, your site is pretty slow, but it's a long ways from me too.  Your forum home page for example has been sitting for 20 seconds trying to load, so there are other issues at play here it seems. 

 

 

Link to comment
Share on other sites

  • 2 weeks later...
On 9. mai 2016 at 6:50 PM, Cloud 9 said:

Glad you got it sorted, for your info to re-direct all http to https this is what i use in .htaccess


# all http to https

RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

 

I used that code but now if someone clicks on link to my site it redirects to HTTPS but to /index.php not URI it should. I believe IPS mod_rewrite has to be changed somehow?

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

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