# Directives that cannot be placed under ServerType standalone ServerAdmin "admin@domain.com" UseReverseDNS off MultilineRFC2228 on DefaultServer on MaxInstances 30 ServerIdent on "FTP Server ready." DeferWelcome off RootLogin off IdentLookups off ShowSymlinks on AllowOverwrite on AllowStoreRestart on AllowRetrieveRestart on AllowForeignAddress on DisplayFirstChdir .message LsDefaultOptions "-l" # Set the user and group that the server normally runs at. User ftp Group ftp AllowOverwrite on AllowOverWrite on AllowAll DenyAll AllowAll DenyAll AllowAll DenyAll AllowAll AllowAll DenyAll # Start VirtualHost directives Umask 022 022 Port 21 TimeoutNoTransfer 500 TimeoutStalled 500 TimeoutLogin 500 TimeoutIdle 500 ServerName "ftp.domain.com" DisplayLogin .welcome DefaultRoot ~ ftp,!staff MaxClients 10 "Sorry, the maximum number of allowed users are already connected." MaxClientsPerHost 1 "Sorry, no more than one login/IP." AllowAll Umask 022 022 Port 1337 TimeoutNoTransfer 300 TimeoutStalled 300 TimeoutLogin 300 TimeoutIdle 300 ServerName "sub.domain.com" DisplayLogin .welcome DefaultRoot /mnt/data/sub.domain.com/ MaxClients 1 "Sorry, the maximum number of allowed users are already connected." AllowAll Umask 022 022 Port 6047 TimeoutNoTransfer 300 TimeoutStalled 300 TimeoutLogin 300 TimeoutIdle 300 ServerName "sub2.domain.com" DisplayLogin .welcome DefaultRoot /mnt/data/ MaxClients 2 "Sorry, the maximum number of allowed users are already connected." AllowAll