El día 17 de julio de 2011 23:57, Carlos Miranda Molina (Mstaaravin)
<mstaara...@gmail.com> escribió:
> 2011/7/17 rantis cares <rantisca...@gmail.com>:
>> Listeros:
>>
>> Ya tengo cierta "experiencia" en montar servidores caseros con apache.
>> Tengo tambien experiencia en configurar los virtual host o "dominios
>> virtuales". Pero de hace varios dias a hoy, todo cambio, nunca me
>> habia salido el error siguiente:
>>
>> [warn] NameVirtualHost *:80 has no VirtualHosts
>
> Qué hay en tu /etc/apache2/ports.conf ...............?

# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default
# This is also true if you have upgraded from before 2.2.9-3 (i.e. from
# Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
# README.Debian.gz

NameVirtualHost *:80
Listen 80

<IfModule mod_ssl.c>
    # SSL name based virtual hosts are not yet supported, therefore no
    # NameVirtualHost statement here
    Listen 443
</IfModule>

Tambien he intentando modificar este archivo gregando mis vhost como
sigue (pero tampoco funciona):

# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default
# This is also true if you have upgraded from before 2.2.9-3 (i.e. from
# Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
# README.Debian.gz

NameVirtualHost *:80
Listen 80

<IfModule mod_ssl.c>
    # SSL name based virtual hosts are not yet supported, therefore no
    # NameVirtualHost statement here
    Listen 443
</IfModule>

NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin rantisca...@gmail.com
ServerName http://dominio1.ath.cx
DocumentRoot /home/dominio1/www
ErrorLog /home/uoc_error_log
TransferLog /home/uoc_
</VirtualHost>

<VirtualHost *:80>
ServerAdmin rantisca...@gmail.com
ServerName http://dominio2.ath.cx
DocumentRoot /home/dominio2/www
ErrorLog /home/uoc_error_log
TransferLog /home/uoc_
</VirtualHost>


>
> --
> "La Voluntad es el único motor de nuestros logros"
> http://ngen.com.ar/blog
>
>
> --
> To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: 
> http://lists.debian.org/cacjp8-o-1tmp4pr5jatwb2n36ptebe_nfsmzsu9rw0amd2q...@mail.gmail.com
>
>


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cal0xakc4etwn5pwkydomsf0hb-kcaqzfvc+rfox_axpbn_j...@mail.gmail.com

Responder a