apache directory (not) listing

Judd Pickell pickell at gmail.com
Thu Jul 13 12:40:48 MST 2006


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> 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
>      ServerName qmt.shubes.net
>      ServerAlias 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'
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.plug.phoenix.az.us/pipermail/plug-discuss/attachments/20060713/0be25186/attachment.htm


More information about the PLUG-discuss mailing list