由 Steve3d 在 07-08-2003 10:47 发表:
关于proftpd fxp的问题
在我的服务器上,我架了一个FTP,因为我只有一个IP,所以我只有设基于port的Vhost,一个是21,一个是4000,还有一个是4001,我已经把相关的设置都放在了
1<global>里面,可是不知道为什么,只有21port可以FXP,其它两个port全都不可以FXP.
2
3这个问题已经害我很久了,不知道有没有人能帮我?
4
5
6
7下面的是我的proftpd.conf:
8
9
10
11ServerName "Welcome to aa FTP Site"
12
13ServerType standalone
14
15DefaultServer on
16
17UseReverseDNS off
18
19ServerIdent on "Welcome to aa FTP Site"
20
21SystemLog /var/log/proftpd.log
22
23Port 21
24
25
26
27<global>
28
29AllowStoreRestart on
30
31AllowRetrieveRestart on
32
33AllowForeignAddress on
34
35AllowOverwrite on
36
37RequireValidShell no
38
39IdentLookups off
40
41ListOptions "-la" "strict"
42
43Umask 022
44
45</global>
46<virtualhost xx.xx.xx.xx="">
47
48ServerName "aa Ftp1"
49
50Port 4000
51
52MaxClientsPerHost 1
53
54MaxClients 60
55
56TransferRate RETR 50
57
58DefaultRoot ~
59
60<limit login="">
61
62AllowGroup normal
63
64</limit>
65<directory ~=""></directory>
66<limit write="">
67
68DenyAll
69
70</limit>
71
72</virtualhost>
73
74<VirtualHost xx.xx.xx.xx</global>