Answer the question
In order to leave comments, you need to log in
How to open www-data access to the user folder?
Good afternoon. I decided to move the /var/www folder to /home/user/Sites
In the access rights of "Sites" is "Access files" for all users, so why does Apache swear that access is denied?
Forbidden
You don't have permission to access / on this server.
<Directory /home/user/Sites>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Answer the question
In order to leave comments, you need to log in
Ваше решение неверное. Не следует переносить серверную папку /var/www в домашнюю папку.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question