Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 ?

share|improve this question
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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .