diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2016-03-18 13:22:27 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2016-03-18 13:22:27 +0000 |
commit | d4eefc24c396ab1dee0b161ee7da851aecc16c36 (patch) | |
tree | be98aa40817013838c05b5c82eecd873ca9f7951 /cgi.h.example | |
parent | 0fa45817cf7eb87f808a954fb566fa6683a19d3f (diff) | |
download | mandoc-d4eefc24c396ab1dee0b161ee7da851aecc16c36.tar.gz |
Make the SCRIPT_NAME logic simpler, safer, and make it actually work;
in part based on ideas by bentley@.
While here, improve the documentation.
Diffstat (limited to 'cgi.h.example')
-rw-r--r-- | cgi.h.example | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cgi.h.example b/cgi.h.example index c4878d34..7e5f3917 100644 --- a/cgi.h.example +++ b/cgi.h.example @@ -1,7 +1,8 @@ /* Example compile-time configuration file for man.cgi(8). */ #define HTTP_HOST "mdocml.bsd.lv" -#define MAN_DIR "/var/www/man" +#define SCRIPT_NAME "cgi-bin/man.cgi" +#define MAN_DIR "/man" #define CSS_DIR "" #define CUSTOMIZE_TITLE "Manual pages with mandoc" #define COMPAT_OLDURI Yes |