file_servlet

NAME DESCRIPTION PARAMETERS SEE ALSO AUTHOR

NAME

file_servlet - a C servlet that serves files and directories

DESCRIPTION

This implements the usual behavior of web servers with respect to files and directories. Directories get listed, and files get returned with an appropriate MIME type. It handles a variety of index filenames such as "index.html". It handles the "If-Modified-Since" and "Range" headers. It does Basic Authentication via the .htpasswd file. And an assortment of other minor features.

PARAMETERS

Aside from the standard two - name and pattern - none.

SEE ALSO

coleman(8), servlet(3), cgi_servlet(8), test_servlet(8), sample_servlet(8)

AUTHOR

Copyright © 2014 by Jef Poskanzer <jef@mail.acme.com>. All rights reserved.