Apache中配置网站的默认首页

2018-08-2419:40:17 评论 2,035 views

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

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

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

历史上的今天
8月
24

发表评论

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