Features broken when running over SSL

Found a bug? Tell us!!
Post Reply
techiem2
Regular
Posts: 35
Joined: Sun Feb 15, 2004 6:59 am
Contact:

Features broken when running over SSL

Post 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
tomsommer
Core Developer
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark
Contact:

Post by tomsommer »

Did you enter the https URL in the configuration?
Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk
techiem2
Regular
Posts: 35
Joined: Sun Feb 15, 2004 6:59 am
Contact:

Post by techiem2 »

yup.
Several times.
It resets it http:// when you save.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
techiem2
Regular
Posts: 35
Joined: Sun Feb 15, 2004 6:59 am
Contact:

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
techiem2
Regular
Posts: 35
Joined: Sun Feb 15, 2004 6:59 am
Contact:

Post 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. :) )
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
techiem2
Regular
Posts: 35
Joined: Sun Feb 15, 2004 6:59 am
Contact:

Post 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
Post Reply