编辑Apacheconfhttpd.conf 。。
查找底下内容 。。。
例:DirectoryIndex 主页名称.扩展名 主页名称.扩展名
在DirectoryIndex后面按照如上格式填写即可 。。。
Ps. 对了 访问默认主页的优先级顺序是按照以上内容从左到右的 。。
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
# The index.html.var file (a type-map) is used to deliver content-
# negotiated documents. The MultiViews Option can be used for the
# same purpose, but it is much slower.
#
DirectoryIndex fix.html index.php index.html index.htm default.php default.htm default.html index.html.var