Directory Listings

来自开放百科 - 灰狐
2006年8月10日 (四) 22:09WikiSysop (讨论 | 贡献)的版本

跳转到: 导航, 搜索

Description

目录遍历

server.dir-listing = "enable"

If you need it only for a directory, use conditionals:

$HTTP["url"] =~ "^/download($|/)" {
 dir-listing.activate = "enable"
}

You can also use a external generator for directory listings if you use mod_indexfile.

index-file.names = ( "/dir-generator.php" )

Options

dir-listing.activate enables virtual directory listings if a directory is requested no index-file was found default: disabled

dir-listing.hide-dotfiles if enabled, does not list hidden files in directory listings generated by the dir-listing option. default: enabled

dir-listing.external-css path to an external css stylesheet for the directory listing default: use internal css

dir-listing.show-readme if a README.txt is the requested directory it will be appended to the output. The README.txt will HTML encoded and is covered by a pre-tag with the class 'readme'. default: disabled

dir-listing.encoding content encoding of the filenames (and README.txt) default: iso8859-1

dir-listing.encoding = "utf-8"
分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱