View Single Post
Old 19th March 2013, 13:02
tchouvince tchouvince is offline
Junior Member
Join Date: Mar 2013
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts

Originally Posted by almere View Post
You’ve got the wrong permissions set on one or more folders.
Please, change permissions of your index file to 755 (because now you have 777, I guess).
You can try this for each site (in your case for web1 and web2):

If you care about your security:
find /var/www/clients/client1/web1/web/* -type f -exec chmod 644 {} \;
find /var/www/clients/client1/web1/web/* -type d -exec chmod 755 {} \;
find /var/www/clients/client1/web2/web/* -type f -exec chmod 644 {} \;
find /var/www/clients/client1/web2/web/* -type d -exec chmod 755 {} \;

If you do not care about your security, or just lazzzzzzzy:
chmod -R 755 /var/www/clients/client1/web1/web/
chmod -R 755 /var/www/clients/client1/web2/web/
Thanks you very much.
Now it's works.
I had also change owner of client's directory (for example /var/www/clients/client1):
the client's directories seems to be root.
Reply With Quote