Apache中配置网站的默认首页

2018-08-2419:40:17 评论 890 views

修改配置文件: \Apache\conf\httpd.conf

<IfModule dir_module>
    DirectoryIndex default.html default.php index.html index.php index.htm
</IfModule>

最左面的即为优先查找的文件哟.

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: