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 Apache 2.2 installed. I want to set up my server so that for each user I create there is a public_html directory in which that user can put it's web content. Now, of course, making the directory is just a matter of mkdir, but how do I tell Apache to "watch" over that directory's contents (and serve them if required)

share|improve this question
up vote 7 down vote accepted

Check out "mod_userdir" (you should have a .conf somewhere in /etc/, or have it in httpd.conf/apache.conf).

Basically all you have to do is to enable the mod, and it should work with the default configuration.

share|improve this answer
Works! Thank you! – Valentin Radu Apr 29 '12 at 16:12

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.