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 | d743a7f8d160d6e2eeefc559e9e5a783199f9859 (patch) | |
tree | 1b37f25a38dadcce761f1e5d0962a842573167c2 /cgi.h.example | |
parent | 7d38c2dec6dfb1576c0acaef998fe2682c4c3e87 (diff) | |
download | mandoc-d743a7f8d160d6e2eeefc559e9e5a783199f9859.tar.gz mandoc-d743a7f8d160d6e2eeefc559e9e5a783199f9859.tar.zst mandoc-d743a7f8d160d6e2eeefc559e9e5a783199f9859.zip |
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 |