Le 12234i�me jour apr�s Epoch,
Jacques Foury �crivait:
> Benoit Lathiere wrote:
>
>> Bjour,
>>
>> j'ai un site titi.toto.com
>> je voudrais avoir le (m�me) site www.titi.toto.com
>>
>> est-ce possible pour Bind et Apache d'avoir un alias avec un point ?
>>
>> merci,
>>
>> Benoit.
>>
>>
> tout � fait oui.
Ben avec �a, il doit �tre vachement avanc� le mec :(
Dans bind, tu peux mettre une ligne du genre:
* IN A xx.yy.zz.tt
et dans apache, tu rajoutes:
# ========================
# default server (IP)
# ========================
<VirtualHost xx.yy.zz.tt:80>
SSLDisable
Port 80
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/httpd/html/noname
ServerName *
</VirtualHost>
# ========================
# mysubdomain.mydomain.org
# ========================
<VirtualHost xx.yy.zz.tt:80>
SSLDisable
Port 80
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/httpd/html/tititoto
ServerName mysubdomain.mydomain.org
ServerAlias mysubdomain.mydomain.org *.mysubdomain.mydomain.org
</VirtualHost>
A la place de * dans httpd.conf tu peux mettre une liste exhaustive des noms
qui vont bien.
--
Anyone who considers protocol unimportant has never dealt with a cat.
-- R. Heinlein
--
Fran�ois TOURDE - tourde.org - 23 rue Bernard GANTE - 93250 VILLEMOMBLE
T�l: 01 49 35 96 69 - Mob: 06 81 01 81 80
eMail: mailto:[EMAIL PROTECTED] - URL: http://francois.tourde.org/