方法一: 停用自動產生索引

在 apache 的 conf  裡 找到  

<Directory "/var/www/html">

Options Indexs FollowSymLinks 

AllowOverride None

Order allow,deny
Allow from all

</Directory>

再把 Indexs 刪掉 , 存檔後重啟 apache ,可以算是初級防護 ,進階為使用 .htaccess ,等我有用到再補充 ...

 

arrow
arrow
    文章標籤
    apache
    全站熱搜

    jason0324 發表在 痞客邦 留言(0) 人氣()