logo

Black Friday
Sale

  •  99.9% 在线时间
  •  免费 SSL 证书
  •  24/7 在线支持
  •  30天退款保证
立即开始

高达

91

%

OFF

03
19
23
20
黑色星期五促销!: 虚拟主机
低至 4.75CNH /月!
查看所有优惠
×

知识库

查找有关信息功能,故障排除指南,
以及与虚拟主机相关的其他技术信息的文章。

How to setup Directory Listing

引用:
directory listing listing list of files htaccess

When a web browser is pointed to a directory on your website which does not have an index.html file in it, the files in that directory can be listed on a web page. To have the web server produce a list of files for such directories, use the below line in your .htaccess  (can be found in FTP -> public_html folder):

Options +Indexes

To have an error (403 - Forbidden) returned instead, use this line:

Options -Indexes