Hi everyone,
I'm nearly completed with my configuration of Gallery. Took me awhile to get
it going but it was all worth the effort.
It's pretty cool. Very simple and easy to use.
I want to start Gallery from an html password script I've created and was
wondering if someone might know how to do this? That is what php file
should I call from my script?
I want to temporarily keep users out of my website until I'm completely done.
Sorry for my ingorance - i'm a newbie in programming.
Thanks for your advise or suggestions.
jav
:smile:
Posts: 8194
You could just not display any albums unless people were logged in. To do this, set the view rights on every album to LOGGEDIN.
If you want to start Gallery from your own script, this requires some code modification, unless you use Apache's .htaccess authentication approach.
Something like this (use the htpasswd script to create the password database)
(add this to your .htaccess file).
AuthType basic
AuthName "My Gallery [change this]"
AuthUserFile /path/to/htpasswd/file
require valid-user
Posts: 48
Hi,
Thanks Andrew... :smile:
The LOGGEDIN is exactly what I needed.
Thanks for your help!
jav