DirectoryIndex似乎被apache2忽略了

时间:2012-02-17 00:26:42

标签: apache2 directoryindex

我正在安装Wordpress并在找不到index.php时遇到问题。当然,如果我明确输入它,那就没关系。问题是某种方式,DirectoryIndex是不对的。我查看了mods-enabled / dir.conf,它说:

<IfModule mod_dir.c>
  DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm
</IfModule>

这似乎是正确的。但它不起作用。我想也许某个地方的某个其他文件会覆盖这个但是如果是这样的话,它就不会在mods中启用了,因为我抓了那个文件夹。

有什么想法吗?

0 个答案:

没有答案
相关问题