diff options
author | 2011-11-24 12:27:18 +0000 | |
---|---|---|
committer | 2011-11-24 12:27:18 +0000 | |
commit | 35b477fcbd3c615c3e91e17319a6c6f13da65075 (patch) | |
tree | b801f312fb061a5aa7a7de6776f376cb72a21a6d /man.cgi.7 | |
parent | 60a310d953eeb7b6d9117210874dc6ad8e08952a (diff) | |
download | mandoc-35b477fcbd3c615c3e91e17319a6c6f13da65075.tar.gz mandoc-35b477fcbd3c615c3e91e17319a6c6f13da65075.tar.zst mandoc-35b477fcbd3c615c3e91e17319a6c6f13da65075.zip |
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 'man.cgi.7')
0 files changed, 0 insertions, 0 deletions