[users@httpd] DirectoryIndex not working when mod_autoindex loaded

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

When I have loaded the mod_autoindex additionally to the mod_dir I'm getting the error "Directory index forbidden by rule: /some/dir" when I request the path /some/dir or /some/dir/ When I do not load autoindex, it works, that means the index.* files will be taken.

The DirectoyIndex rule is specified for the virtualhost telling that index.html and others are valid index files. I had also read somewhere that regarding the order of the load-statements of mod_dir and mod_autoindex it is important to have mod_dir in front of mod_autoindex. This is made sure as well.

The goal is to have both modules working. In folders with no index files one should get a listing (from mod_autoindex) and if there is index files found (specified by the directorIndex rule), one shell get this index file.

What could I have forgotten to have both working?

Thanks for any hints,
Ciao, Frank

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux