限时促销 - 低至 4.75CNH/月
06
18
41
40
现在来试试吧!
×

知识库

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

How do I disable directory listing

引用:
disable directory listing list of index of disable file listing index

If you see Index of / message and list of your files and directories when visiting your website, it means there is no index file uploaded on your account. 

Directory listing can be disabled from your control panel-> Folder Index Manager section -> select public_html folder -> choose No indexing

You can also upload an empty index.html or index.php file if you don't want any content to be displayed (but want to disable list of directories).

The best way to resolve this would be building a website! To find out the full guide on how to start your website on Hostinger, check out this article: https://www.hostinger.com/tutorials/website/how-to-use-hostinger-and-create-a-website

  • 简单易用的建站助手
  • 99.9%在线时间保证
  • 24/7 在线支持
  • Powerful Control Panel
  • 30天退款保证
限时优惠促销!
低至
4
75
CNH
/月
节省 90%
开始