Page 1 of 1

Features broken when running over SSL

Posted: Mon Jun 07, 2004 1:01 am
by techiem2
The configuration will not accept https://..... as the blog address.
The main functions still work fine, but some things (the redirect after comment posting, anything that directly uses the blog URL instead of the URL used to access it) don't work properly.

See my site at
https://techiem2.no-ip.com
and try the comment form and look at the blog title link to see the bugs in action. :)

TechieM2

Posted: Mon Jun 07, 2004 1:42 am
by tomsommer
Did you enter the https URL in the configuration?

Posted: Mon Jun 07, 2004 2:22 am
by techiem2
yup.
Several times.
It resets it http:// when you save.

Posted: Mon Jun 07, 2004 11:49 am
by garvinhicking
techiem2 wrote:yup.
Several times.
It resets it http:// when you save.
Which version are you using? My serendipity does not reset to http:// when I save. I guess you are using Mozilla and maythe the Forms-extension? This does happen to not updated your input fields correctly sometimes.

Please check your database and make sure that in the serendipity_config table the field 'baseURL' is set to 'https://...' - as soon as that is right and you enter the blog via https:// everything should be fine.

I also committed some minor https fixes to CVS just now, but they only affect parts like displaying urls from comments and from referrers/exits.

Posted: Mon Jun 07, 2004 4:23 pm
by techiem2
I'm using v.0.6-pl2.
I was hoping the update would fix that. It did fix the smilies not working over https. :)
I'm using Firefox without the forms extension, and I always tell the built in form feature to NOT save any information. I prefer filling things out myself.

hmm. I just checked the database and the baseURL is set correctly there.

So, what in the world could be causing it to use http:// instead in some places?
ARGH!

Could it possibly be something with my Apache2 config?
:)

Thanks.

Posted: Mon Jun 07, 2004 5:49 pm
by garvinhicking
Hi!

If the DB config is set right, there shouldn't be http:// references, that's true.

Could you point me to your blog, if available, and tell me the places where https:// does NOT appear? I will try to help...

Regards,
Garvin.

Posted: Mon Jun 07, 2004 6:12 pm
by techiem2
https://techiem2.no-ip.com

The What's New and Latest TechieM2net News links are wrong.
Also, if you post a comment, the confirmation page address is wrong.
Those are the one's I've noticed.

(hmm. I also noticed that deleting a comment from the list sets the comment counter to 0. Add that as another bug. :) )

Posted: Mon Jun 07, 2004 6:59 pm
by garvinhicking
The home/subhome link is part of your template/.../layout.php - the value baseURL is used there, so that should be okay. Check your template, maybe?

And the comment counter isn't reset at least on my blog...are you using mysql or postgres?

About the comment url: Check if the 'serendipityHTTPPath' value inside your database is set to 'https://...'.

There really is no place left where a http:// comes outside from the database...

Regards,
Garvin.

Posted: Tue Jun 08, 2004 3:20 am
by techiem2
baseURL is https://techiem2.no-ip.com
serendipityHTTPpath is / (I tried changing it to https://techiem2.no-ip.com and it made the links http://techiem2.no-ip.comhttps://techiem2.no-ip.com/)
hehe


I haven't done anything to the templates.
I'm using mysql.

Thanks.
:)
Maybe my server is just wierd.
hehe