serving static index via a directory handler