当前位置: 首页 > 图文教程 > 服务器 > Web服务器 > ProFtpd快速指南(六)

Web服务器
关于IIS连接数和在线人数的详细说明
win2003+iis6服务器设置排错集锦
虚拟服务器实现方法
利用 IIS日志追查网站入侵者
Apache服务器之JSP架构篇
IIS 状态代码:IIS详细错误代码以及解释
关于IIS7.0出错的解决方案
Windows Server 2008 IIS 7.0 入门
Windows Server 2008 IIS7部署攻略
图解Vista中IIS7.0的安装及配置ASP环境
IIS7.0+PHP+Mysql+zend+phpmyadmin配置教程
iis基础知识
安全设置IIS的15个方法
Win2003WEB服务器安全设置实例
网站站长必看 浅谈IDC机房的负载均衡服务
更换apache到nginx的操作过程全记录
一步一步教你网站同步镜像
教你如何搭建自己的CS游戏服务器
如何在一台服务器上实现多个Web站点
应用:让OpenSSH成为安全的Web服务器

Web服务器 中的 ProFtpd快速指南(六)


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-02   浏览: 36 ::
收藏到网摘: n/a

  笔者的proftpd.conf配置文件内容为:

# 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 &! quot;test.com.cn FTP Server"
ServerType standalone
DefaultServer on

# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# 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&! nbsp;limit maximum number of processes per&nb sp;service
# (such as xinetd)
MaxInstances 30


RequireValidShell off
ServerIdent off


# Set the user and group that the server normally runs at.
User nobody
Group nobody

# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>

# A basic anonymous configuration, no upload directories.
<Anonymous /home/ftp>
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp