mike mike503 at
Sat Aug 16 23:32:30 MSD 2008

On 8/16/08, Igor Sysoev <is at> wrote:

> If no one index file is found than directory test must be done anyway:
> *) if directory exists, but no index files exist, then nginx should
>   pass control to next module (autoindex) and may eventually return 403.
> *) if directory does not exist, then nginx should return 404.

but doesn't it make sense to go through all index file options before
checking the directory and handing it off to autoindex? maybe i just
don't know filesystem architecture good enough, but it seems like if
the user states "check A, B, C" it should check A, B, C and only if it
fails all 3 then fall back to sanity checks / directory checks /
autoindex checks / etc.

More information about the nginx mailing list