修改了D:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf中的<Directory "D:\apache_webs">指定为新的本地目录后,无法访问本地HTTP Server,出现的错误如下:
访问:http://127.0.0.1/
错误:
Forbidden
You don't have permission to access /on this server.
访问:http://127.0.0.1/index.html
错误:
Forbidden
You don't have permission to access /index.htmon this server.
解决办法,重新设置上面一段的Directory访问属性:#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
deny from all
</Directory>
==>>>>
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
allow from all
</Directory>