[問題] 利用 .htaccess 限制index
上網找了一些介紹 .htaccess 的文章
大多數都是講 密碼保護,自設錯誤報告文件,自設首頁檔案 ,重新導向文件...etc
ex:http://forum.slime.com.tw/thread151945.html
底下想做的想法但是看了之後還是沒有成功
想把我自己的家目錄設定成無法list 而除了家目錄其他目錄都可以list
/home/userA/public_html/ --> 無法顯示Indexes
http://xxx/userA
/home/userA/pulbic_html/others/ -->可以Indexes
http://xxx/userA/others
/home/userA/pulbic_html/others2/ -->可以Indexes
http://xxx/userA/others2
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.134.31.141
討論串 (同標題文章)
以下文章回應了本文 (最舊先):
完整討論串 (本文為第 1 之 4 篇):