Adding -Indexes didn't work either. Cathy --- Cathy L. Smith IT Engineer Pacific Northwest National Laboratory Operated by Battelle for the U.S. Department of Energy Phone: 509.375.2687 Fax: 509.375.2330 Email: cathy.smith@xxxxxxx -----Original Message----- From: Voellinger, Sandy [mailto:Sandy.Voellinger@xxxxxxxxxxx] Sent: Friday, July 01, 2011 10:50 AM To: users@xxxxxxxxxxxxxxxx Subject: Re: Problem with disabling directory listing Try doing the following: <Directory "/var/www/"> Options -Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> Change /var/www/ to the doc root of your apache server . Cheers- Sandy On Jul 1, 2011, at 1:27 PM, Smith, Cathy wrote: > Hi > > I'm having a problem disabling directory listing for my DocumentRoot. I've taken out the Indexes parameter for Options, and I'm still able to list the directory. Here is the section from the httpd.conf. I'd appreciate it if someone could tell me what I need to do differently. This is a RHEL5 box running Apache 2.2.3. > > <Directory /> > Options FollowSymLinks > AllowOverride None > Order Deny,Allow > Deny from all > </Directory> > # > # > <Directory "/var/www/html"> > Options FollowSymLinks > AllowOverride None > Order Deny,Allow > Allow from all > </Directory> > > > Thank you. > > > Regards, > > > Cathy > --- > Cathy L. Smith > IT Engineer > > Pacific Northwest National Laboratory > Operated by Battelle for the > U.S. Department of Energy > > Phone: 509.375.2687 > Fax: 509.375.2330 > Email: cathy.smith@xxxxxxx > > > > --------------------------------------------------------------------- > 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@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx