apache cannot write to the data folder
Im migrating my site over to a new server. My new setup is identical to old - ubuntu 11.4 with LAMP and ispconfig3.
Im using a php framework called elgg. I've created a data folder in /var/www/clients/client0/web4/ and copied in all my images from old server. Apache can view these images but I cannot upload to the new data folder.
I have given the data folder permission of 777. I have also made apache the owner by running chown www-data data/
But still, I cannot write to the folder. Any ideas?
i have finally solved this by making web4 the owner of data folder and client0 the group owner of data folder. dont know why it didnt work by making www-data the owner...
Each website has its own user and group to protect websites against each other, so every folder that shall be writable by a website has to be owned by the user and group of the website and not www-data.
|All times are GMT +2. The time now is 06:48.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.