Subject: Re:virt ftp

From: Bill Levering <[email-masked]>
Date: Wed, 23 Oct 1996 18:37:02 -0700

>http://www.westnet.com/providers/multi-wu-ftpd.txt
>
>Date: Fri, 26 May 1995 21:33:23 -0400 (EDT)
>Subject: Virtual FTP Servers
>
>
>I'm attaching a patch for wu-ftpd 2.4 to allow virtual ftp servers to be
>setup.  Basically so a user ftping to ftp1.domain.com gets one ftp banner
>and one ftp directory and a user ftping to ftp2.domain.com gets another
>banner and directory even though they are on the same machine and port.
>
>Please send me comments, I'm interested in improving it, and hearing
>how it works for people.
>
>Here's the steps.
>
>
># Virtual Servers
>virtual 165.254.117.200 /home/home3/ftp2 /home/home3/ftp2/etc/banner.msg
#virtual
virtual 206.129.10.125 root /home/ftp2
other attempts:
virtual 206.129.10.125 /home/ftp2
virtual ftp.planx.com  /home/ftp2
Done
>
>where the 1st arg is the ip # of the virtual server, the second is the
>new root, and the third is the banner to display upon login.
>
>Note: all the other message files, etc, and permissions and other settings
>in the ftpaccess file apply to all virtual servers.
ftp2 is an exact duplicate of ftp but less directories  :)
linux 2.0.21
ifconfig eth0:0 206.129.10.125 up
route add 206.129.10.125 dev eth0:0
Check ifconfig & route...looks good
Running wu-ftp 2.4.2b11 no patch

ftp 206.129.10.125

gets me to the main ftp directory (/home/ftp)... :<
  not /home/ftp2

>Here's the patch
...etc....
applied and no difference. Readme seems to indicate the patch was
previously put in.
#define VIRTUAL (is in the makefile.lnx)

Any tips would be appreciated,

Bill Levering                            ISP Manager
[email-masked]                          Seattle, Wa
-----------------------------------------------------
DluxNet                                (206) 812-2769
Fax                                    (206) 622-3066
http://www.dlux.net/                   (206) 812-2772
-----------------------------------------------------