Ver Mensaje Individual
  #7 (permalink)  
Antiguo 07/01/2007, 08:02
xaume19
 
Fecha de Ingreso: enero-2007
Mensajes: 7
Antigüedad: 18 años, 1 mes
Puntos: 0
Re: host virtual por nombres

Vale ahora si que me funciona, el problema estaba que configuraba el apache1.3 pero, a mi el que me funcionaba cuando entrab al localhost era el apache2 ;(. Ahora he conpiado el http.conf del apache1.3 a la carpeta conf.d del apache2, pero cuando reinicio el apache me devuelve este error.

jaume@Pc1:~$ sudo /etc/init.d/apache2 restart
* Forcing reload of apache 2.0 web server... /etc/host.conf: line 5: bad command `127.0.0.1 localhost '
/etc/host.conf: line 7: bad command `127.0.0.1 jaumevendrell.no-ip.org'
/etc/host.conf: line 9: bad command `127.0.0.1 jaumevendrellcarbonell.no-ip.org'
apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Sun Jan 07 14:46:09 2007] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sun Jan 07 14:46:09 2007] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sun Jan 07 14:46:09 2007] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
/etc/host.conf: line 5: bad command `127.0.0.1 localhost '
/etc/host.conf: line 7: bad command `127.0.0.1 jaumevendrell.no-ip.org'
/etc/host.conf: line 9: bad command `127.0.0.1 jaumevendrellcarbonell.no-ip.org'
apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Sun Jan 07 14:46:10 2007] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sun Jan 07 14:46:10 2007] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sun Jan 07 14:46:10 2007] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[ ok ]
espero que esto se ya lo ultimo error :(

gracias por todo