openbsd-ports/www/hiawatha/patches/patch-man_hiawatha_1_in
2013-04-26 09:15:24 +00:00

73 lines
3.3 KiB
Plaintext

$OpenBSD: patch-man_hiawatha_1_in,v 1.3 2013/04/26 09:15:24 sthen Exp $
--- man/hiawatha.1.in.orig Tue Apr 16 12:10:26 2013
+++ man/hiawatha.1.in Fri Apr 26 10:04:40 2013
@@ -147,12 +147,12 @@ Example: CGIextension = cgi
.B CGIhandler = <CGI handler>:<extension>[, <extension>, ...]
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 = <CGI wrapper>
Specify the wrapper for CGI processes. A secure CGI wrapper is included in the Hiawatha package (see cgi-wrapper(1) for more information).
.br
-Default = @CMAKE_INSTALL_FULL_SBINDIR@/cgi-wrapper, example: CGIwrapper = /bin/cgi-wrapper
+Default = @CMAKE_INSTALL_FULL_SBINDIR@/cgi-wrapper, example: CGIwrapper = ${PREFIX}/sbin/cgi-wrapper/cgi-wrapper
.TP
.B ConnectionsPerIP = <number>
Maximum number of simultaneous connections per IP address.
@@ -187,7 +187,7 @@ Example: HideProxy = 192.168.10.20
.B Include <filename>|<directory>
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.
@@ -272,7 +272,7 @@ Example: RequestLimitMask = deny 192.168.0.1
.B ServerId = <userid>|<userid>:<groupid>[,<groupid>, ...]
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. The userid or groupid can also be a name.
.br
-Default = 65534:65534, example: ServerId = www-data
+Default = 579:579, example: ServerId = _hiawatha
.TP
.B ServerString = <text>
The text behind 'Server:' in the HTTP header of a response. Use 'none' to completely remove the Server string from the HTTP header.
@@ -562,7 +562,7 @@ Example: Setenv PHPRC = /var/www/conf
.B ShowIndex = yes|no|<XSLT file with full path>|xml
Return a directory listing in HTML format for a directory request when the startfile does not exist. If you want to change the index layout completely, specify the path of a XSLT file. If the XSLT file is not found or 'xml' is used, Hiawatha will output the XML of the directory index. The content of a .hiawatha_index in that directory will be included in the XML.
.br
-Default = no, example: ShowIndex = /etc/hiawatha/index.xslt
+Default = no, example: ShowIndex = ${SYSCONFDIR}/hiawatha/index.xslt
.br
(requires that Hiawatha was not compiled with -DENABLE_XSLT=off)
@@ -924,7 +924,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 <mimetype> <extension> [<extension> ...]
Example: image/jpeg jpg jpeg jpe
@@ -951,13 +951,13 @@ Unban all IP addresses.
Clear the internal cache (requires that Hiawatha was not compiled with -DENABLE_CACHE=off).
.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
.SH SEE ALSO