A friend and I are using MAMP to develop a site. On my computer I can access CSS files in any folder under our /application root directory. On his computer, many of them have permission forbidden.

We did CHMOD 755 and checked that his htaccess wouldn't be restricting anything. What else could cause this difference in permissions?

Error:

GET http://mysite.loc/application/javascripts/bootstrap/bootstrap-typeahead.js 403 (Forbidden) wefinance/:26
有帮助吗?

解决方案

ensure the higher level permissions are properly set as well (higher level is enforced first). Also did you sudo when setting the permissions?

Ensure permissions are set properly for the www group.

Make sure your apache is configured to allow the connection, as well.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top