Find the answer to your Linux question:
Results 1 to 3 of 3
I have installed recently Debian 3.0 (stable version). I have also installed apache. I downloaded the sources and configure and make by the following way. ./configure –prefix=/usr/local/apache –enable-module=most –disable-module=auth_dbm –enable-shred=max ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2004
    Posts
    14

    Apache problems. I cant see the file i set for DocumentRoot


    I have installed recently Debian 3.0 (stable version). I have also installed apache. I downloaded the sources and configure and make by the following way.

    ./configure –prefix=/usr/local/apache –enable-module=most –disable-module=auth_dbm –enable-shred=max

    Execute make and make install

    I have made the followings changes in the file httpd.conf

    DocumentRoot “/var/www/html/Recologic”
    <Directory “/var/www/html/Recologic”>
    ServerName with the value of hostname
    DirectoryIndex index.html index.htm index.html.var
    User apache /I have also tried nobody
    Group apache / I have also tried #-1

    I add the user as no-login y no-home,
    Is it a right way of configuring?

    I have made the Recologic folder with as 755 privileges
    I have made the files are into the folder as 644 privileges and there is a file called index.html.

    The server works. I can see the file index.html which is in the folder /var/www. It doesn’t pay attention to the DocumentRoot “/var/www/html/Recologic”.

    When I start the service apache with apachectl Start I get the following error:

    Could not determine the server’s fully qualified domain name, using 192.168.2.11 for ServerName.
    This is the ip local of my server.
    My next step is to install BIND but at the moment I am using the file /etc/hosts. I have set the name of the server with the 192.168.2.11

    Do I need to do something else?


    Thanks very much.

  2. #2
    Just Joined!
    Join Date
    Mar 2004
    Posts
    14

    Solution

    I was also running apache 1.3 . So any change in the file of apache2 didnt work at all.
    When i installed i choose to install apache and the version 1.3 was the one got installed.

    Thanks to the ones read the question.

    Every is fine now.

  3. #3
    Linux Newbie
    Join Date
    Oct 2004
    Location
    Manchester, England
    Posts
    165
    you could have just apt-get 'd apache 2 from testing/sarge

Posting Permissions

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