Apache2 and UserDir Mod

Discussion in 'Apache' started by cosine_omerta, Mar 16, 2011.

  1. #1
    I have a server running apache2 and everything is working fine. I wanted to add more users of the server and have them be able to have their own webpages. At this point they each have their own www directory, and virtual host (sites-enabled).

    I wanted to implement the UserDir mod of apache2, but I can't seem to get it to work. I used the a2enmod command, and it seemed to activate it. It is now in the mods-enabled directory. When I try to use the userdir command, it says it is not found.

    What have I missed? I want to set up my server so that when it is accessed it will display the users pages as www.mywebserver.net/margaret/index.html.

    My reading said that the userdir mod is what I wanted, but i get this when I try to use it : userdir: command not found.

    Thanks for any help.
     
    cosine_omerta, Mar 16, 2011 IP
  2. cosine_omerta

    cosine_omerta Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Found the answer. Here it is for anyone else walking through a tutorial and not getting it to work.
    The userdir enabled part is not a command, its a line you add to the userdir.conf file. Look at the top and add it to the other lines with UserDir defined.
     
    cosine_omerta, Mar 16, 2011 IP