wampserver 图标不显示的解决办法

PHP cooljun 3464℃ 0评论

重装系统后,下载了个WampServer2.1e-x32.exe安装,但是安装后删除了默认index.php

最后找的方法,记录下来……
找到文件:
wampserver安装目录\bin\apache\Apache2.2.17\conf\extra\httpd-autoindex.conf
修改:


Alias /icons/ “C:/Dev/Projets/WampServer2-
64b/install_files_wampserver2/bin/apache/Apache2.2.17/icons/”
<Directory “C:/Dev/Projets/WampServer2-
64b/install_files_wampserver2/bin/apache/Apache2.2.17/icons”>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

为:


Alias /icons/ “icons/”
<Directory “icons”>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

保存,重启搞定!
当然,我是用的相对路径,你也可以改成绝对路径!

转载请注明:cooljun小窝 » wampserver 图标不显示的解决办法

如果你觉得这篇文章对你有帮助,请支持我继续更新网站 !捐赠本站
喜欢 (0)or分享 (0)

您必须 登录 才能发表评论!