2008-06-27, 05:26 AM
All,
I have a board that I've run under both https and http. Both have merits, and some users prefer the encryption, while others dislike it. (I won't go into specifics as to why.) What I guess I'm looking for is a method of hosting the board on both.
Essentially, I'm thinking I'd have 2 separate ports open, and depending on which one the user uses, either the link is encrypted or not.
Now, the only problem I know of with doing this is setting the board's URL in the AdminCP settings. Since only 1 URL can be set, regardless of how I connected (https or http), any click would push me back into the one set in the AdminCP.
Any thoughts as to how I could get around this, and have 2 URLs pointing at the same mybb? I'm sure this question has come up before, as having multiple URLs isn't all that odd. That said, I may be the first to ask about whether or not the URL in question can be maintained throughout the session.
For starters, as a novice PHP programmer, here was my thought: Could I alter my board to use PHP to detect the URL, and - to bump back up security - compare it to a list of valid URLs set in AdminCP? (Perhaps I could add a couple of them through the AdminCP using CSV?)
Thoughts?
Thanks!
- Ichi
I have a board that I've run under both https and http. Both have merits, and some users prefer the encryption, while others dislike it. (I won't go into specifics as to why.) What I guess I'm looking for is a method of hosting the board on both.

Now, the only problem I know of with doing this is setting the board's URL in the AdminCP settings. Since only 1 URL can be set, regardless of how I connected (https or http), any click would push me back into the one set in the AdminCP.
Any thoughts as to how I could get around this, and have 2 URLs pointing at the same mybb? I'm sure this question has come up before, as having multiple URLs isn't all that odd. That said, I may be the first to ask about whether or not the URL in question can be maintained throughout the session.
For starters, as a novice PHP programmer, here was my thought: Could I alter my board to use PHP to detect the URL, and - to bump back up security - compare it to a list of valid URLs set in AdminCP? (Perhaps I could add a couple of them through the AdminCP using CSV?)
Thoughts?
Thanks!
- Ichi