Pagina 1 di 1

Errore Apache

Inviato: gio 8 giu 2006, 1:57
da fireslack
Quando avvio apache

Codice: Seleziona tutto

/usr/local/apache2/bin/apachectl
Ecco che errore mi appare

Codice: Seleziona tutto

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
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Come risolvo questo problema?
Grazie
Ciao

Inviato: gio 8 giu 2006, 2:28
da Bakkio2
come hai configurato http.conf ?

hai messo l'ip della tua macchina nella voce listen? es:

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
#Listen 3000
#Listen 12.34.56.78:80
Listen 192.168.0.1:80


e alla voce ServerName cosa hai messo? es:
#
# ServerName allows you to set a host name which is sent back to clients for
# your server if it's different than the one the program would get (i.e., use
# "www" instead of the host's real name).
#
# Note: You cannot just invent host names and hope they work. The name you
# define here must be a valid DNS name for your host. If you don't understand
# this, ask your network administrator.
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address (e.g., http://123.45.67.89/)
# anyway, and this will make redirections work in a sensible way.
#
# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your
# machine always knows itself by this address. If you use Apache strictly for
# local testing and development, you may use 127.0.0.1 as the server name.
#
#ServerName http://www.example.com
ServerName http://www.slacky.it

Inviato: gio 8 giu 2006, 3:44
da fireslack
Problema risolto

Come si fà ha cambiare la homepage
per esempio, invece di index.html nettere index.php ?


Grazie
Ciao

Inviato: gio 8 giu 2006, 8:02
da aschenaz
fireslack ha scritto:Problema risolto

Come si fà ha cambiare la homepage
per esempio, invece di index.html nettere index.php ?


Grazie
Ciao
Vedi la mia risposta nell'altro thread.
Ciao,
nino