【发布时间】:2012-01-18 01:20:27
【问题描述】:
我的 Windows 7 机器上安装了 Apache 2.2.21 服务器。
我的站点已启动,/scripts 子目录中的脚本正在运行,但是当我尝试从/icons 加载图标时,我收到 403 禁止错误。
我已经将此添加到我的httpd.conf 文件中:
<Directory "c:/wamp/www/icons/">
Options Indexes FollowSymLinks
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
仍然没有效果。所以问题是:如何访问我的/icons 子文件夹中的文件?
P.S.:使用 /images 子目录效果很好,但问题仍然存在。
【问题讨论】:
标签: apache2 wamp wampserver httpd.conf