WampServer的图标不工作 [英] WampServer icons doesn't work
问题描述
我刚刚安装WampServer 2.5和脚本运行良好。
只有WAMP的图标doen't作品。
例如,如果我浏览一个文件夹项目,当WAMP列出的文件没有出现图标,如下显示:
试着右击图标,在新标签页打开出现的消息:
禁止
您没有权限访问此服务器上/icons/unknown.gif。
块引用>所以在httpd.conf我在目录改变权限 / 和 C:/ WAMP / WWW / ,设置要求所有批准 。
在此之后,现在我这个错误:
未找到
请求的URL /icons/unknown.gif没有在此服务器上找到。
块引用>我如何传递正确的图标路径wampserver?
感谢您的阅读。
解决方案
取消注释行
包含的conf /额外/的httpd-autoindex.conf
在的httpd.conf
文件确认
的httpd-autoindex.conf
文件中有这样的:别名/图标/图标/<目录图标>
选择多视图索引
设置AllowOverride无
为了允许,拒绝
所有允许
< /目录>
重新启动服务器
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.
解决方案
Uncomment the line
Include conf/extra/httpd-autoindex.conf
inhttpd.conf
fileMake sure
httpd-autoindex.conf
file has this:Alias /icons/ "icons/" <Directory "icons"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory>
Restart the server
这篇关于WampServer的图标不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!