apache different directories

Discussion in 'Apache' started by zerocool22, Mar 20, 2008.

  1. #1
    Hey, i want to user multiple directorys:

    I have directory's like /home/username1 and /home/username2 but i also have directory's set up like this /data/username3 and /data/username4.

    So i have set my document rot to /home/ and this works wel for the first users, so i can surf to http://localhost/username1 and http://localhost/username2 but the thing is http://localhost/username 3 en httpd://lcoalhost/username4 does not work?? How can i fix this??
     
    zerocool22, Mar 20, 2008 IP
  2. SSANZ

    SSANZ Peon

    Messages:
    861
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You need to setup virtualhosts in your httpd.conf.

    Read up the guide on configuration. yes it is advanced but once you have a hang of it, its fine...

    Try setting up DA on the box, it will aid in getting multiple users configured in apache.
     
    SSANZ, Mar 22, 2008 IP