V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
larsenlouis
V2EX  ›  程序员

有什么软件/脚本可以模拟 apache 的 file index 历遍文件夹生成文件列表 index.html

  •  
  •   larsenlouis · 2014-11-02 09:55:32 +08:00 · 3017 次点击
    这是一个创建于 3456 天前的主题,其中的信息可能已经有所发展或是发生改变。
    10 条回复    2014-11-03 23:43:20 +08:00
    aheadlead
        1
    aheadlead  
       2014-11-02 10:47:01 +08:00
    我这有一个刚学python时写的脚本...
    但我不会在v2上贴代码...容我搜索一下
    aheadlead
        2
    aheadlead  
       2014-11-02 10:51:20 +08:00
    aheadlead
        3
    aheadlead  
       2014-11-02 10:51:40 +08:00
    代码贴失败了...再来一发
    https://gist.github.com/30c3f311be3ad287b186.git
    aheadlead
        4
    aheadlead  
       2014-11-02 10:52:53 +08:00
    larsenlouis
        5
    larsenlouis  
    OP
       2014-11-02 13:24:29 +08:00
    @aheadlead 这脚本是一个github repo吗? 以上地址都打不开
    qiuai
        6
    qiuai  
       2014-11-03 03:28:48 +08:00 via iPhone
    [email protected]
    发邮件给我,我给你一个…
    如果明天我还记得的话,我回来回复…

    大晚上睡不着爬起来看v2,真想不起来名字了…
    qiuai
        7
    qiuai  
       2014-11-03 11:28:44 +08:00
    @larsenlouis snap2HTML.去搜索一下吧.搜不到的话法邮件给我,我发你
    larsenlouis
        8
    larsenlouis  
    OP
       2014-11-03 22:24:57 +08:00
    @qiuai 看了 只有列表 不能下载 我要这种效果(虽然是nginx生成的) http://download.bitdefender.com/
    qiuai
        9
    qiuai  
       2014-11-03 23:35:21 +08:00
    @larsenlouis 要下载的话我就找不到了...你可能需要一个php列表程序.
    http://www.oschina.net/p/syndirectory/similar_projects?sort=view&lang=194
    像这种.
    qiuai
        10
    qiuai  
       2014-11-03 23:43:20 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1512 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 00:00 · PVG 08:00 · LAX 17:00 · JFK 20:00
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.