請找到一個httpd.conf檔案,(如果你是裝appserv,C:\AppServ\Apache2.2\conf找到)

然後用純文字編輯器打開後在<Directory "C:/AppServ/www">...</Directory>這個區段裡面有一行Options Indexes FollowSymLinks MultiViews ExecCGI,把Indexes刪除掉就可以了,

更詳細的說明可以參考apache的官方文件http://httpd.apache.org/docs/2.2/mod/core.html#options

 

<Directory /web/docs>
Options Indexes FollowSymLinks
</Directory>

改成

<Directory /web/docs>
Options FollowSymLinks
</Directory>

重新啟動Apache

arrow
arrow
    全站熱搜

    天秤女~佳佳 發表在 痞客邦 留言(0) 人氣()