as far as i know, FTP supports HOST header for some time. So what i want to do is, run vsftp (can run multiple instances if need be) with different hostnames which point to different folders. One folder will be used for anon logins the other will be used for local logins.
Is it possible to do this?
ftp://test.test.com --> /home/test/ (anon login)
ftp://test1.test.com --> /var/ftp/ (local login)