【发布时间】:2016-02-06 19:55:28
【问题描述】:
我在我的 macbook 分享中编辑了我的计算机名称,并使其成为Ahmed MacBook Pro
您本地网络上的计算机可以访问您的计算机:
Ahmed-MacBook-Pro.local
并将我的用户名从 Macbook pro 编辑为 Ahmed.K,现在我无法访问我的本地主机中的任何项目。
禁止
您无权访问此服务器上的 /。
我在终端收到这条消息:
Ahmed-MacBook-Pro:~ Ahmed.K$ apachectl configtest
AH00112: Warning: DocumentRoot [/usr/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [/usr/docs/dummy-host2.example.com] does not exist
AH00112: Warning: DocumentRoot [/var/www/thestudymachine/public] does not exist
AH00112: Warning: DocumentRoot [/Users/MacbookPro/Sites/mostafa/front] does not exist
AH00558: httpd: Could not reliably determine the server's fully qualified
域名,使用 Ahmed-MacBook-Pro.local。设置“服务器名称”指令 全局禁止此消息 语法OK
我不知道发生了什么。有人可以帮帮我吗?
【问题讨论】:
标签: macos apache file-permissions