[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.5, Fri Mar 18 13:22:27 2016 UTC (5 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_1, VERSION_1_13_4, VERSION_1_13
Changes since 1.4: +2 -1 lines

Make the SCRIPT_NAME logic simpler, safer, and make it actually work;
in part based on ideas by bentley@.
While here, improve the documentation.

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

#define	HTTP_HOST "mdocml.bsd.lv"
#define	SCRIPT_NAME "cgi-bin/man.cgi"
#define	MAN_DIR "/man"
#define	CSS_DIR ""
#define	CUSTOMIZE_TITLE "Manual pages with mandoc"