Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 16104 invoked from network); 25 Jul 2005 20:46:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Jul 2005 20:46:49 -0000 Received: (qmail 73226 invoked by uid 500); 25 Jul 2005 20:46:38 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 73211 invoked by uid 500); 25 Jul 2005 20:46:37 -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: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 73198 invoked by uid 99); 25 Jul 2005 20:46:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jul 2005 13:46:37 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [68.142.198.213] (HELO smtp114.sbc.mail.mud.yahoo.com) (68.142.198.213) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 25 Jul 2005 13:46:30 -0700 Received: (qmail 5400 invoked from network); 25 Jul 2005 20:46:34 -0000 Received: from unknown (HELO sys2) (shelece@sbcglobal.net@69.107.153.181 with login) by smtp114.sbc.mail.mud.yahoo.com with SMTP; 25 Jul 2005 20:46:34 -0000 Reply-To: From: "bruce" To: "'Joshua Slive'" , Date: Mon, 25 Jul 2005 13:46:21 -0700 Message-ID: <13a101c59159$ea451540$0301a8c0@Mesa.com> 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 9.0, Build 9.0.2910.0 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] apache displaying the directory contents... X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N joshua... it appears that what i'm seeing has something to do with the use of the VirtualHost/Directory directives/blocks. is there a limit to the number of Directory blocks that Apache can have within a VirtualHost? if i copy one of the Directory/Alias blocks to before the VirtualHost block, Apache appears to work correctly. thanks bruce bedouglas@earthlink.net -----Original Message----- From: Joshua Slive [mailto:jslive@gmail.com] Sent: Monday, July 25, 2005 10:45 AM To: users@httpd.apache.org; bedouglas@earthlink.net Subject: Re: [users@httpd] apache displaying the directory contents... On 7/25/05, bruce wrote: > i'm still trying to figure out how to 'turn off indexing' or hot to disable > indexing of a directory in apache. i have a index.php file. if i rename the > file, apache displays the directory of the document... > > i've reviewed what information i've been able to find via google. i have the > following in my httd.conf file: > > LoadModule status_module modules/mod_status.so > LoadModule autoindex_module modules/mod_autoindex.so > LoadModule asis_module modules/mod_asis.so > . > . > . > # > # Disable autoindex for the root directory, and present a > # default Welcome page if no other index page is present. > # > > Options -Indexes > #ErrorDocument 403 /error/noindex.html > ErrorDocument 403 /foo/err.html > > . > . > . > #condor web test > Alias /condor /var/www/html/condor > > #don't display directory listing > #Options All > Options -Indexes > #Order allow,deny > #Allow from all > > > i've tried various combinations of commenting/uncommenting to try to resolve > this issue with no luck. > > any thoughts/ideas/comments from people who actually know apache would be > appreciated!!! The configuration listed above is basically correct, which means you are missing something more basic. I'd start by going through all of httpd.conf (and any Include'd config files) and check every single Option line to make sure that none of the contain "Indexes". It is not necessary to have "-Indexes". The absence of the option should turn it off. If that doesn't do it, then you need to check to make sure you are actually editting the same config file that apache is using. Do you get an error if you put an obvious syntax error in the file? 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 " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org