免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1878 | 回复: 4
打印 上一主题 下一主题

[Web] 允许目录浏览时怎样完整显示文件名? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-02-03 22:38 |只看该作者 |倒序浏览
我现在使用Option Indexes允许浏览目录,但长文件名都缩略显示了,怎样设置才能完整显示长文件名??
感谢各位老鸟为我释疑

论坛徽章:
0
2 [报告]
发表于 2006-02-04 23:26 |只看该作者
<IfModule mod_autoindex.c>

    #
    # FancyIndexing is whether you want fancy directory indexing or standard
    #
    # Note, add the option TrackModified to the IndexOptions default list only
    # if all indexed directories reside on NTFS volumes.  The TrackModified flag
    # will report the Last-Modified date to assist caches and proxies to properly
    # track directory changes, but it does _not_ work on FAT volumes.
    #
    IndexOptions FancyIndexing NameWidth=*

论坛徽章:
0
3 [报告]
发表于 2006-02-05 15:48 |只看该作者

感谢回复

感谢回复,不过我还想问问,这一条配置在哪个文件里面?我现在是在windows上装的apache2。

是直接加在http.conf里面还是修改其它哪个文件?谢谢!

论坛徽章:
0
4 [报告]
发表于 2006-02-05 16:02 |只看该作者

最后再感谢一次

ok,我已经搞定了,原来就是在Option Indexes后加这样一句就可以了。非常感谢!

论坛徽章:
0
5 [报告]
发表于 2006-02-05 16:04 |只看该作者

顺便再问一句

现在这样设置是固定长度,能不能设置成根据文件名长度自动设定宽的?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP