openbsd-ports/www/hiawatha/patches/patch-config_hiawatha_conf_in

30 lines
816 B
Plaintext

Index: config/hiawatha.conf.in
--- config/hiawatha.conf.in.orig
+++ config/hiawatha.conf.in
@@ -12,6 +12,7 @@
# GENERAL SETTINGS
#
#ServerId = www-data
+ServerId = _hiawatha:_hiawatha
ConnectionsTotal = 1000
ConnectionsPerIP = 25
SystemLogfile = @LOG_DIR@/system.log
@@ -47,12 +48,13 @@ Binding {
# COMMON GATEWAY INTERFACE (CGI) SETTINGS
# These settings can be used to run CGI applications.
#
-#CGIhandler = /usr/bin/perl:pl
-#CGIhandler = /usr/bin/php-cgi:php
-#CGIhandler = /usr/bin/python:py
-#CGIhandler = /usr/bin/ruby:rb
+#CGIhandler = ${LOCALBASE}/bin/php-fastcgi:php
+#CGIhandler = ${LOCALBASE}/bin/python:py
+#CGIhandler = ${LOCALBASE}/bin/ruby:rb
#CGIhandler = /usr/bin/ssi-cgi:shtml
#CGIextension = cgi
+#
+#CGIwrapper = ${LOCALBASE}/sbin/cgi-wrapper
#
#FastCGIserver {
# FastCGIid = PHP8