Find the answer to your Linux question:
Results 1 to 5 of 5
I am trying to get a similar setup as my school linux machines. In my home directory I have a public_www folder where I can throw my site into and ...
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Location
    SC
    Posts
    48

    hosting a website

    I am trying to get a similar setup as my school linux machines. In my home directory I have a public_www folder where I can throw my site into and it just works. Anyone know what program is used to do this? Is this what apache does?

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    Yes,it's because of apache web server. Does your public_www is a link to someother directory.Normally I used to place /var/www/http or something like that .... You could also configure the path in apache config file /etc/httpd/httpd.conf
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  3. #3
    Just Joined!
    Join Date
    Sep 2008
    Location
    SC
    Posts
    48
    Ok i'm installing apache as I type this. I will try what you said.

  4. #4
    Just Joined!
    Join Date
    Sep 2008
    Location
    SC
    Posts
    48
    Ok i am looking at the line "DocumentRoot" which points to htdocs. What can I put here to every user can have their own address like mydomain/~username?

  5. #5
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    though i haven't tried such thing before.I googled this link Hosting multiple websites with Apache2 . it says debian,but it should be similar to all distros....HTH
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...