Hello,
I have a directory (public_data) where I turned on the Indexes
to see all the files and directories
in it. This directory is accessible by everyone, no restriction.
However, I want to protect with userName and Password
the directory "private" in it. I did:
<Directory "/web/public_data/private">
Options Indexes
IndexOptions FancyIndexing
AuthType Basic
AuthName "Password Protected"
AuthUserFile /data/private/.htpasswd
Require valid-user
Order allow,deny
Allow from all
</Directory>
But when I activated the authentication (AuthType, AuthName,
AuthUserFile, Require), the directory "private" dissapear from the list.
Is it possible to see the directory in the listing of public_data and be
password protected?
I'm using Apache-2.0.54 and mod_auth and mod_ssl are enabled. Also my OS
is Debian. The strange
thing is I have the same configuration on Apache-1.3 and it's working.
Thank you for your help!
Levoy
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]