Jump to content
thirty bees forum

Question

Posted

Hi,

How does the Use SSL option actually work?

I had it disabled and the backoffice links I could click on were still prefixed by https://

Which "internal" links does that actually apply to? I noticed that if I force https redirections with `RedirectMatch 301 ^(?!/\.well-known/acme-challenge/).* https://example.com$0` while the option is off I get in a infinite loop situation.

8 answers to this question

Recommended Posts

  • 0
Posted
6 minutes ago, musicmaster said:

What you saw is most likely a result of the auto-complete function of your browser. 

I don't think browsers do that. I hover with the mouse pointer over some links in the back office side panel and the status bar shows these links beginning with https://

I looked at the thirty bees code and I unfortunately don't understand that well. It seems to me that the option toggles the use of https:// but I don't understand to what links it applies to.

  • 0
Posted
6 hours ago, nickz said:

Have a look into your .htaccess file. 

 

.htaccess only has the standard thirty bees configuration. This is a test virtual host and there is no custom directive in any .htaccess file

  • 0
Posted

The back office uses relative links. If you access it via https all links will point relatively to https. If you access it via http all links will relatively point to http. A few versions ago chrome made it harder to access things by http. and hides the www sub domain and also the protocol by default. 

  • 0
Posted

I appreciate your replies but my question is more specific to how the `Use SSL` option works.

I am not trying to debug anything, I just want to understand what that option actually does. As I said, I looked into the code of thirty bees and I noticed that it makes URI begin with https:// however I can't understand which URI it applies to.

  • 0
Posted
22 hours ago, CasualRascal said:

I appreciate your replies but my question is more specific to how the `Use SSL` option works.

I am not trying to debug anything, I just want to understand what that option actually does. As I said, I looked into the code of thirty bees and I noticed that it makes URI begin with https:// however I can't understand which URI it applies to.

It applies to all absolute url generated by thirty bees core. Links to controllers, modules, images, css and javascript assets,... what have you

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...