Access control via .htaccess

Wildwest
Wildwest's picture

Joined: 2003-01-04
Posts: 5
Posted: Sat, 2003-01-04 20:48

Hi!

I have set up a gallery without any problems.
But I want to give users access via .htaccess, because these users are already logged in via htaccess and should not log in twice. When I protectd the folder where the pictures are in, you are asked for the password already on the first page of the gallery where the preview picture( the highlight) is shown. This is not nice to all the other users, because this nice box appears.

Any ideas how to solve this??

Anthing not clear? Or does nobody have an answer?

Thank you!

 
Wildwest
Wildwest's picture

Joined: 2003-01-04
Posts: 5
Posted: Tue, 2003-01-07 19:27

Anybody out there, who can help me?

 
kpfeiffer

Joined: 2003-01-02
Posts: 33
Posted: Tue, 2003-01-07 19:47
Quote:
...But I want to give users access via .htaccess, because these users are already logged in via htaccess and should not log in twice. When I protectd the folder where the pictures are in, you are asked for the password already on the first page of the gallery where the preview picture( the highlight) is shown. This is not nice to all the other users, because this nice box appears.

You've set your albums so everybody can view them (in Gallery)? And are only using Apache's .htaccess files to control access? Then isn't it just a matter of how you configure Apache? If Gallery is asking you to login, then the permissions on your album are wrong; if Apache asks you to authenticate in the wrong location then you need to modify httpd.conf (or so it seems to me).

Follow up - now I think I understand! Can't you just duplicate the image you use for the highlight so that the highlight image does not require Apache authentication.

-Kevin

 
Wildwest
Wildwest's picture

Joined: 2003-01-04
Posts: 5
Posted: Fri, 2003-01-10 12:53

Hi!

Good advice! But how do I change the folder where the highlighted picture is in?
Or can have no highlighted picture in one album?

Thanks in advance