欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Directory Listings
第14行: | 第14行: | ||
==Options== | ==Options== | ||
dir-listing.activate | dir-listing.activate | ||
+ | |||
enables virtual directory listings if a directory is requested no index-file was found | enables virtual directory listings if a directory is requested no index-file was found | ||
+ | |||
default: disabled | default: disabled | ||
dir-listing.hide-dotfiles | dir-listing.hide-dotfiles | ||
+ | |||
if enabled, does not list hidden files in directory listings generated by the dir-listing option. | if enabled, does not list hidden files in directory listings generated by the dir-listing option. | ||
+ | |||
default: enabled | default: enabled | ||
dir-listing.external-css | dir-listing.external-css | ||
+ | |||
path to an external css stylesheet for the directory listing | path to an external css stylesheet for the directory listing | ||
+ | |||
default: use internal css | default: use internal css | ||
dir-listing.show-readme | 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'. | 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 | default: disabled | ||
dir-listing.encoding | dir-listing.encoding | ||
+ | |||
content encoding of the filenames (and README.txt) | content encoding of the filenames (and README.txt) | ||
+ | |||
default: iso8859-1 | default: iso8859-1 | ||
dir-listing.encoding = "utf-8" | dir-listing.encoding = "utf-8" |
2006年8月10日 (四) 22:10的版本
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"