diff options
Diffstat (limited to '')
-rw-r--r-- | www/apache13-fp/files/patch-al | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/www/apache13-fp/files/patch-al b/www/apache13-fp/files/patch-al index 2b3796c9f740..b355a697b4ab 100644 --- a/www/apache13-fp/files/patch-al +++ b/www/apache13-fp/files/patch-al @@ -1,11 +1,11 @@ ---- src/support/log_server_status.orig Fri Jan 1 13:05:34 1999 -+++ src/support/log_server_status Mon Jan 18 17:18:16 1999 +--- 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/960312" -+$wherelog = "/var/log/httpd-status-"; # Logs will be like "/var/log/httpd-status-960312" +-$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 @@ -13,13 +13,8 @@ sub tcp_connect { -@@ -93,11 +93,11 @@ - ### Main - - { -- $date=`date +%y%m%d:%H%M%S`; -+ $date=`LC_TIME=C date +%y%m%d:%H%M%S`; - chop($date); +@@ -100,7 +100,7 @@ + chomp($date); ($day,$time)=split(/:/,$date); $res=&tcp_connect($server,$port); - open(OUT,">>$wherelog$day"); |