使用Pureftpd + MySQL + Pureftpd_php_manager架设FTP SERVER

http://tech.ddvip.com   2006年04月01日    社区交流

本文详细介绍使用Pureftpd + MySQL + Pureftpd_php_manager架设FTP SERVER

  cd /home/onlinecq.com/pureftpd_php_manager
vi pureftp.config.php
进入该文件﹐编辑一下﹐我贴出来自己的文件配置﹐给大家参考:

  <?php
######################
####### SETUP ########
######################
// Your exactly located mysql config file for pureftpd
$PUREFTP_CONFIG_FILE = '/usr/local/etc/pureftpd-mysql.conf';
// The location where all the Forms directed to. (Mayby no change needed)
$SELF_URL = 'index.php';
// The location of your pure-ftpdwho binary (set this to chmod 4711)
$FTP_WHO = "/usr/local/sbin/pure-ftpwho";
#######################
# DEFAULT NEW-USER PARAMS #
#######################
$DefaultUser = ""; # Default User Logon
$DefaultPass = ""; # Default User Password
$DefaultUid = ""; # Default User ID ( must be a real user acct )
$DefaultGid = "2000"; # Default Group ID ( must be a real group acct )
$DefaultDir = "/home"; # Default User Dir ( use /./ at the end to chroot )
$DefaultUL = "0"; # Default Upload Throttle ( 0 disables it )
$DefaultDL = "0"; # Default Download Throttle ( 0 disables it )
$Defaultip = "*"; # Default IP restrictions ( * = any IP )
$DefaultQS = "200"; # Default Quota Size ( 0 disables it )
$Defaultcmt = "";
$DefaultQF = "0"; # Default Quota Files ( 0 disables it )^M
$PWC = "55"; # Vorsatz fuerr Crypt Password^M
?>
五﹑运行

责编:豆豆技术应用

正在加载评论...