I just setup my new server, and there are problems with right management :

My /var/www is owned by root and the group "www-data".

But I would like my user could put his data in his /home/user. And when I do it (and change th VirtualHost), apache said "Permission denied"…

So how to setup correct rights ?


You need mod_userdir to enable per-user webdirectories.

There is a good documentation on how to set it up here

  • Thank you very much ! I will test it (and remove my ugly hack). – Dorian Aug 3 '10 at 11:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.