將 WWW 整個目錄檔案秀出在瀏覽器上 List Files 類似 HFS (HTTP File Server)

RewriteEngine On
<Directory "/home/admin/_www_">
  Options Indexes FollowSymLinks
  AllowOverride all
  Order allow,deny
  Allow from all
</Directory>

apache Forbidden You don't have permission to access / on this server.

重啟Web服務

結果如上

 

  • 文章瀏覽點擊數 2865689