Gallery with SSL

jhamlin96

Joined: 2009-11-01
Posts: 2
Posted: Sun, 2009-11-01 13:36

Hi all,

I am new to gallery. I love it; it is the best open source photo gallery out there!

But I do have a question. I have my own server here and I run a few websites using XAMPP on just the standard Port 80. I do believe I have Apache configured for SSL on port 443. Is there something I can run or something to get SSL on the whole gallery? I am going to be running a photo gallery that users can purchase photos off of my site. Thanks in advance.

 
alecmyers

Joined: 2006-08-01
Posts: 4338
Posted: Sun, 2009-11-01 16:39

If you have configured Apache already, then there's nothing special you need to do to get gallery to work via ssl on port 443. You may need to check/clear the baseUri parameter in the config.php, but that's not an ssl-specific thing.

 
jhamlin96

Joined: 2009-11-01
Posts: 2
Posted: Mon, 2009-11-02 19:27

So what you are saying is that all I need to do is install a certificate, then access my gallery installation via https://? Or do I need to do something else?

 
alecmyers

Joined: 2006-08-01
Posts: 4338
Posted: Mon, 2009-11-02 19:35

Yep, that's exactly what I'm saying.

Gallery doesn't know, check, or care what protocol Apache uses to serve the pages (unless the http:// or https:// part of the url is explicitly set in the baseUri paramater in the config.php).

 
alecmyers

Joined: 2006-08-01
Posts: 4338
Posted: Thu, 2009-11-05 11:04

Actually I lied. I believe there is one case where G2 does need to know if you're on a secure https:// connection, which is whether to set the 'secure' flag on your browser cookie. I believe it does this already. Other than that, Gallery is transparent to the transport protocol. I mention it for completeness, I don't think it's relevant to your query.