2 Q's: Securing Gallery w/ SSL & manually editing photos

bimonscificon

Joined: 2004-07-16
Posts: 4
Posted: Sun, 2005-08-28 09:16

Hi All,

I have two questions:

1. Is there a relatively simple way to modify Gallery such that, a user logs in using SSL and remains logged in using SSL throughout their session; and if that's not possible, that they at least log in using SSL? (I already have SSL running properly on Apache).

2. I want to erase all comments that match a particular regular expression (regex) by manually editing photos.dat. Or at least I thought that editing photos.dat would do so, however I tried doing so to both photos.dat and photos.dat.bak with no luck. So is there a simpler way to do this, and if not, is there a way I can edit photos.dat so that it will change the comment? (I'm guessing that photos.dat.lock plays a role, but I don't know how).

Sorry, if these questions are posted in the wrong forum--I wasn't sure where they belonged. Thanks!

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Sun, 2005-08-28 10:31

Just make your gallery and albums url to "https://domain.com" instead of "http://domain.com" and everything will be SSL.

 
bimonscificon

Joined: 2004-07-16
Posts: 4
Posted: Sun, 2005-08-28 10:34

Sorry, I should have added that I don't want guests to have to use SSL. But thanks for the quick reply.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2005-08-28 15:27

2. regex can be used in the comment spam finder.