Запрещенный сервер Apache/2.4.41 (Ubuntu) по адресу ....... Порт 80
не работает на удаленном хостинге VDS django example
по запросу в консоли
(env) root@vm2212126314:~/django_project# tail -f /var/log/apache2/error.log
ответ
[Wed Dec 14 23:07:46.528001 2022] [core:error] [pid 15644:tid 139855996606208] (13)Permission denied: [client 198.16.66.157:44077] AH00035: access to / denied (filesystem path '/root/django_project') because search permissions are missing on a component of the path
[Wed Dec 14 23:07:48.259732 2022] [core:error] [pid 15644:tid 139856175347456] (13)Permission denied: [client 198.16.66.157:44077] AH00035: access to / denied (filesystem path '/root/django_project') because search permissions are missing on a component of the path
[Wed Dec 14 23:07:50.125290 2022] [core:error] [pid 15644:tid 139856166954752] (13)Permission denied: [client 198.16.66.157:44077] AH00035: access to / denied (filesystem path '/root/django_project') because search permissions are missing on a component of the path
[Wed Dec 14 23:11:51.679078 2022] [core:error] [pid 15645:tid 139856208918272] (13)Permission denied: [client 104.164.195.218:35699] AH00035: access to / denied (filesystem path '/root/django_project') because search permissions are missing on a component of the path
как это исправить
в /etc/apache2/sites-available/djangoproject.conf
добавил это, но не работает:
<Directory /root/django_project>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
???