Jump to content
thirty bees forum
  • 0

Use SSL info


CasualRascal

Question

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.

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0
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.

Link to comment
Share on other sites

  • 0

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. 

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0
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

Link to comment
Share on other sites

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...