分享

写回答

发帖

[提问] 某个目录内的PHP首页无法显示?

GoDaddy GoDaddy 1423 人阅读 | 2 人回复

发表于 2010-7-18 19:10:42 | 显示全部楼层 |阅读模式

各位好:

我使用windows主机,IIS7.0,支持ASP和PHP,现在我的多数站点是ASP的,这两天安装了一个PHPlist系统,发现某些页面无法显示,似乎提示是“目录没有设置好默认的PHP首页格式,如首页是index.php”,但是我自己制作了一个简单的PHP文件:index.php 上传后浏览正常。

但是下面图中的几个页面为什么无法显示呢?错误提示为:

"Error: please make sure that index.php is your default document for a directory

If you have just installed PHPlist and get this message, make sure that your Apache configuration has somewhere

DirectoryIndex index.php index.html

or that at least index.php is mentioned before index.html

For other webservers please consult your manual to find how to make index.php be the default document for a directory.

Alternatively you can delete the file "index.html" in the lists directory of PHPlist"
urlerroe.jpg

回答|共 2 个

add.c

发表于 2010-7-19 10:59:44 | 显示全部楼层

你空间里还存在其他首页文件?

lsok

发表于 2010-7-19 21:22:28 | 显示全部楼层

是的,多谢,我删除了其它首页文件。正常了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则