Hiding an album

AgnoStick

Joined: 2006-08-08
Posts: 2
Posted: Mon, 2009-10-26 20:14

When I go to edit permission of an album (Gallery 3 Beta 3) it says:

--

Oh no! Your server needs a configuration change in order for you to hide photos! Ask your server administrator to enable mod_rewrite and set AllowOverride FileInfo Options to fix this.

--

I know mod_rewrite is enabled because from http://no-www.org/faq.php I use this:
Q: How can I become Class B?
A: It's a fairly simple process, actually. Create a file called .htaccess and paste the following lines, changing the domain name to match that of your site:

Apache Webserver:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

And it works fine.

When I add "AllowOverride FileInfo Options" to the .htaccess of my html root, going to the gallery I get Internal Server Error. Maybe I don't understand how to "set AllowOverride FileInfo Options".

Can anyone point me in the right direction?

Gallery 2 you could set a password for an album. I would make albums hidden and also require a password (no username). I don't see that option in Gallery 3 to password protect without an actual user being in play. And of course I have this problem with hiding albums.

Thanks!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-10-26 20:19

I'm pretty sure you need to change those settings in the server config and they cannot be changed in .htaccess

As for hidden and password protected albums, no, there are no modules for those yet in G3.

Right now you can only edit permissions of an album. Also note, you cannot hide a parent and have a sub-album visible. But you can have a parent visible and a sub-album not visible.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Calanquemar

Joined: 2009-10-14
Posts: 9
Posted: Wed, 2009-10-28 10:35
nivekiam wrote:

Right now you can only edit permissions of an album. Also note, you cannot hide a parent and have a sub-album visible. But you can have a parent visible and a sub-album not visible.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

That didn't work for me. I tried every combo but I couldn't get a "private" album, not even a sub-album one. If I restrict the view to registered users, even me, the administrator, can't see the thumbnails anymore.

So is there any option to install "family" albums, not intended to be seen by everyone ?
Thanks for your help.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-10-28 12:45
Quote:
the administrator, can't see the thumbnails anymore.

Upgrade to the latest experimental code:
http://codex.gallery2.org/Gallery3:Upgrading

If that doesn't work, PM (click Write to author) me login details and I'll take a look.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here