run after redirect module, try index.html for dirs