New Year Offer 降价82%
00
12
21
04

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

  • 不限制搭建网站个数
  • 24/7 在线支持
  • 简单易用的建站助手
  • 2倍的WordPress 优化速度
  • 30天退款保证
赶上限时优惠!
低至
8
55
CNH
/月
节省 82%
开始