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
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.