Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.