# To have more informations about Proftpd configuration
# look at :
http://www.proftpd.org/#
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "Wieselchen"
ServerType Standalone
DefaultServer on
DefaultRoot ~
DefaultRoot /home/ftp/gastrotech wamsler
DefaultRoot /home/ftp/stuff extern
<Global>
AllowOverwrite on
AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on
AllowOverride on
</Global>
DefaultTransferMode binary
UseFtpUsers on
# Port 21 is the standard FTP port.
Port 2121
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
RequireValidShell off
# 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)
MaxInstances 30
# Primary log file mest be outside of system logrotate province
TransferLog /usr/local/psa/var/log/xferlog
#Change default group for new files and directories in vhosts dir to psacln
<Directory /srv/www/vhosts>
GroupOwner psacln
</Directory>
# 3 User per Anmeldung
MaxHostsPerUser 3 "Bitte nur %m mal anmelden"
MaxClientsPerHost 3 "%m mal reicht dir wohl nicht?"
#Max Transferrate
TransferRate RETR 200.0
# delay on login off
IdentLookups off
UseReverseDNS off
<VirtualHost ftp.XXXXXXXXXX >
ServerName "Second virtual ftp-Server"
Port 4000
<Limit LOGIN>
AllowAll
</Limit>
</VirtualHost>