On Mon, 8 Dec 2003 03:03:41 +0100 (CET)
fabien <[EMAIL PROTECTED]> wrote:

> ServerName toto1.org
> DocumentRoot /var/www
> 
> BindAddress *
> NameVirtualHost *
> 
> <VirtualHost *>
>     ServerAdmin [EMAIL PROTECTED]
>     DocumentRoot /var/toto2
>     ServerName toto2.org
> </VirtualHost>

Et en mettant toto2.org � la place de "*" dans virtual host ?

> finalement, j'ai trouv� le message suivant sur
> http://dsb3.com/dave/dynipvhost.html:
> 
> "After much experimentation I determine that you simply can't do name
> based virtual hosting on a dynamic IP. It's not possible.

C'est mieux d'avoir une IP par domaine mais avec les browsers r�cents
�a doit marcher aussi avec le nom du site.

> "The caveat is a
> dynamic reconfiguration and restart of apache every time the IP changes
> but this does not seem acceptable. With this in mind, we stop trying to
> virtual host on the dynamic IP and start trying to fool apache into doing
> something else for us".

Je ne vois pas pourquoi mais �a ne doit pas �tre un probl�me de recharger
la configuration quand l'IP change non ?

Alain

Répondre à