小编new*_*ode的帖子

mac OS X 升级到 Yosemite 后,apache 客户端被服务器配置拒绝

我知道这看起来与其他问题相似,但 Yosemite 似乎在升级时更改了 apache 配置。我的错误日志显示“客户端被服务器配置拒绝:/Users/douglas/Sites/testpatient.php”

Apache 版本:MacBook-Pro:apache2 douglas$ apachectl -v 服务器版本:Apache/2.4.9 (Unix) 服务器构建:2014 年 9 月 9 日 14:48:20 我的 douglas.conf 文件是 644 root/wheel 和以下内容:

<Directory "/Users/douglas/Sites">
   Options Indexes Multiviews
   AllowOverride None
   Order allow,deny
   Allow from all
</Directory>
Run Code Online (Sandbox Code Playgroud)

我的 http.conf 有以下内容:

# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as. …
Run Code Online (Sandbox Code Playgroud)

apache-http-server php macos

12
推荐指数
2
解决办法
2万
查看次数

标签 统计

apache-http-server ×1

macos ×1

php ×1