SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Apache on Linux

  1. #1
    SitePoint Addict lmasi02's Avatar
    Join Date
    Aug 2004
    Location
    Zambia
    Posts
    257
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Apache on Linux

    Hi
    I ve been working with apache web server on windows. but ive moved to linux and am quite new to linux. In window i was saving my docs in the htdocs to be viewed on the internet. I dont know where to put them on linux redhat. I found apache server already installed. Please help

  2. #2
    SitePoint Member stew's Avatar
    Join Date
    Apr 2002
    Location
    Durham, UK
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would try /var/www/html

    To be certain have a look in httpd.conf which will most likely be found here

    /etc/httpd/conf/httpd.conf

    If you can't find it here try this command to locate it

    find / -name httpd.conf -print

    Look for the line

    DocumentRoot

    Hope this helps

    Stew

    p.s. Not sure if this was really a PHP question

  3. #3
    SitePoint Addict lmasi02's Avatar
    Join Date
    Aug 2004
    Location
    Zambia
    Posts
    257
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It is related to PHP because I used PHP, apache and mysql on windows. but now the system supposed to be moved to linux


Bookmarks

Posting Permissions

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