SSL / HTTPS Help Neeeded - I've tried everything I found

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

SSL / HTTPS Help Neeeded - I've tried everything I found

Post by JohnnyB »

Hi,

I have some forms that need to be https://.  SSL is installed and working correctly and the forms point to the correct domain for the SSL.  It appears as though the default config.php file has support for SSL. But, the base url and links to style sheets remain http:// in the source although the address URL requested is https://

I tried the suggestions offered here: http://wiki.cmsmadesimple.org/index.php/FAQ/HTTPS and it still does not switch to https://. The port is default 443.

And using the {https} UDT in the template as suggested causes an internal server error.

I'm using v 1.2.3 on a LAMP with PHP 4.4.7 served as a CGI / Fast CGI.

thanks in advance for any help!
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: SSL / HTTPS Help Neeeded - I've tried everything I found

Post by JohnnyB »

Does anyone have any forum threads or other docs that I might have missed?
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
SimonSchaufi

Re: SSL / HTTPS Help Neeeded - I've tried everything I found

Post by SimonSchaufi »

i could help you. thats just a very small fix in the source. just send me a pm.
JeremyBASS

Re: SSL / HTTPS Help Neeeded - I've tried everything I found

Post by JeremyBASS »

Hey there... what is the fix? every page i get gets the secure page error? thanks
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: SSL / HTTPS Help Neeeded - I've tried everything I found

Post by JohnnyB »

I had to make the whole site https:// by setting that as the URL in config.php. Not a great solution... IT is the only time I've been disappointed with CMSMS - If I were allowed to be disapointed with such a great Open Source product! LOL.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
JeremyBASS

Re: SSL / HTTPS Help Neeeded - I've tried everything I found

Post by JeremyBASS »

well... i figured it out look at...http://forum.cmsmadesimple.org/index.php/topic,20352.0.html
you can put that at the top of you login.php on the admin side, and use it on the front via a few ways... hope that helps, this is how we get undisappointed with CMSMS... by sharing...  ;D
heatherfeuer

Re: SSL / HTTPS Help Neeeded - I've tried everything I found *Solved*

Post by heatherfeuer »

I was able to make https work fine.  Follow the instructions as shown in the FAQ, BUT be sure to take out the :8087 for port.  Leave the $port variable out or set it to $port=' '.  For instance, in my config.php file I set my urls to $protocol . 'www.mysite.com'; and left the port variable out.

I get no errors and a secure form.
Post Reply

Return to “CMSMS Core”