Apache 配置關閉文件目錄瀏覽

找到http.conf文件,註釋如下代碼(在代碼前面添加 #)
 LoadModule autoindex_module modules/mod_autoindex.so
Include conf/extra/httpd-autoindex.confmodule

相關文章
相關標籤/搜索