APACHE (start)

Discussion in 'Apache' started by negotiator, May 10, 2007.

  1. #1
    Hi people,

    I'm new here and I have a problem with apache.
    How can I configure http.conf?


    Example:
    #<VirtualHost *:80>
    # ServerAdmin webmaster@dummy-host.example.com
    # DocumentRoot /www/docs/dummy-host.example.com
    # ServerName dummy-host.example.com
    # ErrorLog logs/dummy-host.example.com-error_log
    # CustomLog logs/dummy-host.example.com-access_log common
    #</VirtualHost>
    #
    #<VirtualHost *.80>
    # ServerAdmin webmaster@mus.com
    # DocumentRoot /www/C:/docs
    # ServerName imus.com
    # ErrorLog logs/mus.com-error_log
    # CustomLog logs/ictmus.com-access_log common
    #</VirtualHost>


    when I do that, I still can'd eccess my page.


    CAN ANY ONE PLEASE HELP ME OUT?
     
    negotiator, May 10, 2007 IP
  2. sspt

    sspt Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You need to uncomment your virtual host lines:

    Instead of

    Try
     
    sspt, May 10, 2007 IP
  3. negotiator

    negotiator Guest

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    X
    Network Access Message: The website cannot be found

    Explanation: The IP address for the website you requested could not be found.

    Try the following:
    Refresh page: Search for the page again by clicking the Refresh button. The timeout may have occurred due to Internet congestion.
    Check spelling: Check that you typed the Web page address correctly. The address may have been mistyped.
    Access from a link: If there is a link to the page you are looking for, try accessing the page from that link.
    If you are still not able to view the requested page, try contacting your administrator or Helpdesk.
     
    negotiator, May 10, 2007 IP
  4. Juan Pablo Olivera

    Juan Pablo Olivera Peon

    Messages:
    53
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    It will take a few hundreds posts to really help you here. I would suggest that you read the apache documentation on apache(dot)org , specially the virtualhosts section.

    Good luck :)
     
    Juan Pablo Olivera, May 11, 2007 IP
  5. inworx

    inworx Peon

    Messages:
    4,860
    Likes Received:
    201
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Well, I really dont have idea about the problem you're talking about.

    Can you please tell more what you need to do?

    httpd.conf is present be default, isnt it?
     
    inworx, May 14, 2007 IP