2015-07-14 11:04:22 +02:00
|
|
|
|
2020-11-26 14:18:20 +01:00
|
|
|
Index: httpd-2.4.46/support/apachectl.in
|
2015-07-14 11:04:22 +02:00
|
|
|
===================================================================
|
2020-11-26 14:18:20 +01:00
|
|
|
--- httpd-2.4.46.orig/support/apachectl.in 2012-02-01 04:47:28.000000000 +0100
|
|
|
|
+++ httpd-2.4.46/support/apachectl.in 2020-11-09 15:29:52.479823800 +0100
|
|
|
|
@@ -42,7 +42,7 @@ ARGV="$@"
|
2015-07-14 11:04:22 +02:00
|
|
|
# -------------------- --------------------
|
|
|
|
#
|
|
|
|
# the path to your httpd binary, including options if necessary
|
|
|
|
-HTTPD='@exp_sbindir@/@progname@'
|
|
|
|
+HTTPD='@exp_sbindir@/start_apache2'
|
|
|
|
#
|
|
|
|
# pick up any necessary environment variables
|
|
|
|
if test -f @exp_sbindir@/envvars; then
|
2020-11-26 14:18:20 +01:00
|
|
|
@@ -52,7 +52,11 @@ fi
|
2015-07-14 11:04:22 +02:00
|
|
|
# a command that outputs a formatted text version of the HTML at the
|
|
|
|
# url given on the command line. Designed for lynx, however other
|
|
|
|
# programs may work.
|
|
|
|
-LYNX="@LYNX_PATH@ -dump"
|
|
|
|
+if [ -x "`which w3m`" ]; then
|
|
|
|
+ LYNX="w3m -dump -cols ${COLUMNS:-80}"
|
|
|
|
+elif [ -x "`which lynx`" ]; then
|
|
|
|
+ LYNX="lynx -dump -width=${COLUMNS:-80}"
|
|
|
|
+fi
|
|
|
|
#
|
|
|
|
# the URL to your server's mod_status status page. If you do not
|
|
|
|
# have one, then status and fullstatus will not work.
|