Re: apache directory (not) listing

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Eric \"Shubes\"
Date:  
To: Main PLUG discussion list
Subject: Re: apache directory (not) listing
No such file.
Thanks.

Judd Pickell wrote:
> do you have an .htaccess file in the /var/vhosts/qmt.shubes.net/docs
> directory? If so, it could contain the rule that is causing the problem.
>
>
>
> On 7/13/06, *Eric Shubes* < <mailto:plug@shubes.net>> wrote:
>
>     I'm a newbie to apache and figure this must be a simple problem, but
>     I've little enough hair. ;)

>
>     I've set up a virtual host in httpd.conf:
>     <VirtualHost *:80>
>          ServerAdmin  <mailto:webmaster@shubes.net>
>          ServerName qmt.shubes.net <http://qmt.shubes.net>
>          ServerAlias qmt.shubes.homeip.net <http://qmt.shubes.homeip.net>
>          DocumentRoot /var/vhosts/qmt.shubes.net/docs
>          <Directory "/var/vhosts/qmt.shubes.net/docs">
>          Options +Indexes
>          AllowOverride All
>          Order allow,deny
>          Allow from all
>          </Directory>
>          ScriptAlias /cgi-bin/ "/var/vhosts/qmt.shubes.net/cgi-bin/"
>          ErrorLog "/var/vhosts/qmt.shubes.net/logs/error_log"
>          CustomLog "/var/vhosts/qmt.shubes.net/logs/referer_log" referer
>          CustomLog "/var/vhosts/qmt.shubes.net/logs/agent_log" agent
>          CustomLog "/var/vhosts/qmt.shubes.net/logs/access_log" common
>     </VirtualHost>

>
>     Everything seems fine, as I can wget or browse files from the server.

>
>     I'm trying to have apache generate a directory index, but I get the
>     (dreaded?)
>     "Directory index forbidden by rule: /var/vhosts/qmt.shubes.net/docs/"
>     error message in the log.

>
>     I've googled, and found
>     http://www.onlamp.com/pub/a/apache/2004/04/22/apacheckbk.html
>     which seemed helpful, but I've checked everything there, and I'm still
>     stuck.

>
>     System is standard CentOS4.3, httpd-2.0.52-22.ent.centos4.
>     After changing httpd.conf, I've done: # service httpd restart

>
>     Any ideas?
>     TIA
>     --
>     -Eric 'shubes'
>     ---------------------------------------------------



--
-Eric 'shubes'
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss