MAMP 2 - 阿帕奇。无法使用桌面上的文件夹
我将 MAMP 更新到版本 2,但遇到了一些问题。我一直将我的项目放在文件夹 /Desktop/Projects
中,并将我的本地主机指向那里。没问题,我可以看到我的文件列表等。
但是,更新后,我现在收到“403 Forbidden”错误,指出我无权访问此服务器上的“/”。
我不确定我之前做了什么来完成这项工作,我怀疑这与 Apache 和/或 MAMP 的设置有关?有人可以给我一些指示吗?谢谢。
PS:不确定这是否是正确的 Stackexchange 站点,但 Webmasters 没有 MAMP 标记,所以我想我应该将其发布在这里。多谢。
I updated my MAMP to version 2 and ran into a couple of problems. I've always had my projects in a folder /Desktop/Projects
and pointed my localhost there. No problem whatsoever, I could see my filelistings etc.
However, after updating, I now get a '403 Forbidden' error, stating that I do not have permission to access '/' on this server.
I'm not sure what I did before to make this work, and I suspect this has something to do with Apache's and/or MAMP's settings? Could someone perhaps give me some pointers? Thanks.
PS: Not sure if this is the right Stackexchange site, but Webmasters didn't have a MAMP tag, so I figured I'd post it here. Thanks a lot.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
猜测您没有正确设置磁盘位置...
在 MAMP 中,单击“主机”选项卡,您将在其中看到“磁盘位置”。
您可以在此处选择目录,然后单击“权限”以确保设置正确。
Web 根目录的路径应该类似于
/Users/cabaret/Desktop/Projects
Guessing you didn't set the Disk Location correctly...
In MAMP, click the HOSTS tab, there you'll see Disk Location.
You can choose the directory here, and click Permissions to make sure things are set correctly.
The path to your web-root should be something like
/Users/cabaret/Desktop/Projects