1 安装好wamp 之后,访问http://localhost/项目应用 出现没有权限访问,是因为Apache做了较为严格的限制。修改httpd.conf文件,将访问权限信息中红色部分修改成当前代码即可:
# 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 Indexes FollowSymLinks
AllowOverride None
</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 Indexes FollowSymLinks
AllowOverride None
</Directory>