dirplex, patplex: Added ability to set arbitrary headers based on match.
[ashd.git] / doc / htls.doc
CommitLineData
6ee8b6fa
FT
1htls(1)
2=======
3
4NAME
5----
6htls - Directory lister for ashd(7)
7
8SYNOPSIS
9--------
10*htls* [*-hms*] [*-c* 'STYLESHEET'] 'METHOD' 'URL' 'REST'
11
12DESCRIPTION
13-----------
14
15*htls* can be called from *dirplex*(1) for generating listings for
16directories that lack an index file. The generated index will be a
17HTML table with links to subdirectories and additional file
18information as specified by command-line options. It needs to be
19called with the `X-Ash-File` header added to the request, as
20*dirplex*(1) does.
21
22*htls* is a transient handler, as defined in *ashd*(7), and the
23'METHOD', 'URL' and 'REST' arguments will normally be added by the
24parent handler.
25
26OPTIONS
27-------
28
29*-h*::
30
31 Print a brief help message to standard output and exit.
32
33*-m*::
34
35 Include the time the listed files and directories were last
36 modified in the listing.
37
38*-s*::
39
40 Include the size for files listed in the listing.
41
42*-c* 'STYLESHEET'::
43
44 Instead of including an inline stylesheet, insert
45 'STYLESHEET' a stylesheet link in the generated index.
46
47AUTHOR
48------
49Fredrik Tolf <fredrik@dolda2000.com>
50
51SEE ALSO
52--------
53*dirplex*(1) (the EXAMPLES section), *ashd*(7)