在修改apache 默认路径是遇到了 403 问题
Forbidden
You don't have permission to access on this server。
修改下默认路径和下面的东西就好
在apache 的配置文件 httpd.conf 中的这里修改
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "E:/works"
<Directory "E:/works">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
然后重启服务器,
就好了。