htls(1)


Table of Contents

1. NAME
2. SYNOPSIS
3. DESCRIPTION
4. OPTIONS
5. AUTHOR
6. SEE ALSO

1. NAME

htls - Directory lister for ashd(7)

2. SYNOPSIS

htls [-hms] [-c STYLESHEET] METHOD URL REST

3. DESCRIPTION

htls can be called from dirplex(1) for generating listings for directories that lack an index file. The generated index will be a HTML table with links to subdirectories and additional file information as specified by command-line options. It needs to be called with the X-Ash-File header added to the request, as dirplex(1) does.

htls is a transient handler, as defined in ashd(7), and the METHOD, URL and REST arguments will normally be added by the parent handler.

4. OPTIONS

-h
Print a brief help message to standard output and exit.
-m
Include the time of last modification for the listed files and directories in the listing.
-s
Include the size of the listed files in the listing.
-c STYLESHEET
Instead of including an inline stylesheet, insert STYLESHEET as a stylesheet link in the generated index.

5. AUTHOR

Fredrik Tolf <fredrik@dolda2000.com>

6. SEE ALSO

dirplex(1) (the EXAMPLES section), ashd(7)