LAMP服务器 - 在域调用时不加载index.php

时间:2013-10-23 00:02:27

标签: php lamp

所以我有一个工作灯服务器。

我安装了php,可以在直接调用时调用php文件。

但是,调用域时不会加载index.php。

http://www.AnthonyRussell.info

不起作用。然而,

http://www.AnthonyRussell.info/index.php

是否

我想我必须在某个地方添加一个引用,但我似乎无法找到它或它的内容或位置。

1 个答案:

答案 0 :(得分:1)

http://httpd.apache.org/docs/2.2/mod/mod_dir.html

带有值index.php的.htaccess文件中的

DirectoryIndex Directive解决您的问题

相关问题