Bonjour, > Je cherche une solution pour creer des 'virtuahost' avec proftpd, un peu > comme avec Apache. > Le seul probleme : je ne dispose que d'une seule adresse IP.
je croyais que c'etait possible et apres verification proftpd distingue les serveurs virtuels par l'IP et non par le nom du serveur dans la requete (apache c'est comme ca, non ?) donc ca ne marche pas avec une seule IP (a moins d'utiliser des ports differents) cf:http://proftpd.linux.co.uk/localsite/Userguide/linked/c1090.html <<Can I run more that one VirtualHost on a single IP? No, or at least not in the HTTP/1.1 manner of virtual hosting. This is an inbuilt limitation of the current FTP RFC., unlike the HTTP/1.1 spec there is no mechanism comparable to the "Host: foo.bar.com" HTTP header for specifying which host the connection is for. Therefore the only method for determining which VirtualHost the connection is destined for is by the destination IP. The one exception to this is if you host multiple servers on the same IP but using different ports, however this requires that the connecting client uses a non-standard port and therefore is probably not a good solution for mass hosting.>> du coup je viens de regarder ce qui etait dit sur le site d'un autre serveur bien connu: wu-ftpd, il semblerai que la limite vienne du protocole ftp. D'apres eux l'extenstion BeroFTPD de wu-ftp permet de s'en arranger, a voir... cf:http://www.westnet.com/providers/multi-wu-ftpd.txt <<I want to host multiple ftp servers on the same machine At this moment this is only possible with one IP number for each ftp server. So called 'name based virtual hosting' is inherently impossible with the current FTP protocol. WU-FTPD 2.6.0 supports this in a somewhat limited extent, BeroFTPD supports it somewhat better, but read the catch: There is a draft for an extension to the ftp protocol named HOST to support virtual hosts like HTTP. But, this is a draft and there are a lot of old ftp clients out there. So do not count on using this.>> Sebastien Linux-Azur : http://www.linux-azur.org Désinscriptions: http://www.linux-azur.org/liste.php3 **** Pas de message au format HTML, SVP ****
