用phpstudy_pro部署的基于Apace的简易Web网站,部署完存在目录列表的blank.gif,folder.gif,unknown.gif等icons图标不能显示问题。

无法正常显示图标

用浏览器查看网页源代码
经排查,需要修改phpstudy_pro配置目录~ExtensionsApache2.4.39confextra中的httpd-autoindex.conf。把httpd-autoindex.conf中所有与icons相关的配置全部注释掉,也即第20行到第59行的所有内容即可。

20-59行全部加上#注释

重启Apache后的效果