apache directory (not) listing

Eric "Shubes" plug at shubes.net
Thu Jul 13 13:05:52 MST 2006


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* <plug at shubes.net <mailto:plug at 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 webmaster at shubes.net <mailto:webmaster at 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'


More information about the PLUG-discuss mailing list