Date: Mon, 22 Oct 2001 14:08:04 -0700 (PDT) From: David Kirchner <davidk@accretivetg.com> To: "Dennis R. Abel" <Dennis@drabel.com> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: Newbie Question Message-ID: <20011022140715.E85958-100000@localhost> In-Reply-To: <5.1.0.14.2.20011022160130.00a5a3f0@127.0.0.1>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 22 Oct 2001, Dennis R. Abel wrote: > Can I, and if so, exactly how do I configure my httpd.conf to return this > message when an attempt is made to list a directory: > > "Directory Listing Denied > This Virtual Directory does not allow contents to be listed. " > > I would like to avoid having to put an index.html or .htaccess file in > every directory. > > Dennis It won't be exactly like this (that's an IIS error if I'm not mistaken), but you can effecively do that by setting "Options -Indexes" in your docroot's .htaccess or in the appropriate place in the httpd.conf file. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011022140715.E85958-100000>