K
K
Kolya2015-07-03 16:58:17
Apache HTTP Server
Kolya, 2015-07-03 16:58:17

Permission denied when loading pages on a virtual host, what should I do?

I put the site on a virtual host, when loading any page, errors appear at the top:
52cebb4ab649481c9fb22ba574ccdd4d.png
In the config I wrote:

<VirtualHost 127.0.0.10:80>
  ServerName arkston.conf
  ServerAlias www.arkston.conf
  DocumentRoot /var/www/arkston/

  Include /etc/phpmyadmin/apache.conf

  <Directory /var/www/arkston/>
  	 	Order allow,deny
   		Allow from all
   		Require all granted
  </Directory>
  
</VirtualHost>

Gave permission to the folder:
sudo chmod -R 755 /var/www/arkston/

Nothing helps. How to be?
ps site on opencart.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kolya, 2015-07-03
@Dev_Kpug

8fb13fd9644b4a98915e0fcb398d9702.png

A
Alexey Ukolov, 2015-07-03
@alexey-m-ukolov

Go to the cache folder, see who is the owner of the files and what rights they have, compare with the user on whose behalf the web server is running (by default this is www-data).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question