評分: 5 / 5 顆星

Hi,
if you don't want that somebody could make a directory listing of the webdav repository through the PROPFIND directive, you should add the following in the apache configuration:
<Directory your_directory_path>
AllowOverride None
# no directory listing with GET method
Options -Indexes
# no directory listing with webdav PROPFIND method
RequestHeader set Depth 0
</Directory>

此意見為舊版本 (1.3) 的附加元件。