Use directory option and add http dir option