2025-08-02, 04:58 PM
Hi Team,
This is my first foray into myBB and I really want this to be a great experience for my users and secure as possible. I'm following the series of items found at myBB Security and I have a question surrounding the .httaccess file and security settings. Under the Apache servers settings, I see that it is recommended these following setting:
Mine are set as:
It's confusing that the recommendation is HTTPS !=on or is that "!" commenting the "on" out so that it is really off? See my dilemma?
As well, what exactly does [L,R=301] doing?
My first post so I'm looking forward to the help. Thanks folks!
The Cap'n
This is my first foray into myBB and I really want this to be a great experience for my users and secure as possible. I'm following the series of items found at myBB Security and I have a question surrounding the .httaccess file and security settings. Under the Apache servers settings, I see that it is recommended these following setting:
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]Mine are set as:
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L]It's confusing that the recommendation is HTTPS !=on or is that "!" commenting the "on" out so that it is really off? See my dilemma?

As well, what exactly does [L,R=301] doing?
My first post so I'm looking forward to the help. Thanks folks!
The Cap'n