wamp 中文件以及目录前面的图标不显示了
下午刚安装的wamp环境 打开之后发现我的图标变得不显示了
我想或许是我安装的时候有地方出错吧
然后我就百度到一篇好文章
首先打开 httpd.conf ,找到如下字眼
# Fancy directory listings
Include conf/extra/httpd-autoindex.conf
注意了,这里需要查看是否被注释掉,一般是没注释的。
然后再打开 extra 目录下的 httpd-autoindex.conf ,找到如下字眼
"d:/wamp/bin/apache/apache2.4.9/icons/"注意这个路径是按照你安装的路径来修改的
# We include the /icons/ alias for FancyIndexed directory listings.If
# you do not use FancyIndexing, you may comment this out.
#
Alias /icons/ "d:/wamp/bin/apache/apache2.4.9/icons/"
<Directory "d:/wamp/bin/apache/apache2.4.9/icons/">
Options Indexes MultiViews
AllowOverride None
Require all granted
</Directory>
注意咯,这里的路径是我修改后的,你参照自己wamp安装的位置进行修改即可。
最后,重启下apache服务,刷新页面就可以了
非原创 只是记录 原文地址是 http://old.idler365.com/blog/solution/139.html
页:
[1]