apache如何防止他人看到目錄底下的檔案

解决方案 »

  1.   

    是列出档案吗?
    apache配置文件
    <Directory xxx>
    里面里面,把Options Indexes ...
    里面的Indexes去掉就行了
      

  2.   

       Options FollowSymLinks ExecCGI Indexes
    不要這個Indexes?
      

  3.   

    在不对外公开的文件夹内加一个空白的index.html文件
      

  4.   

    不想列出檔案
    <Directory /webShop>
    Options FollowSymLinks ExecCGI Indexes
    AllowOverride None
    Order deny,allow
    Deny from all
    Satisfy all
    </Directory>
    Apache 2.2.8 
    是在這裏調較嗎,謝謝