2007/01/10 16:55
文章作者:Enjoy 转载请注明原文链接。
用proftpd搭建了FTP,但是发现到“正在等候欢迎消息...”会卡一会儿,在网上搜索了下,加入如下代码:DelayEngine off
IdentLookups off
UseReverseDNS off
果然,速度提高了,几乎显示“正在等候欢迎消息...”后直接过。
UseReverseDNS off IdentLookups off. 这两个设定分别的意义如下:
UseReverseDNS:在使用者登入时反查对方的DNS记录。
IdentLookups:在使用者登入时反查对方的Username
官方关于mod_delay的说明:http://www.castaglia.org/proftpd/modules/mod_delay.html
DelayEngine:
The DelayEngine directive enables or disables the module's runtime delaying calculations. If it is set to off this module does no delaying. Use this directive to disable the module.
另:proftpd要版本1.2.10或以上才支持它,我用的是1.3。
我试了下,UseReverseDNS off和 IdentLookups off能明显提高速度,但DelayEngine off就感觉不到了。
因此1.2.10以下的版本只需要加这两句就可以了:
IdentLookups off
UseReverseDNS off

读书笔记:链接样式
apache不允许目录列出索引

