当前位置:首页 > 服务器类 > FTP服务器 > > ProFtpd快速指南(六)

ProFtpd快速指南(六)

点击次数:33 次 发布日期:2008-11-22 09:26:32 作者:源代码网
源代码网推荐

源代码网整理以下笔者的proftpd.conf配置文件内容为:
  

以下为引用的内容:
  #ThisisabasicProFTPDconfigurationfile(renameitto
  #proftpd.confforactualuse.Itestablishesasingleserver
  #andasingleanonymouslogin.Itassumesthatyouhaveauser/group
  #"nobody"and"ftp"fornormaloperationandanon.
  
  ServerName&!quot;test.com.cnFTPServer"
  ServerTypestandalone
  DefaultServeron
  
  #Port21isthestandardFTPport.
  Port21
  #Umask022isagoodstandardumasktopreventnewdirsandfiles
  #frombeinggroupandworldwritable.
  Umask022
  
  #TopreventDoSattacks,setthemaximumnumberofchildprocesses
  #to30.Ifyouneedtoallowmorethan30concurrentconnections
  #atonce,simplyincreasethisvalue.NotethatthisONLYworks
  #instandalonemode,ininetdmodeyoushoulduseaninetdserver
  #thatallowsyouto&!nbsp;limitmaximumnumberofprocessesper service
  #(suchasxinetd)
  MaxInstances30
  
  
  RequireValidShelloff
  ServerIdentoff
  
  
  #Settheuserandgroupthattheservernormallyrunsat.
  Usernobody
  Groupnobody
  
  #Normally,wewantfilestobeoverwriteable.
  <Directory/*>
  AllowOverwriteon
  </Directory>
  
  #Abasicanonymousconfiguration,nouploaddirectories.
  <Anonymous/home/ftp>
  Userftp
  Groupftp
  #Wewantclientstobeabletologinwith"anonymous"aswellas"ftp"
  UserAliasanonymousftp

源代码网供稿.
网友评论 (0)
会员中心
服务器类
本站推荐
服务器类之精华