Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, i need help, i just installed httpd 2.0.43.tar.gz in linux 3 (red hat) all source codes and conf are save in /usr/local/apache2 now i wanted to test if my ...
  1. #1
    Just Joined!
    Join Date
    Sep 2007
    Posts
    2

    httpd.conf help please

    Hi,

    i need help, i just installed httpd 2.0.43.tar.gz
    in linux 3 (red hat)
    all source codes and conf are save in
    /usr/local/apache2

    now i wanted to test if my apache is working and want to start it using
    /usr/local/apache2/bin/apachectl start

    but i am getting this error

    Code:
    httpd: could not open document config file /httpd.conf
    how can i fix this?
    hope you could help me with this.

    thanks!

  2. #2
    Linux User Giles's Avatar
    Join Date
    May 2005
    Location
    Gloucestershire and Cambridge, UK
    Posts
    283
    httpd.conf is the main config file for apache. In your installation I would expect it to be in /usr/local/apache2/conf/httpd.conf If it's not there, try

    Code:
    find * | grep httpd.conf
    which might show it somewhere else. If it hasn't been installed anywhere there was something wrong with the installation - try reinstalling apache. In fact, since it's only just installed, it really should be able to find httpd.conf without you doing anything: it might be worth reinstalling anyway. Up to you.

    HTH
    Giles
    "Our greatest fear is not that we are powerless. Our greatest fear is Microsoft"
    Registered linux user #391027

  3. #3
    Just Joined! mankok1d's Avatar
    Join Date
    Jun 2006
    Posts
    1
    touch /usr/local/apache2/httpd.conf and start apache

  4. #4
    Just Joined!
    Join Date
    Sep 2007
    Posts
    2

    if it not to late

    if its not to late

    Try using xampp is a very good tool I have found

    apache friends - xampp for linux

    JD

Posting Permissions

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