I have mod_auto_index set to index my website but it will only index
subdirectories off my docroot, never the docroot itself! If you try
to go to the docroot is gives a 403 Forbidden message and logs a
message that says "Directory index forbidden by rule:
/home/doug/www/". I am running apache 2.0.48. It has nothing to do
with permissions on the folder because I can get Apache to index the
exact same directory by moving my docroot up one directory. My very
shortened config is as follows:
IndexOptions FancyIndexing FoldersFirst NameWidth=*
<Directory /home/doug/www>
order allow,deny
allow from all
AllowOverride AuthConfig
AuthUserFile /etc/httpd/conf/my.htpasswd
AuthType Basic
AuthName "My Folder"
require valid-user
DAV On
Options Indexes
</Directory>
<VirtualHost 192.168.1.1:80>
DocumentRoot /home/doug/www/
ServerName my.website.com
DAVDepthInfinity On
DAVLockDB /var/db/webdav/lock.db
DAVMinTimeout 600
</VirtualHost>
>> Stay informed about: mod auto_index -- WEIRD. it won't index docroot, but will ..