Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: apache

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1


    i am trying to install httpd-2.0.54.tar.gz on mandrake linux 10.1 and its giving me problems i did this

    tar -zxvf httpd-2.0.53.tar.gz
    cd httpd-2.0.53
    ./configure --enable-rewrite --enable-cgi
    make install
    cd ..

    when i trype make it says

    [root@localhost httpd-2.0.54]# make
    make: *** No targets specified and no makefile found. Stop.
    [root@localhost httpd-2.0.54]#

  2. #2
    This maybe because of ./configure either failed to create required scripts, or they are located somewhere else (I doubt in second option though). Did ./configure script complete successfully?

  3. #3
    no i dont think so.. this is what it said.. imma huge noob so im not sure what its doing, basicly i just want a webserver.. im using mandrake 10.1

    [root@localhost httpd-2.0.54]# ./configure --enable-rewrite --enable-cgi
    checking for chosen layout... Apache
    checking for working mkdir -p... yes
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu

    Configuring Apache Portable Runtime library ...

    checking for APR... reconfig
    configuring package in srclib/apr now
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    Configuring APR library
    Platform: i686-pc-linux-gnu
    checking for working mkdir -p... yes
    APR Version: 0.9.6
    checking for chosen layout... apr
    checking for gcc... no
    checking for cc... no
    checking for cc... no
    checking for cl... no
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.
    configure failed for srclib/apr
    [root@localhost httpd-2.0.54]#

  4. $spacer_open
  5. #4
    well i installed something called gcc from the mandrake cd and it seems to have compiled and installed or whatever it does because it spits out a whole bunch of text at each step and i didnt get any errors.. i type

    /etc/rc.d/init.d/httpd start

    ps aux|grep httpd

    and then it spits out a bunch of text and the webserver is runing now?? how do i assign it to a folder so i can write the link at lets say work and download files from that folder?

  6. #5
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    North Carolina
    in your httpd.conf file it tells where your doc root is, that is where your files are going to be stored. you could probably just do a file search to find it.

    this is the best step by step guide I have found

  7. #6
    is it the one called httpd??

    because when i open and read it i cant really see where i should make the changes..

  8. #7
    gcc is gnu c/c++ compiler. You need a compiler to compile certain software from sources.

    Normally you should be able to view the page If Apache welcome page shows up then your installation was successfull and the webserver is running.

    httpd.conf - is the configuration file located in "conf" folder under your web folder. If you ran "./configure --with-prefix=/path/to/www/folder" then look for config file in "/path/to/www/folder/conf/httpd.conf", otherwise if you just run "./configure", by default it should be put in /usr/local/apache/conf/httpd.conf.

    Locate the line "DocumentRoot" in that file. Value for that option is the path to your default web folder. You can either replace the contents of that folder with your web content, or create subfolder (in this case to view your page refer to, or change "DocumentRoot" to point to other location.

    You should refer to manuals and tutorials at Once you tried to do something based on documentation, and by some reason it doesn't work the way it should, post your question on forum.

    See for details on how to edit httpd.conf file.

    Good luck

  9. #8
    thanks but when i change documentroot nothing happens it stays on the same path

    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/home/nimwa2"

  10. #9

  11. #10
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Nottingham, England
    If you change the config file, you have to restart the apache server

    service httpd restart

    (or, if your system doesn't have the 'service' command)

    /etc/init.d/httpd restart
    Linux user #126863 - see

Posting Permissions

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