I must install Apache 2 on the distribution (Linux) Mandriva 2006.
The program is installed, now, I must to configure it.
I have edit the httpd.conf
and I have decomment the relative line to virtual hosts
) and then I have modified the following rows httpd-vhosts.conf
in that way:
I have created in the path usr/local/apache2/www/docs/
the file example.html, to make a tests.
At this point I have started the server with the command line apachectl start
, but I receive the message:
httpd: Could not reliably determine the server' s Fully Qualified Domain Name, using 127.0.0.1 for ServerName httpd not running, trying to start not listening sockets available, shutting down Unable to open logs
but if launch apachectl status
, seems that the server is ok, says to me also from how much time is active...
From the other PC connected in the LAN (through the router D-Link 504T) I have tried to connect me to the server www.example.com/www/docs/example.html
, but I receive error 404, relative to the pages not found.
But in this page there is a indication of the Apache server and my distribution linux, so I think that the server works, or not?
Someone know if I must also configure anything else?
Can you give me the typical configuration for the virtual host?