Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 68616 invoked by uid 500); 15 Feb 2002 17:42:21 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 68600 invoked from network); 15 Feb 2002 17:42:16 -0000 Received: from deluge.cc.mcgill.ca (132.206.27.50) by daedalus.apache.org with SMTP; 15 Feb 2002 17:42:16 -0000 Received: from dna.mcgill.ca (dna.McGill.CA [132.206.27.48]) by deluge.cc.mcgill.ca (8.12.1/8.11.0) with ESMTP id g1FHg8SB005884 for ; Fri, 15 Feb 2002 12:42:13 -0500 (EST) Received: from bronfman504 ([132.206.137.146]) by dna.mcgill.ca (8.12.0/8.12.0) with SMTP id g1FHg8hD010896; Fri, 15 Feb 2002 12:42:08 -0500 (EST) From: "Joshua Slive" To: , Subject: RE: Limit +Directory to certain Usergroups? Date: Fri, 15 Feb 2002 12:41:51 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20020215201357.7C99A154AFF@m1.dnsix.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > From: Andreas Lorenz [mailto:andreas.frankfurt@gmx.de] > The Question sounds easy: > > How can I limit the access to the server generated directory-listing to > certain user-groups (eg. Admins)? > > I need to prevent normal users from viewing the content of the folder but > admins must be able to see it...... Not that easy. Here's one suggestion: Alias /admin/ /path/to/document/root/ Options +Indexes DirectoryIndex notarealfile.html require group admin Then your admin group can get a directory listing for http://example.com/dir/ if they access http://example.com/admin/dir/ Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org