add support for serving subdirectory index