How to enable already installed ssl

Oweka Bob Patrick Posted in Technical Support 7 years ago

Thanks once again, Members of the Group, am having problem redirecting http://example.com to https://www.example.com and yet i have installed Let-script SSL in Cpanel before uploading my Ossn files. I tried to add this one in .htaccess but i couldn't find the folder, to add this code and even if i tried to create a folder with the name htaccess it said the file already exist. RewriteEngine On

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

Could there be any easy alternative may be come up with a plugin to do it in just a click? thanks i will appreciate your support.

Replies
Indonesian Arsalan Shah Replied 10 months ago

Digital Ocean image is old 6.x now its 8.1 also you need to configure SSL yourself on digital ocean.

us Red Ligne Replied 11 months ago

Hello all,

I'm helping to get a site up and feeling this software out, the software was found on Digital Ocean,it's up but no SSL, the link in this thread seems to be for a much different configuration than what Digital Ocean offered.

Is there a different help source available?

Also, how are new threads started here?

Thanks in advance

R.

Indonesian Arsalan Shah Replied 7 years ago

it was easier if you just looked in the documentation https://www.opensource-socialnetwork.org/wiki/view/2671/how-to-enable-ssl-on-ossn

gb Rishi B Replied 7 years ago

cool, i think that should be the only thing you have to change, you shouldn't need to mess with any of the apache rules in the .htaccess file.

Uigur Oweka Bob Patrick Replied 7 years ago

Thanks i finally found it in the configurations files, i never thought it exist there, thanks a lot working well.

gb Rishi B Replied 7 years ago

have you updated ossn.config.site.php to use a url with https?