The access permisions are/were as you suggested. The directory was visible and
accessible before I added the .htaccess file to it. Now it is visible and
accessible only if I give the password. I just want to be able to see the
directories from .. (one flight up), just to know of it's existance so I can
click on it and be asked for the user/passwd instead of having to remember that
it is also there and have to type the directory's name in manually.

I think that this is not a rights problem and certainly not a .htaccess problem
per say but an apache problem with both mod_auth and mod_auth_digest (I've tried
both). I am just looking for a workaround at this point.

Has anyone out there had this work for them? ie. A passworded directory that
shows up in Auto-Indexed; Apache served directory listings (before loging into
the directory)?

-- 
Chaim Keren Tzion       | [EMAIL PROTECTED]
System Administrator    " The Hebrew University of Jerusalem
Dept. of Neurobiology   " Tel: 972-2-658-5083
Inst. of Life Science   " Cel: 972-2-54-652983
Jerusalem 91904, Israel " Fax: 972-2-658-6296
...................... : ............................


Quoting Zvi Har'El <[EMAIL PROTECTED]>:

> Shalom Chaim,
> 
> Your problem is simply setting unix access permissions (I assum you run a
> unix
> server, linux included, otherwise you wouldn't have written to this list
> ;-)).
> What you need is just to make the directory searchable, not readable, by the
> apache user (normally nobody or apache in redhat), so just run
> 
>     chmod o=x directory_name
> 
> If you really need a .htaccess file, you have to make it universally
> readbable, i.e.,
> 
>     chmod o+r directory_name/.htaccess
> 
> BTW, read the apache error file, error_log: It should tell you about the
> permissions problem.
> 
> Kol tuv
> 
> Zvi.
> 
> On Mon, 19 Jan 2004 23:16:05 +0200, Chaim Keren Tzion wrote about "Apache
> .htaccess Hides Folders":
> > Using Apache2 with: Options +Indexes
> > 
> > When I limit access to a subdirectory by putting a .htaccess file inside of
> it
> > the subdirectory disappears from the parent's directory tree. If I manualy
> type
> > in the name I get the expected authentication prompt. Is there a way to
> allow all
> > users to see the subdirectory in the tree but limit access to the
> subdirectory's
> > contents?
> > 
> > -- 
> > Chaim Keren Tzion       | [EMAIL PROTECTED]
> > System Administrator    " The Hebrew University of Jerusalem
> > Dept. of Neurobiology   " Tel: 972-2-658-5083
> > Inst. of Life Science   " Cel: 972-2-54-652983
> > Jerusalem 91904, Israel " Fax: 972-2-658-6296
> > ...................... : ............................
> > 
> > 
> > 
> > 
> > 
> > -------------------------------------------------
> > This mail sent through IMP: http://horde.org/imp/
> > 
> > 
> > To unsubscribe, send mail to [EMAIL PROTECTED] with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail [EMAIL PROTECTED]
> > 
> 
> -- 
> Dr. Zvi Har'El     mailto:[EMAIL PROTECTED]     Department of
> Mathematics
> tel:+972-54-227607 icq:179294841     Technion - Israel Institute of
> Technology
> fax:+972-4-8293388 http://www.math.technion.ac.il/~rl/     Haifa 32000,
> ISRAEL
> "If you can't say somethin' nice, don't say nothin' at all." -- Thumper
> (1942)
>                               Tuesday, 26 Tevet 5764, 20 January 2004, 
> 7:31AM
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


================================================================To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to