diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-11-24 12:27:18 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-11-24 12:27:18 +0000 |
commit | 3760dadf5162aab67f389b9e9a969499ddd236ca (patch) | |
tree | 6ef42ff828e1f0d98a59c74da43a57c4fd09edca /html.c | |
parent | 111404fc74972291dad2ea0761de281514975b42 (diff) | |
download | mandoc-3760dadf5162aab67f389b9e9a969499ddd236ca.tar.gz |
Let man.cgi run in two modes:
(1) Insecure. This means that we're operating over the full file-system
with access to mandoc(1). In this mode, mandocdb entries are formatted
on-the-fly. The $INSECURE environment variable must be passed to
man.cgi for this mode to work.
(2) Secure. Manuals are assumed to be pre-formatted in a cache directory,
which may be set with $CACHE_DIR but default to /cache/man.cgi.
This mode works with manup(8), which updates the cached pages from
outside of the jail. man.cgi simply locates the manual file and
outputs it to stdout.
Diffstat (limited to 'html.c')
0 files changed, 0 insertions, 0 deletions