D
D
daladn02019-11-17 21:17:25
Virtualization
daladn0, 2019-11-17 21:17:25

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

I installed the Apache and FTP server on Ubuntu, I upload the site from the computer to the server via FTP (I throw them into the user directory), and from there I transfer the files to Apache (/var/www/html) via mc, I try to launch the site in the browser and get this is "Forbidden
You don't have permission to access this resource". I know that the problem seems to be solved through chown, but I don’t understand to whom and what folders to issue (if I directly create a file in Apache and already enter some markup thread there, then the site is like it should work, I WORK FROM ROOT root)

Answer the question

In order to leave comments, you need to log in

5 answer(s)
D
Drno, 2018-11-08
@AEG

KVM on centOS. If you are familiar with Linux.
If not - virtualbox
Especially the requirements are ridiculous ... I'm talking about loads
I would deploy a proxy on centOS, then put KVM on it and already deployed Windows machines on it

C
Cabac_B, 2018-11-08
@Cabac_B

VmWare ESXi is the best. But capricious in terms of the required hardware, it will not go everywhere.
Citrix Xen or MS Hyper-V where ESXi is not possible.

M
moropsk, 2018-11-08
@moropsk

https://serveradmin.ru/ustanovka-i-nastroyka-proxmox/

M
Maxim E, 2018-11-08
@creativeworm

We use proxmox in production, we do not complain.

O
OSBoy, 2019-11-17
@OSBoy

Look up the owner and group of your Apache directory:
If the owner/group is, for example: www/www, then for a specific file:
or for the entire contents of /var/www/html at once:
chown -R www:www /var/www/html/*

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question