如何禁用目录浏览? [英] How do I disable directory browsing?
本文介绍了如何禁用目录浏览?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要禁用/加莱里亚斯文件夹目录浏览和所有子目录
的指数/加莱里亚斯/ 409
*父目录 * i1269372986681.jpg * i1269372986682.jpg * i1269372988680.jpg
解决方案
用下面的命令创建一个.htaccess文件:
选项-Indexes
I want to disable directory browsing of /galerias folder and all subdirectories
Index of /galerias/409
* Parent Directory * i1269372986681.jpg * i1269372986682.jpg * i1269372988680.jpg
解决方案
Create a .htaccess file with the following:
Options -Indexes
这篇关于如何禁用目录浏览?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文