Re: proftpd + virtual hosts
Graham Ashton wrote:
> is it possible to do name based virtual hosting with proftpd?
>
> the documentation on the web site suggests not, and that you need to do
> IP address based virtual hosting instead. :(
Name-based virtual hosting in Apache is done by reading the headers of a
HTTP request:
GET /path/to/file.html HTTP/1.0
Host: www.virtualhost.com
[more headers]
Apache uses the Host header to determine which virtual server it should use.
In the FTP-protocol, there is no such header, thus name-based virtual
hosting isn't possible in FTP-servers.
IP-address-based virtual hosting is possible, because an ftpserver may bind
itself to a specific network interface, instead of all of them.
HTH,
-Remco
Reply to: