Page 1 of 1

Site changes from http to https

Posted: Sat Sep 03, 2005 9:31 am
by anjanesh
I have a PHP site on http working.

If SSL is installed and everything on the site is using https then would I need to make any change to my existing code to make it work (except for the links like http://something etc which I'll change to https://something) ?

Thanks.

Posted: Sat Sep 03, 2005 9:34 am
by feyd
wouldn't that heavily depend on your code? ;)

The only thing I can really think of is you have to make sure your cookies are set correctly for it.

Posted: Sat Sep 03, 2005 9:41 am
by anjanesh
I thought the only difference b/w http and https is that using https the data is encrypted and sent and nothing else, while in http data is not encrypted.

Is there any way to have https on localhost so that I can test it ?

Posted: Sun Sep 04, 2005 12:38 pm
by wwwapu
If you have Apache, try reading http://localhost/manual/ssl/

Posted: Sun Sep 04, 2005 1:31 pm
by Ambush Commander
It should be fairly transparent. The main thing is enforcing an only SSL site.