请教大家proftpd.conf设置问题,内含文件,请大家指教。多谢啊。

由 michaelyung 在 06-13-2004 11:23 发表:

请教大家proftpd.conf设置问题,内含文件,请大家指教。多谢啊。

ServerName "Michael Yung 's FTP Server"

ServerType standalone

DefaultServer on

Port 21

Umask 022

UseReverseDNS off

ServerIdent off

DeferWelcome off

ShowSymlinks on

MultilineRFC2228 on

IdentLookups off

RequireValidShell off

PassivePorts 20000 30000

RootLogin off

#TimeGMT off

MaxInstances 10

#RequireValidShell off

ServerIdent off

Set the user and group under which the server will run.

User nobody

Group nobody

DefaultRoot ~

DefaultTransferMode binary

AllowForeignAddress on //这个地方就是支持FXP的吧。

DeleteAbortedStores off

AllowRetrieveRestart on

AllowStoreRestart on

HiddenStor off

Normally, we want files to be overwriteable.

1<directory></directory>

AllowOverwrite on

AllowStoreRestart on //允许续传

1<limit login="">   
2  
3DenyGroup !ftpusers //只能ftpusers里用户可以登录   
4  
5</limit>

DisplayLogin welcome.msg

DisplayFirstChdir .message

 1<anonymous ~="">   
 2  
 3User bupt   
 4  
 5Group ftpusers   
 6  
 7  
 8  
 9AllowForeignAddress on   
10  
11AnonRequirePassword on   
12  
13</anonymous>

/以上是简单设置一个用户访问他自己的目录,我从别人机子上用flashfxp登录,无法登录,总提示没有到主机的socket通道。可是用IE浏览器却可以进入,请问大家这是为什么呀,有什么地方设得不对吗?大家能否帮我解释下呢。多谢大家啊。/

 1<virtualhost 202.204.7.177=""> //同一ip不同端口的虚拟主机。   
 2  
 3ServerName "Yung 's ftp"   
 4  
 5Port 1234   
 6  
 7Umask 022   
 8  
 9ServerIdent off   
10  
11DeferWelcome off   
12  
13  
14  
15ShowSymlinks on   
16  
17IdentLookups off   
18  
19RequireValidShell off   
20  
21RootLogin off   
22  
23DefaultRoot ~   
24  
25DefaultTransferM</virtualhost>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus