$OpenBSD: patch-doc_hiawatha_1_in,v 1.7 2009/09/22 09:29:25 ajacoutot Exp $ --- doc/hiawatha.1.in.orig Tue Sep 22 11:02:23 2009 +++ doc/hiawatha.1.in Tue Sep 22 11:04:59 2009 @@ -150,12 +150,12 @@ Example: CGIextension = cgi .B CGIhandler = :[, , ...] Specify the handler for a CGI extension. A handler is an executable which will 'run' the CGI script. .br -Example: CGIhandler = /usr/bin/php4-cgi:php,php4 +Example: CGIhandler = ${LOCALBASE}/bin/php-fastcgi:php,php5 .TP .B CGIwrapper = Specify the wrapper for CGI processes. A secure CGI wrapper is included in the Hiawatha package (see cgi-wrapper(1) for more information). .br -Example: CGIwrapper = /usr/sbin/cgi-wrapper +Example: CGIwrapper = ${PREFIX}/sbin/cgi-wrapper .TP .B CommandChannel = , The port and the password for the CommandChannel. You can use telnet to connect to the CommandChannel (localhost:). Type 'help' in the CommandChannel for more information. @@ -188,7 +188,7 @@ Example: GarbageLogfile = @logdir@/garbage.log .B Include | Include another configurationfile or configurationfiles in a directory. .br -Example: Include /etc/hiawatha/hosts.conf +Example: Include ${SYSCONFDIR}/hiawatha/hosts.conf .TP .B KickOnBan = yes|no Close all other connections that originate from the same IP in case of a ban. @@ -245,7 +245,7 @@ Default = 0, example: ReconnectDelay = 3 .B ServerId = |:[,, ...] The userid and groupid(s) the server will change to. If only a userid is specified, the groupid(s) will be looked up in /etc/passwd and /etc/group. The userid en groupid of user root are not allowed here. .br -Default = 65534:65534, example: ServerId = www-data +Default = 579:579, example: ServerId = _hiawatha .TP .B ServerRoot = Rootdirectory for the webserver. Hiawatha will chroot() to this directory after reading the configurationfile and writing the PID file. Cannot be used in combination with UserWebsites. @@ -821,7 +821,7 @@ and .B UseGZfile .SH MIMETYPES -Specify the mimetypes of files in /etc/hiawatha/mimetypes.conf. +Specify the mimetypes of files in ${SYSCONFDIR}/hiawatha/mimetypes.conf. .TP .B [ ...] Example: image/jpeg jpg jpeg jpe @@ -848,15 +848,15 @@ Unban all IP addresses. Clear the internal cache (requires that Hiawatha was not compiled with --disable-cache). .SH FILES -.B /usr/sbin/hiawatha +.B ${PREFIX}/sbin/hiawatha .br -.B /etc/hiawatha/hiawatha.conf +.B ${SYSCONFDIR}/hiawatha/hiawatha.conf .br -.B /etc/hiawatha/mime.types +.B ${SYSCONFDIR}/hiawatha/mime.types .br -.B /etc/hiawatha/cgi-wrapper.conf +.B ${SYSCONFDIR}/hiawatha/cgi-wrapper.conf .br -.B /etc/hiawatha/php-fcgi.conf +.B ${SYSCONFDIR}/hiawatha/php-fcgi.conf .SH SEE ALSO