httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nick.minute...@uk.bnpparibas.com
Subject [users@httpd] Options Indexes: how to force listing of directories with access control settings?
Date Tue, 19 Apr 2005 21:53:36 GMT

I am using .htaccess to control access to a directory.
However, this hides the directory from the index listing of its parent dir
(if the user isnt logged in).

Is there a trick to Options, IndexOptions or AuthXXX to list all
directories, regardless of their access control, when a user isnt logged
in?

I want a user to be able to see the directories they need to login to
enter. (then when they click, on them, they will need to login). At the
moment, they dont even know the directory is there...

httpd.conf
-------------------
    <Directory "/data/scm/buildarchive/archives">
        Options Indexes MultiViews
        IndexOptions +FoldersFirst +SuppressDescription
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>

.htaccess in /data/scm/buildarchive/archives/ARCH1
-------------------
AuthType Basic
AuthName "RESTRICTED ACCESS: Login Required for this archive"
AuthUserFile /data/scm/buildarchive/archives/ARCH1/.passwd
Require user user1 user2

Thanks in advance,
Nick




This message and any attachments (the "message") is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet 
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

**********************************************************************************************

BNP Paribas Private Bank London Branch is authorised 
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in the
United Kingdom.

BNP Paribas Securities Services London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in the 
United Kingdom.
  
BNP Paribas Fund Services UK Limited is authorised and 
regulated by the Financial Services Authority.


---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message