Bon donc histoire de changer, ma redirection gandi :
*.domain.tld -> http://aa.bb.cc.dd
mon domaine.conf :
Code :
- NameVirtualHost aa.bb.cc.dd
- NameVirtualHost 192.168.0.1
- NameVirtualHost 192.168.1.1
- <VirtualHost 192.168.0.1 192.168.1.1 aa.bb.cc.cc>
- ServerName domain.tld
- ServerAlias *.domain.tld
- ServerAdmin admin@domain.tld
- VirtualDocumentRoot /home/www/domain.tld/%1/
- </VirtualHost>
|
si je me connecte par domain.tld ou www.domain.tld pas de probléme.
si je passe par un autre sous domaine genre foo.domain.tld voici ce que me dis apache2 :
Citation :
[Wed Aug 01 22:45:53 2007] [error] [client 192.168.1.254] File does not exist: /home/www/domain/aa, referer: http://foo.domain.org/
|
avec aa qui est le début de l'adresse ip du server
si je change ma redirection gandi en *.domain.tld > http://domain.tld tous les sous domaines renvoient bien sur domain.tld mais du coup le virtualhost ne marche pas
Vous avez une idée de là ou j'ai merdé ?
Merci
---------------
LoD 4 ever && PWC spirit|Le topak de l'iMP-450|inDATOUNEwe trust