SSL not working on my newly setup forum/won't auto redirect

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
tampail
Registered User
Posts: 8
Joined: Wed Dec 06, 2017 7:44 pm

Re: SSL not working on my newly setup forum/won't auto redirect

Post by tampail »

Code: Select all

SetEnv PHP_VER 5_3
SetEnv REGISTER_GLOBALS 0

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
Image
tampail
Registered User
Posts: 8
Joined: Wed Dec 06, 2017 7:44 pm

Re: SSL not working on my newly setup forum/won't auto redirect

Post by tampail »

The .htaccess is not located inside the phpBB folder, this is outside of it.

Code: Select all

SetEnv PHP_VER 5_3
SetEnv REGISTER_GLOBALS 0

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
Image
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: SSL not working on my newly setup forum/won't auto redirect

Post by 3Di »

Try, remove those edits from your .htaccess.

ADD those edits to the .htaccess which is inside the forum (main) folder.

Disable "force server URL settings"
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
tampail
Registered User
Posts: 8
Joined: Wed Dec 06, 2017 7:44 pm

Re: SSL not working on my newly setup forum/won't auto redirect

Post by tampail »

Problem is now solved, thankyou all for the help.
Post Reply

Return to “[3.2.x] Support Forum”