如何去掉目录索引的Last Modified,以及Parent Directory链接?

francisngl 2007-08-19 10:27:28
大家好,我想请教大家一个关于Apache的配置问题,我想把APACHE虚拟目录中的某一个目录设为“允许索引”,于是我在conf里添加了这样一行:

<Directory "h:/zyk/kj/">
Options Indexes MultiViews
IndexIgnore bepc.jpg actions defects
HeaderName ../header.html
ReadmeName ../footer.html
ServerSignature Off
AllowOverride None
Order allow,deny
Allow from all
</Directory>

我浏览的时候出现了如http://218.27.99.180/kj/27379/的样子

我的问题是这样的:如何设置能去掉 Last modified、Size Description、Parent Directory 那几个链接呢,我只想要最底下的链接,谢谢!!!
...全文
434 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
UltraBejing 2008-05-01
  • 打赏
  • 举报
回复
没遇到过这种情况.
cloudgamer 2007-08-25
  • 打赏
  • 举报
回复
学习
francisngl 2007-08-19
  • 打赏
  • 举报
回复
经过苦苦搜索,终于搞定了一半,现在只剩如何去掉Parent Directory了,分享一下我搜的结果,在conf里加

IndexOptions SuppressLastModified
francisngl 2007-08-19
  • 打赏
  • 举报
回复
顶一下,可否?

24,923

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Apache
社区管理员
  • Apache
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧