|
我用的是linux与winxp的双系统
现在想开ftp的服务器
目前以把ntfs的分区mount到/mnt中了
不过现在想~~~
把它放到ftp里去
但是又不想用虚拟的另一台ftp
请问该如何设置
1.我试过加链接~~~不行的
2.我试过加目录~~~~好象也不行
请大家指教!
多谢了!!!
附上我proftp.conf
erverName "kailin.3322.org"
ServerType standalone
DefaultServer on
RequireValidShell off
Umask 022
ServerIdent off
UseReverseDNS off
IdentLookups off
Port 21
MaxInstances 40
MaxClients 50
TimeoutIdle 30
TimeoutLogin 10
TimeoutNoTransfer 30
AllowStoreRestart on
AllowOverwrite on
AllowForeignAddress on
AllowRetrieveRestart on
TransferLog /www/proftpd/etc/proftpd.log
DisplayLogin .msg
User nobody
Group nobody
<Anonymous /home/proftpd>
User nobody
Group nobody
UserAlias anonymous nobody
AccessGrantMsg "匿名用户登录成功"
MaxClientsPerUser 10
MaxClientsPerHost 1 "匿名用户限制每ip一个连接"
TransferRate APPE,RETR,STOR,STOU 100
<Limit WRITE>
DenyAll
</Limit>
<Directory /home/proftpd/incoming/>
<Limit STOR>
AllowAll
</Limit>
<Limit MKD>
AllowAll
</Limit>
</Directory>
<Directory /home/proftpd/pub/>
<Limit MKD>
DenyAll
</Limit>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
<Directory /mnt/Os>
<Limit All>
DenyAll
</Limit>
</Directory>
<Directory /home/proftpd/upload/>
<Limit>
AllowAll
</Limit>
</Directory>
</Anonymous>
<Anonymous /home/proftpd>
User ftpadmin
Group ftp
AccessGrantMsg "用户成功登录."
AnonRequirePassword on
MaxclientsPerUser 5
MaxClientsPerHost 5
<Limit ALL>
AllowAll
</Limit>
</Anonymous>
<Anonymous /mnt/*>
User ssp
Group ftp
AccessGrantMsg "用户成功登录."
AnonRequirePassword on
MaxClientsPerUser 10
MaxClientsPerHost 2
TransferRate APPE,RETR,STOR,STOU 1000
<Limit LOGIN>
Order allow,deny
Allow from 218.194.41.146
Deny from all
</Limit>
<Limit MKD>
DenyAll
</Limit>
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
<Anonymous /mnt/>
User gfc
Group ftp
AccessGrantMsg "功夫茶分流用户登陆成功"
AnonRequirePassword on
MaxClientsPerHost 1 "每IP一个连接"
MaxClientsPerUser 20 "用户太多了,等一会再来吧."
TransferRate APPE,RETR,STOR,STOU 500:500
<Limit LOGIN>
Order allow,deny
Allow from 218.194.41,16
Deny from all
</Limit>
<Limit MKD>
DenyAll
</Limit>
<Limit WRITE>
DenyAll
</limit>
</Anonymous>
其它的还没写
因为/mnt/的还是不能访问,所以~~~~............ |
|