diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1999-09-03 16:07:53 +0000 | 
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1999-09-03 16:07:53 +0000 | 
| commit | 58f0cad97ae85335cb94cb37174f2f2e41db7935 (patch) | |
| tree | 20bad9c1e0956523be08cf849e888f82edfd3e3d /www/apache13/files/patch-al | |
| parent | New Free BDF fonts collection for Korean. (diff) | |
upgrade to 1.3.9
Diffstat (limited to 'www/apache13/files/patch-al')
| -rw-r--r-- | www/apache13/files/patch-al | 74 | 
1 files changed, 24 insertions, 50 deletions
diff --git a/www/apache13/files/patch-al b/www/apache13/files/patch-al index 039d6320f415..b355a697b4ab 100644 --- a/www/apache13/files/patch-al +++ b/www/apache13/files/patch-al @@ -1,50 +1,24 @@ -*** src/support/log_server_status.orig	Tue Mar 31 16:53:50 1998 ---- src/support/log_server_status	Tue Apr 21 17:18:10 1998 -*************** -*** 67,76 **** -  # -  require 'sys/socket.ph'; -   -! $wherelog = "/var/log/graph/";  # Logs will be like "/var/log/graph/960312" -  $server = "localhost";          # Name of server, could be "www.foo.com" -  $port = "80";                   # Port on server -! $request = "/status/?auto";     # Request to send -   -  sub tcp_connect -  { ---- 67,76 ---- -  # -  require 'sys/socket.ph'; -   -! $wherelog = "/var/log/httpd-status-";  # Logs will be like "/var/log/graph/960312" -  $server = "localhost";          # Name of server, could be "www.foo.com" -  $port = "80";                   # Port on server -! $request = "/server-status/?auto";     # Request to send -   -  sub tcp_connect -  { -*************** -*** 93,103 **** -  ### Main -   -  { -! 	$date=`date +%y%m%d:%H%M%S`; -  	chop($date); -  	($day,$time)=split(/:/,$date); -  	$res=&tcp_connect($server,$port); -! 	open(OUT,">>$wherelog$day"); -  	if ($res) { -  		print OUT "$time:-1:-1:-1:-1:$res\n"; -  		exit 1; ---- 93,103 ---- -  ### Main -   -  { -! 	$date=`LC_TIME=C date +%y%m%d:%H%M%S`; -  	chop($date); -  	($day,$time)=split(/:/,$date); -  	$res=&tcp_connect($server,$port); -! 	open(OUT,">>$wherelog$day.log"); -  	if ($res) { -  		print OUT "$time:-1:-1:-1:-1:$res\n"; -  		exit 1; +--- src/support/log_server_status.orig	Fri Jun  4 19:54:19 1999 ++++ src/support/log_server_status	Fri Sep  3 15:53:16 1999 +@@ -67,10 +67,10 @@ + # + require 'sys/socket.ph'; +  +-$wherelog = "/var/log/graph/";  # Logs will be like "/var/log/graph/19960312" ++$wherelog = "/var/log/httpd-status-"; + $server = "localhost";          # Name of server, could be "www.foo.com" + $port = "80";                   # Port on server +-$request = "/status/?auto";     # Request to send ++$request = "/server-status/?auto";     # Request to send +  + sub tcp_connect + { +@@ -100,7 +100,7 @@ + 	chomp($date); + 	($day,$time)=split(/:/,$date); + 	$res=&tcp_connect($server,$port); +-	open(OUT,">>$wherelog$day"); ++	open(OUT,">>$wherelog$day.log"); + 	if ($res) { + 		print OUT "$time:-1:-1:-1:-1:$res\n"; + 		exit 1;  | 
