httpd.conf
找到目录那项,然后把Options MultiViews Indexes 中的Indexes删除,或者
LoadModule autoindex_module modules/mod_autoindex.so
改成
#LoadModule autoindex_module modules/mod_autoindex.so
重新启动apache

解决方案 »

  1.   

    没有 #LoadModule autoindex_module modules/mod_autoindex.so 这句Options MultiViews Indexes 删了
    不成啊
      

  2.   

    在你的主目录下新建一个名为index.html的文件
    restart一下试试
      

  3.   

    httpd.conf
    找到目录那项,然后把Options MultiViews Indexes 中的Indexes删除,或者
    LoadModule autoindex_module modules/mod_autoindex.so
    改成
    #LoadModule autoindex_module modules/mod_autoindex.so
    重新启动apache
      

  4.   

    主要是因为没有默认文档造成的,添加一个默认文档就没事了
    addDefaultIndex .htm .php ...................