added directoryIndex config setting