CB Login HTTPS

17 years 11 months ago #10055 by Maarten.Provo
CB Login HTTPS was created by Maarten.Provo
I tried the 'force https' option on the cbloginrc2-module. But when I login I get the message "the page could not be displayed"

Now the information with the option says this:

You may need to append to configuration.php:
[code:1]if ($_SERVER[\'SERVER_PORT\'] == \'443\') $mosConfig_live_site = str_replace(\'http://\',\'https://\',$mosConfig_live_site);', CAPTION, 'https_post', BELOW, RIGHT);[/code:1]

After adding that line to my \Mambo-root\configuration.php I get an error saying there's an unexpected ',' in the line I added and it's expecting a ']' .

I'm running Mambo 4.5.3

Please Log in to join the conversation.

17 years 7 months ago #17872 by verbalkent
Replied by verbalkent on topic Re:CB Login HTTPS
Same issue here, would really like to use https after reading the unencrypted login info posted here

Please Log in to join the conversation.

17 years 7 months ago #18061 by beat
Replied by beat on topic Re:CB Login HTTPS
Maarten.Provo wrote:

I tried the 'force https' option on the cbloginrc2-module. But when I login I get the message "the page could not be displayed"

Now the information with the option says this:

You may need to append to configuration.php:
[code:1]if ($_SERVER[\'SERVER_PORT\'] == \'443\') $mosConfig_live_site = str_replace(\'http://\',\'https://\',$mosConfig_live_site);', CAPTION, 'https_post', BELOW, RIGHT);[/code:1]

After adding that line to my \Mambo-root\configuration.php I get an error saying there's an unexpected ',' in the line I added and it's expecting a ']' .

I'm running Mambo 4.5.3


code is (don't know why) displayed wrong. Should be:

[code:1]if ($_SERVER == '443') $mosConfig_live_site = str_replace('http://','https://',$mosConfig_live_site);[/code:1]

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.202 seconds

Facebook Twitter LinkedIn