B
B
BlagoYar Silence2021-10-09 16:52:56
linux
BlagoYar Silence, 2021-10-09 16:52:56

Why Forbidden when going to the site?

Configs are
/etc/apache2/apache2.conf
/etc/apache2/sites-enabled/demo.site.ru.conf
/etc/apache2/sites-enabled/fastdl.site.ru.conf

Forbidden
You don't have permission to access this resource.

Apache/2.4.38 (Debian) Server at fastdl.moscow-battle.ru Port 443


Permissions on
61619eb66686a189029413.jpeg

subdomain directories for storage like sites won't work.
listing is prohibited, but download / upload must be allowed.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
ky0, 2021-10-09
@ky0

There are two options - either a ban at the level of the web server (it is unlikely, I did not look at the configs), or incorrect permissions on directories / files. See which user Apache and PHP are running under - and change the owner/group accordingly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question