Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac osx yosemite系统下配置apache 不成功 错误AH00526 #1

Open
kingyazh opened this issue Mar 1, 2016 · 0 comments
Open

mac osx yosemite系统下配置apache 不成功 错误AH00526 #1

kingyazh opened this issue Mar 1, 2016 · 0 comments
Assignees

Comments

@kingyazh
Copy link
Owner

kingyazh commented Mar 1, 2016

一直提示403,无权限,并且说没有index这样的文件,无法正常访问。
早上在公司远程连接后提示
AH00112: Warning: DocumentRoot [/Applications/XAMPP/xamppfiles/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [/Applications/XAMPP/xamppfiles/docs/dummy-host2.example.com] does not exist
AH00526: Syntax error on line 50 of /Applications/XAMPP/xamppfiles/etc/extra/httpd-vhosts.conf:
这样就找到原因了。
问题出在你自定义的文件夹名称,不能是Sites,重新命名一个就可以了。
我也是根据视频教程命名为Sites的,结果就出现了......DocumentRoot must be a directory问题。
你会发现命名成Sites文件夹的样式不同于普通文件夹,不知道是不是系统自带了。

@kingyazh kingyazh self-assigned this Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant