zoukankan      html  css  js  c++  java
  • 解决pureftp目录无法显示的问题

    解决pureftp目录无法显示的问题
    
    # pureftp账号登录后发现很多目录无法显示,通过查看配置文件发现是
    
    LimitRecursion 10000 8 # 这个限制,最多能列出10000个文件
    
    # public_html 这个目录下有10917,修改这个参数并且重启pureftp即可
    root@server1 [/home/aaa]# ls public_html/|wc -l
    10917
    
    
    root@server1 [/home/aaa/public_html]# egrep -v '^#|^$' /etc/pure-ftpd.conf
    ChrootEveryone yes
    BrokenClientsCompatibility no
    MaxClientsNumber 50
    Daemonize Yes
    MaxClientsPerIP 32
    VerboseLog no
    DisplayDotFiles yes
    AnonymousOnly no
    NoAnonymous yes
    SyslogFacility ftp
    DontResolve yes
    MaxIdleTime 15
    ExtAuth /var/run/ftpd.sock
    LimitRecursion 10000 8
    AnonymousCanCreateDirs no
    MaxLoad 1
    PassivePortRange 48000 49000
    AntiWarez yes
    Bind 0.0.0.0,21
    Umask 133:022
    MinUID 100
    AllowUserFXP no
    AllowAnonymousFXP no
    ProhibitDotFilesWrite no
    ProhibitDotFilesRead no
    AutoRename no
    AnonymousCantUpload yes
    AltLog xferlog:/usr/local/apache/domlogs/ftpxferlog
    MaxDiskUsage 99
    CustomerProof yes
    TLS 1
    TLSCipherSuite HIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3
    IPV4Only yes
    
    
    # 
    root@server1 [/home/edra0604]# egrep -v '^#|^$' /etc/pure-ftpd.conf
    ChrootEveryone yes
    BrokenClientsCompatibility no
    MaxClientsNumber 50
    Daemonize Yes
    MaxClientsPerIP 32
    VerboseLog no
    DisplayDotFiles yes
    AnonymousOnly no
    NoAnonymous yes
    SyslogFacility ftp
    DontResolve yes
    MaxIdleTime 15
    ExtAuth /var/run/ftpd.sock
    LimitRecursion 20000 8
    AnonymousCanCreateDirs no
    MaxLoad 1
    PassivePortRange 48000 49000
    AntiWarez yes
    Bind 0.0.0.0,21
    Umask 133:022
    MinUID 100
    AllowUserFXP no
    AllowAnonymousFXP no
    ProhibitDotFilesWrite no
    ProhibitDotFilesRead no
    AutoRename no
    AnonymousCantUpload yes
    AltLog xferlog:/usr/local/apache/domlogs/ftpxferlog
    MaxDiskUsage 99
    CustomerProof yes
    TLS 1
    TLSCipherSuite HIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3
    IPV4Only yes
  • 相关阅读:
    产品开源了(discuz!nt 2.0),顺便将前些时候发的文章做个总结
    一个曾经的"愤青梦"弥衡
    推荐两个web菜单控件(右击和顶部主菜单)
    一本晚看了两年半的书蓝海战略
    Discuz!NT 在线用户功能简介
    我的2007
    ajax.net调用session和cookie
    最新(2010年)搜索引擎优化(SEO)专家工具集合
    Android学习资料大全
    基于.net的aop实现技术
  • 原文地址:https://www.cnblogs.com/reblue520/p/12583718.html
Copyright © 2011-2022 走看看