WampServer的图标不工作 [英] WampServer icons doesn't work

查看:152
本文介绍了WampServer的图标不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装WampServer 2.5和脚本运行良好。
只有WA​​MP的图标doen't作品。
例如,如果我浏览一个文件夹项目,当WAMP列出的文件没有出现图标,如下显示:

试着右击图标,在新标签页打开出现的消息:


  

禁止


  
  

您没有权限访问此服务器上/icons/unknown.gif。


所以在httpd.conf我在目录改变权限 / C:/ WAMP / WWW / ,设置要求所有批准
在此之后,现在我这个错误:


  

未找到


  
  

请求的URL /icons/unknown.gif没有在此服务器上找到。


如何传递正确的图标路径wampserver?

感谢您的阅读。


解决方案

  1. 取消注释行包含的conf /额外/的httpd-autoindex.conf 的httpd.conf 文件


  2. 确认的httpd-autoindex.conf 文件中有这样的:

     别名/图标/图标/<目录图标>
        选择多视图索引
        设置AllowOverride无
        为了允许,拒绝
        所有允许
    < /目录>


  3. 重新启动服务器


I've just installed WampServer 2.5, and scripts runs well. Only Wamp Icons doen't works. For example if I browse a folder project's, when Wamp lists files doesn't appear the icon, as show below:

Trying to right click on an icon, in new tab opened appears the message:

Forbidden

You don't have permission to access /icons/unknown.gif on this server.

So in httpd.conf i've changed permission in directory / and c:/wamp/www/, setting Require all granted. After this, now I've this error:

Not Found

The requested URL /icons/unknown.gif was not found on this server.

How can I pass right icons path to wampserver?

Thank you for reading.

解决方案

  1. Uncomment the line Include conf/extra/httpd-autoindex.conf in httpd.conf file

  2. Make sure httpd-autoindex.conf file has this:

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

  3. Restart the server

这篇关于WampServer的图标不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆