About localhost output....

Discussion in 'Apache' started by henryJack85, Jun 6, 2007.

  1. #1
    Hi,

    We all know install the Apache right. (I am a Linux user)

    May I know when we browser "http://localhost/" then the webpage come out mean that you have successful install apache.

    May I know where is the location of the webpage that localhost point to?

    Where the file that display the output?

    and where the script or other config file that make this pointer? Is it the httpd.conf file?

    I figure this file have 2 httpd.conf file, one inside the apache and other one is in the etc file ( the services)...

    Hope you all understand what I try to say.

    Thank you.

    Best Regards
    Henry jack
     
    henryJack85, Jun 6, 2007 IP
  2. damonp

    damonp Peon

    Messages:
    97
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Rename one of the httpd.conf files so Apache cannot find it. Restart Apache. If it errors out... that was the one. If not, it's probably the other one.
     
    damonp, Jun 8, 2007 IP
  3. bin_asc

    bin_asc Active Member

    Messages:
    122
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Are you talking about the page that shows up ? Look in /usr/local/apache/htdocs .
     
    bin_asc, Jun 10, 2007 IP