W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 1997

Disallowing Directory Listings

From: Anselm Baird_Smith <abaird@www43.inria.fr>
Date: Tue, 28 Jan 1997 17:34:41 +0100 (MET)
Message-Id: <199701281634.RAA20205@www43.inria.fr>
To: "darrell starnes" <Darrell=Starnes%AppSrv%Sys=Hou@bangate.compaq.com>
Cc: <www-jigsaw@www10.w3.org>
darrell starnes writes:
 > I don't like users to be able to list some directories.  I don't know if 
 > there is a different
 > way to disallow directory listings, I usually set the index to a 
 > non-existant file so that
 > directory listings fail which has the same effect as not allowing directory 
 > listings. I
 > s there a different way to do this? Should there be an attribute in 
 > DirectoryResource to allow or disallow directory listings?

I guess that you can set the index to some none existing file (the
error message will look strange, but it will work)

To have that on all directories, setup the /Admin/Directories WWW
template appropriately

Received on Tuesday, 28 January 1997 11:41:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:30 UTC