Commit | Line | Data |
---|---|---|
9d7fa346 AC |
1 | {{Support for Apache's mod_autoindex, which generates pretty default directory |
2 | index pages}} | |
3 | ||
4 | extern val addDescription : string -> [no_spaces] -> [^Vhost]; | |
5 | {{See <a href="http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html#adddescription">the | |
6 | Apache documentation</a> for <tt>AddDescription</tt>.}} | |
7 | ||
8 | extern type autoindex_width; | |
9 | {{A setting for how wide some column should be}} | |
10 | extern val autofit : autoindex_width; | |
11 | extern val characters : int -> autoindex_width; | |
12 | ||
13 | extern type autoindex_option; | |
14 | {{See <a href="http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html#indexoptions">the | |
15 | Apache documentation</a> for what the options mean.}} | |
16 | ||
17 | extern val descriptionWidth : autoindex_width -> autoindex_option; | |
18 | extern val fancyIndexing : autoindex_option; | |
19 | extern val foldersFirst : autoindex_option; | |
20 | extern val htmlTable : autoindex_option; | |
21 | extern val iconsAreLinks : autoindex_option; | |
22 | extern val iconHeight : int -> autoindex_option; | |
23 | extern val iconWidth : int -> autoindex_option; | |
24 | extern val ignoreCase : autoindex_option; | |
25 | extern val ignoreClient : autoindex_option; | |
26 | extern val nameWidth : autoindex_width -> autoindex_option; | |
27 | extern val scanHtmlTitles : autoindex_option; | |
28 | extern val suppressColumnSorting : autoindex_option; | |
29 | extern val suppressDescription : autoindex_option; | |
30 | extern val suppressHtmlPreamble : autoindex_option; | |
31 | extern val suppressIcon : autoindex_option; | |
32 | extern val suppressLastModified : autoindex_option; | |
33 | extern val suppressRules : autoindex_option; | |
34 | extern val suppressSize : autoindex_option; | |
35 | extern val trackModified : autoindex_option; | |
36 | extern val versionSort : autoindex_option; | |
37 | extern val xhtml : autoindex_option; | |
38 | ||
39 | extern val indexOptions : [autoindex_option] -> [^Vhost]; | |
40 | {{Declare exactly the set of options in effect for the current scope.}} | |
41 | ||
42 | extern val set_indexOptions : [autoindex_option] -> [^Vhost]; | |
43 | extern val unset_indexOptions : [autoindex_option] -> [^Vhost]; | |
44 | {{Specify some options to be set or unset, leaving the rest as they are.}} | |
45 | ||
46 | extern val headerName : no_spaces -> [^Vhost]; | |
47 | {{See <a href="http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html#headername">the | |
48 | Apache documentation</a>.}} | |
49 | ||
50 | extern val readmeName : no_spaces -> [^Vhost]; | |
51 | {{See <a href="http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html#readmename">the | |
52 | Apache documentation</a>.}} |