Hello Ian Thank you for you report.
Apache dir module is enabled by default. When you try to disable it, you get this message: # a2dismod dir WARNING: The following essential module will be disabled. This might result in unexpected behavior and should NOT be done unless you know exactly what you are doing! dir To continue type in the phrase 'Yes, do as I say!' or retry by passing '-f': Further more, since Apache 2.4, Debian packages are no longer allowed to re-enable modules that were explicitly removed by the admin. This was not the case previously, but we now enforce Debian policy: All packages must preserve administrator local changes such as disabling an essential module of Apache. As a footnote, this is why we now store whether the module was disabled by an administrator or by a package. I believe the best we could do is add a condition around DirectoryIndex, so that the directive is ignored when not available. But there is no way to do what you ask. Do you know how you came to have that module disabled? Do you remember if you disabled it as an admin? Can you check for apache related package you installed that would disable that mod_dir or at least post the list of apache/php related packages you are using? Can you give us an history of that server? I mean: Was it installed as a Wheezy (Debian 7) then upgraded? I think the Wheezy version has the same constraint. It will not work with mod_dir. -- Nirgal
signature.asc
Description: OpenPGP digital signature