403 MAMP上的禁止错误 [英] 403 Forbidden Error on MAMP
问题描述
我尝试在MAMP PRO上运行本地应用程序.从现在开始,我运行MAMP,并且一切正常.现在我已更改为MAMP PRO,因为可以生成更多主机并从本地应用程序发送电子邮件.
I try to run my local applications on MAMP PRO. Since now i run MAMP and everything works fine. Now i've changed to MAMP PRO because of the possibilities to generate more hosts and send email from local applications.
现在我有一个问题,我无法访问目录中的文件.
Now i have the problem that i can't access files in a directory.
I have checked indexes under Hosts->Extended which should solve this problem.
但不是.我找到了很多文章,但没有人能解决我的问题.我也不是服务器方面的专家,但是我认为即使在MAMP中,也必须有一个简单的解决方案.
But it doesn't. I've found many articles but not anyone that solves my problem. I'm also not a specialist on server, but i think there must be a easy solution even in MAMP it works.
我已经阅读了一些有关网络共享的内容,但是描述不够清楚.
I've read something over Web-sharing but this was not clear described enough.
- MACOSX:10.11.2
- MAMP PRO:3.5
日志中的一个失败是:
权限被拒绝:文件权限拒绝服务器访问:/folder/file.js"
"Permission denied: file permissions deny server access: /folder/file.js"
但是我可以在一般情况下进行更改.
But where i can change it generally.
感谢您的帮助.我很困惑.
Thanks for your Help. I'm very confused.
codeFragment
推荐答案
听起来像权限问题.将所有父文件夹都设置为只读",并将其分配给下面的所有文件夹/文件.
Sounds like a permission problem. Set the parent folder to "read only" for all and assign it to all folders/files below.
问候,
彼得
这篇关于403 MAMP上的禁止错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!