Virtual Host Configuration|
# This sample configuration file illustrates creating two
# virtual servers, and associated anonymous logins.
# Port 21 is the standard FTP port.
# Global creates a "global" configuration that is shared by the
# main server and all virtualhosts.
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
# Set the user and group that the server normally runs at.
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
# Maximum seconds a data connection may "stall"
# First virtual server
ServerName "Virtual.com's FTP Server"
# DeferWelcome prevents proftpd from displaying the servername
# until a client has authenticated.
# Limit normal user logins, because we only want to allow
# guest logins.
# Next, create a "guest" account (which could be used
# by a customer to allow private access to their web site, etc)
# A private directory that we don't want the user getting in to.
<Limit READ WRITE DIRS>
# Another virtual server, this one running on our primary address,
# but on port 4000. The only access is to a single anonymous login.
ServerName "Our private FTP server"
UserAlias anonymous ftp