QUICK NEWS

{NEW} - A new css video is up.

{OLD} - New video courtesy of Skhilled, Thanks for posting it up.

Video of the moment:


Internal Links

SMF Sites

Quick Info

htaccess for SSL

Started by LandyVlad, May 09, 2019, 11:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LandyVlad

I'm using SMF 2.1 RC2 currently. Fresh install from full package (not upgrade)

I've selected force SSL in the forum settings.

Yet I'm still getting a not secure warning, just as you can probably see here:
http://commandocomics.org

There was no htaccess file in existence so I created one as follows:

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

What have I missed here? Advice please.
Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

lurkalot

Have you got a SSL Cert configured for that domain?

Bigguy

I got a big security warning going to your site. Had to add an exception to get there. Have you tried repair_settings to see if all urls are good. :ques
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

Bigguy

"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

Oldiesmann

FYI, the newest version of cPanel (version 80, which is apparently going to be rolling out to those on the "CURRENT" tier soon) includes a feature to automatically redirect from http to https...

https://documentation.cpanel.net/display/80Docs/80+Release+Notes#id-80ReleaseNotes-HTTPSredirectionofwebsites
QuoteIn cPanel & WHM version 80, we added the Force HTTPS Redirect toggle to cPanel's Domains interface (cPanel >> Home >> Domains >> Domains). This feature automatically redirects any visitors who attempt to access the insecure version of a website (HTTP) to the secure version (HTTPS).

You can only enable redirection on main domains that also possess a valid SSL certificate.

This option already exists in Plesk.
Christian Metal Fans - https://www.christianmetal.fans

LandyVlad

I asked my host to have a look as I didn't get that problem with my other 2.1 RC2 forum.
Ta.
Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.