[BACK]Return to cgi.h.example CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

File: [cvsweb.bsd.lv] / mandoc / cgi.h.example (download)

Revision 1.2, Sun Jul 13 15:38:36 2014 UTC (9 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.1: +1 -0 lines

Compatibility hack for the old "manpath=OpenBSD<blank>" query parameter format;
unfortunate, more than 400 links needing this are scattered all around
the www.openbsd.org website, and CVSweb needs this as well.

/* Example compile-time configuration file for man.cgi(8). */

#define	MAN_DIR "/var/www/man"
#define	CSS_DIR ""
#define	CUSTOMIZE_TITLE "Manual pages with mandoc"
#define	CUSTOMIZE_BEGIN "<H2>\nManual pages with " \
	"<A HREF=\"http://mdocml.bsd.lv/\">mandoc</A>\n</H2>"
#define COMPAT_OLDURI Yes