<IfDefine HAVE_FTPD> <IfModule !mod_ftpd.c> LoadModule ftpd_module extramodules/mod_ftpd.so # Load any of the provider modules here (for user specific chroots) #LoadModule ftpd_dbm_module extramodules/mod_ftpd_dbm.so #LoadModule ftpd_dbi_module extramodules/mod_ftpd_dbi.so LoadModule ftpd_default_module extramodules/mod_ftpd_default.so #LoadModule ftpd_fail_module extramodules/mod_ftpd_fail.so </IfModule> </IfDefine> <IfModule ftp_core.c> # FtpProtocol - Whether this server is serving the FTP protocol. Default: Off FtpProtocol Off # FtpShowRealPermissions - Show Real Permissions of files. Default: Off FtpShowRealPermissions Off # FtpFakeGroup - The fake group name to display in directory listings. Default: ftp FtpFakeGroup ftp # FtpFakeUser - The fake user name to display in directory listings. Default: ftp FtpFakeUser ftp # FtpAllowActive - Allow active(PORT) connections on this server. Default: On FtpAllowActive Off # FtpAllowFXP - Allow FXP transfers (ie. transfer data to a different server/client). Default: Off FtpAllowFXP Off # FtpPasvMinPort - Minimum PASV port to use for Data connections. Default: 1024 FtpPasvMinPort 1024 # FtpPasvMaxPort - Maximum PASV port to use for Data connections. Default: 65535 FtpPasvMaxPort 65535 # FtpChrootOrder - List of providers to query for chrooting the logging in user. Default: none #FtpChrootOrder # FtpLimitOrder - List of providers to query for limiting the logging in user. Default: none #FtpLimitOrder # FtpServerAnnounce - Whether to announce this module in the server header. Default: On FtpServerAnnounce On # FtpAllowOverwrite - Whether to allow overwriting of files when using store. Default: On FtpAllowOverwrite Off <IfModule mod_ftpd_dbm.c> # FtpDBMFile - Path to Database to use chroot mapping. # FtpDBMType - What type of DBM file to open. default, DB,GDBM,NDBM, SDBM. </IfModule> <IfModule mod_ftpd_dbi.c> # FtpDbiDriver - The DBI Driver # FtpDbiDriverDir - The directory containing the DBI drivers # FtpDbiHost - The host for the database connection # FtpDbiUsername - The username for the database connection # FtpDbiPassword - The password for the database connection # FtpDbiName - The name of the database containing the tables # FtpDbiTable - The name of the table containing the usernames and password hashes # FtpDbiUsernameField - The table field that contains the username # FtpDbiChrootField - The table field that contains the password # FtpDbiChrootQuery - The SQL query to pick the password field from # FtpDbiIsActiveField - The table field that contains the username # FtpDbiConnMin - The Minimum Number of Database Connections # FtpDbiConnSoftMax - The Soft Maximum Number of Database Connections # FtpDbiConnHardMax - The Hard Maximum Number of Database Connections # FtpDbiConnTTL - The Database Pool Time To Live for Each Connection # FtpDbiServerConfig - The name of the configuration to use for this section </IfModule> <IfModule mod_ftpd_dbi.c> </IfModule> <IfModule mod_ftpd_fail.c> # no directives yet </IfModule> <IfModule mod_ftpd_default.c> # FtpDefaultChroot - Path to set the chroot to. FtpDefaultChroot /var/ftp/pub # FtpDefaultMaxLogins - Maximum number of logins to the FTP server. The Default is 20. FtpDefaultMaxLogins 10 </IfModule> </IfModule>