Re: [Proftpd-user] [SPAM] Re: Port in virtual hosts
"TJ Saunders" <[email protected]> Sun, 23 Jul 2023 09:57:52 -0700
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
>> The short answer is: yes, it's possible to have multiple virtual hosts >> on the same IP address and port. >> >> However, doing so requires support from clients as well. As Fantomas >> pointed out, it requires that FTP clients send the HOST command -- and >> not all FTP clients do so. This command is equivalent to HTTP's Host >> header, but is newer, and so not every FTP client implementation has >> been updated to use it. Without that HOST command, ProFTPD only has >> the IP address/port combination from a client TCP connection to use >> for determining which virtual host to use -- and if there are many >> virtual hosts (differentiated by name) using the same IP address and >> port, it won't work as you expect. > > Now all is clear. > Please add that answer to doc about virtual hosts - its worth it. Done; I've added it to the bottom of the FAQs there: http://www.proftpd.org/docs/howto/Vhost.html#FAQ Cheers, TJ _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html