Index files are now detected (.../textpub-dir/ -> .../textpub-dir/index.ext).
Better directory detection mechanism (.../dir -> .../dir/) with customizable redirection.