From d73c61d4aa397cdbeb0d0255f80bee01ee80e736 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 18 Aug 2014 13:27:47 +0000 Subject: Notes on CGI: installation (readying cgi.h) and future plans. --- INSTALL | 5 +++-- TODO | 15 ++++++++++++++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/INSTALL b/INSTALL index f18e4b14..31ffaf00 100644 --- a/INSTALL +++ b/INSTALL @@ -1,4 +1,4 @@ -$Id: INSTALL,v 1.4 2014/08/16 19:00:01 schwarze Exp $ +$Id: INSTALL,v 1.5 2014/08/18 13:27:47 kristaps Exp $ About mdocml, the portable mandoc distribution ---------------------------------------------- @@ -42,7 +42,8 @@ system, please consult your operating system documentation. To install mandoc manually, the following steps are needed: 1. If you want to build the CGI program, man.cgi(8), too, run the -command "echo BUILD_CGI=1 > configure.local". +command "echo BUILD_CGI=1 > configure.local". Then run "cp +cgi.h.examples cgi.h" and edit cgi.h as desired. 2. Run "./configure". This script attempts autoconfiguration of mandoc for your system. diff --git a/TODO b/TODO index 44c4a3cb..86fc6f63 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,6 @@ ************************************************************************ * Official mandoc TODO. -* $Id: TODO,v 1.178 2014/08/13 22:17:51 schwarze Exp $ +* $Id: TODO,v 1.179 2014/08/18 13:27:47 kristaps Exp $ ************************************************************************ ************************************************************************ @@ -442,3 +442,16 @@ Several areas can be cleaned up to make mandoc even faster. These are abstract from the database structure, too. suggested by espie@ Sat, 19 Apr 2014 14:52:57 +0200 +************************************************************************ +* CGI issues +************************************************************************ + + - Enable HTTP compression by detecting gzip encoding and filtering + output through libz. + - Sandbox (see OpenSSH). + - Enable caching support via HTTP 304 and If-Modified-Since. + - Allow for cgi.h to be overridden by CGI environment variables. + Otherwise, binary distributions will inherit the compile-time + behaviour, which is not optimal. + - Have Mac OSX systems automatically disable -static compilation of the + CGI: -static isn't supported. -- cgit v1.2.3-56-ge451