Server Fault is a question and answer site for system and network administrators. 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 have Centos 5 running Apache/2.2.3. Now the default folder is /var/www/html and whatever I put in it shows when I browse it from the web.

Now I would like to to create a folder www under my user bob and have all files loaded from that folder;


When I change the document root folder in my httpd.config I get an 403 error, I have even tried with virtualhosts but the same error shows.

Any ideas on what to do next?

share|improve this question
up vote 2 down vote accepted

apache runs under user who does not have right to read home folder of bob. you can change rights of this folder so everyone can read from it or better create group to which both apache's user and bob belong and then change ownership of /home/bob/www so that group can read and list it's content.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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