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

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

问题描述

我刚刚安装了WampServer 2.5,脚本运行良好。
只有Wamp图标不工作。
例如,如果我浏览文件夹项目的时候,当Wamp列出的文件没有出现图标,如下所示:





尝试右键点击图标,在新标签页打开时显示消息



您无权访问/ icons /

在这个服务器上。


c:/ wamp / www / ,并设置需要全部授予
之后,现在出现此错误:


找不到



在此伺服器上找不到要求的网址/icons/unknown.gif。


如何传送右图示路径wampserver?



感谢您阅读。

解决方案


  1. httpd.conf 中取消注释包含conf / extra / httpd-autoindex.conf


  2. 请确保 httpd-autoindex.conf 文件具有:

     别名/ icons /icons /

    < Directoryicons>
    选项索引MultiViews
    AllowOverride无
    订单允许,拒绝
    允许所有
    < / Directory>


  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天全站免登陆