From: Kristaps Dzonsons <kristaps@bsd.lv>
To: tech@mdocml.bsd.lv
Subject: Preview of man.cgi.
Date: Fri, 16 Dec 2011 21:17:21 +0100 [thread overview]
Message-ID: <4EEBA751.1090903@bsd.lv> (raw)
Hi,
I've put up a preview of man.cgi as found in our repository:
http://mdocml.bsd.lv/cgi-bin/man.cgi
The syntax for the "whatis" and "apropos" functions are as given in the
repository apropos(1) and whatis(1) (regular expressions, logical
operators, and so on). However, this syntax is backwards-compatible
with the legacy apropos(1) and whatis(1).
To create this, I did the following in the mdocml source directory after
enabling cgi-bin in Apache (this is on OpenBSD-5.0, as manuals are
installed with sources):
% make
% sudo ./mandocdb # recreate the mandocdb(8)s
% sudo ./catman -f # cache manuals in the chroot() jail
% sudo make installcgi # install CGI and CSS
(Ok, I didn't do this exactly because BSD.lv uses virtual hosts. In
reality, I ran "catman -f -o /usr/vhosts/mdocml.bsd.lv/www/cache, then
created an .htaccess file in the cgi-bin setting CACHE_DIR to the above.
But I use the above on my stock OpenBSD box (plus CGI) all the time --
no need for any more than the above.)
Take care,
Kristaps
P.S., you'll also pull up my /usr/local/man directory in those results.
--
To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv
reply other threads:[~2011-12-16 20:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EEBA751.1090903@bsd.lv \
--to=kristaps@bsd.lv \
--cc=tech@mdocml.bsd.lv \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).