我知道这已经被回答了数千次,但我仍然面对这个问题,我无法解决这个问题。我是服务器新手。请帮忙。
我将用户和组更改为www-data。我设置如下所示的权限。
这些是目录/文件权限:(不能包含文件,因为服务器在VM上运行)https://ctrlv.cz/shots/2018/09/18/LrCe.png
权限有问题吗?非常感谢您正确的方向。
请替换/etc/apache2/sites-available/yourappname.conf文件目录设置。
<Directory /path/yourapp/public>
Allow from all
Options -MultiViews
Options FollowSymLinks
Options All
require all granted
AllowOverride All
</Directory>