나는 이것이 다른 질문과 비슷해 보이지만 요세미티는 업그레이드와 함께 아파치 구성으로 무언가를 변경 한 것으로 보입니다. 내 오류 로그에 "서버 구성에 따라 클라이언트가 거부되었습니다 : /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 루트 / 휠이며 다음과 같습니다.
<Directory "/Users/douglas/Sites">
Options Indexes Multiviews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
내 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.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User _www
Group _www
</IfModule>
...
DocumentRoot "/Library/WebServer/Documents"
#
# 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
Satisfy All
</Directory>
...
<Directory "/Library/WebServer/Documents">
#
# 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.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks MultiViews
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
#AllowOverride None
AllowOverride All
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
Satisfy All
</Directory>
아무것도 감사하겠습니다. 이전 http.conf 파일로 롤백을 시도했지만로드해야하는 모듈에는 몇 가지 차이점이 있습니다. 모듈을 놓쳤을 가능성이 있지만 로그에는 불만이 없습니다.