(sin asunto)

Trullo analpaper en gmail.com
Vie Mar 17 02:55:48 GMT 2006


On 17/03/06, DieGoaBeL <diegoabelagmail.com> wrote:
> Hola buenas, tengo un pequeño problema
>
> estoy configurando mis dominios en apache por hosts virtuales, el problema
> es que cuando voy a comprobar que los dominios estan en funcionamiento todo
> correcto, el problema es que cuando entro por un subdominio no declarado en
> apache, este me redirecciona al primer sitio que cree, ahy alguna manera de
> solucionar este pequeño problema.
>
> Un saludo.
Buenas!
lo siento pero solo encontre informacion relativa a tu problema en
ingles.  te copio para ir haciendo la boca agua la parte mas
significativa del doc.

---
If no matching virtual host is found, then the first listed virtual
host that matches the IP address will be used.

As a consequence, the first listed virtual host is the default virtual
host. The DocumentRoot from the main server will never be used when an
IP address matches the NameVirtualHost directive. If you would like to
have a special configuration for requests that do not match any
particular virtual host, simply put that configuration in a
<VirtualHost> container and list it first in the configuration file.
---

desea saber mas?
docs de apache -> http://httpd.apache.org/docs/trunk/
todo sobre vhost -> http://httpd.apache.org/docs/trunk/vhosts/
en concreto tu duda -> http://httpd.apache.org/docs/trunk/vhosts/name-based.html

espero te sean utiles los enlaces.

--
Trullo   :o]

       crunching numbers
    for scientific experiment
http://setiathome.berkeley.edu


Más información sobre la lista de distribución ubuntu-es