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 ?

link|improve this question

75% accept rate
feedback

1 Answer

up vote 1 down vote accepted

You need mod_userdir to enable per-user webdirectories.

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

link|improve this answer
Thank you very much ! I will test it (and remove my ugly hack). – Dorian Aug 3 '10 at 11:55
feedback

Your Answer

 
or
required, but never shown

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