如何让Apache能自动运行index.php?

- 中国WEB开发者网络 (http://www.webasp.net)
-- 技术教程 (http://www.webasp.net/article/)
--- 如何让Apache能自动运行index.php? (http://www.webasp.net/article/13/12666.htm)
-- 作者:未知
-- 发布日期: 2004-08-27
编辑httpd.conf文件,找到DirectoryIndex在后面加一个index.php。
例如,我把DirectoryIndex这行改为:DirectoryIndex index.html index.htm index.php index.html.var
保存编辑的内容,重新启动Apache就可以实现了。

webasp.net