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: [email protected] -----Original Message----- From: Voellinger, Sandy [mailto:[email protected]] Sent: Friday, July 01, 2011 10:50 AM To: [email protected] Subject: Re: [users@httpd] 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: [email protected] > > > > --------------------------------------------------------------------- > 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: [email protected] > " from the digest: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- 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: [email protected] " from the digest: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- 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: [email protected] " from the digest: [email protected] For additional commands, e-mail: [email protected]
