httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject RE: Limit +Directory to certain Usergroups?
Date Fri, 15 Feb 2002 17:41:51 GMT

> From: Andreas Lorenz []

> 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/

<Location /admin/>
Options +Indexes
DirectoryIndex notarealfile.html
require group admin

Then your admin group can get a directory listing for if they access


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message