ports/www/apache24/files/patch-support__log_server_status.in
Olli Hauer 5391a9beb2 - update to 2.4.12
- change MPM backend from static to dynamic,
  but keep mpm_prefork for compatiblity with e.g. php modules
- install dedicated MPM load file in case httpd was build with modular MPM
  (modules.d/000_mpm_prefork_fallback.conf)
- disable SSLv3 and SSLv2 fallback in sample httpd-ssl-conf
- use @sample macro instead EXAMPLESDIR
- add some SSLCipherSuite examples for OpenSSL >= 1.0.x
- add libressl support [1]
- add pkg-install script (to handle new modular MPM build)
- build now most all modules, so users using packages don't have
  to run a custom build for missing modules
- fix suexec mode

PR:		196139 [1]
MFH:		2015Q1
2015-01-31 15:22:51 +00:00

20 lines
779 B
Text

--- support/log_server_status.in.orig 2012-04-28 23:08:09 UTC
+++ support/log_server_status.in
@@ -29,7 +29,7 @@ use IO::Socket;
use strict;
use warnings;
-my $wherelog = "@exp_logfiledir@/"; # Logs will be like "@exp_logfiledir@/19960312"
+my $wherelog = "@exp_logfiledir@/httpd-status-"; # Logs will be like "@exp_logfiledir@/httpd-status-19960312"
my $server = "localhost"; # Name of server, could be "www.foo.com"
my $port = "@PORT@"; # Port on server
my $request = "/server-status/?auto"; # Request to send
@@ -46,7 +46,7 @@ my $time =
. sprintf( "%02d", $ltime[1] )
. sprintf( "%02d", $ltime[0] );
-open(OUT,">>$wherelog$day");
+open(OUT,">>$wherelog$day.log");
my $socket = new IO::Socket::INET(
PeerAddr => $server,