News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Possible to have user selectable HTTPS?

Started by Allstar123456, January 11, 2021, 02:27:08 PM

Previous topic - Next topic

Allstar123456

I appreciate this might sound a bit weird, basically I'm wondering if it's even technically possible to have a user select-able switch in their profile settings that can make the site redirect all links to https:// ?

The reason is I brought back an old forum of mine from 2015 which is about a Mobile OS (Symbian) which is discontinued and struggles with HTTPS sites (anything above TLS1.0 won't open), but I of course would like the users who aren't browsing from that platform to be in HTTPS while Symbian users in HTTP and still able to browse the forum.

Thanks



shadav

I could be wrong but....if you don't use a redirect in your htaccess http to https then users should be able to view either one.... and if in your settings you don't set the forum address to https then both should be useable ?

Aleksi "Lex" Kilpinen

It could be a bit tricky, you would really want https -users to get _everything_ through https, but you couldn't really achieve this without forcing the http folks to see https stuff as well.
In short - It isn't really a good idea.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

landyvlad

Let's go back a step.  Why would you want this as a function? Where's the downside to https?
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

Sir Osis of Liver

Put them in different domains, cpanel has options per domain to force https or not, you should be able to run one in https and the older one in http.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

GigaWatt

Quote from: landyvlad on January 11, 2021, 05:13:31 PM
Let's go back a step.  Why would you want this as a function? Where's the downside to https?

The OP wants Symbian users to be able to browse the forum correctly... and Symbian has no support for https and no implementation is planned since it's EOL.

Quote from: Sir Osis of Liver on January 11, 2021, 08:04:17 PM
Put them in different domains, cpanel has options per domain to force https or not, you should be able to run one in https and the older one in http.

This is actually the only viable scenario that I can think of as well. No good for search engines, but it'll work.
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Allstar123456

Quote from: shadav on January 11, 2021, 02:31:34 PM
I could be wrong but....if you don't use a redirect in your htaccess http to https then users should be able to view either one.... and if in your settings you don't set the forum address to https then both should be useable ?


My only worry there is let's say someone shares a https link on social media, a Symbian user tries to open it they will just get a blank screen (there's no good error messages on Symbian browsers it's just a blank screen); unfortunately not many of them understand they need to change the url to http.



Quote from: Sir Osis of Liver on January 11, 2021, 08:04:17 PM
Put them in different domains, cpanel has options per domain to force https or not, you should be able to run one in https and the older one in http.


I think this is the only option, bugger.





Thanks for your help everyone, I thought it would be something that's not possible.

GigaWatt

Quote from: Allstar123456 on January 12, 2021, 06:45:56 AM
My only worry there is let's say someone shares a https link on social media, a Symbian user tries to open it they will just get a blank screen (there's no good error messages on Symbian browsers it's just a blank screen); unfortunately not many of them understand they need to change the url to http.

Just use plain old http. My forum is still on http with no plans on migrating in the near future, still up and running ;).

Though with 2 or 3 posts a week ::), but still... if nothing else, bots seem to like it ;D.
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Advertisement: