diff options
Diffstat (limited to 'russian/apache13-modssl/files/patch-al')
-rw-r--r-- | russian/apache13-modssl/files/patch-al | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/russian/apache13-modssl/files/patch-al b/russian/apache13-modssl/files/patch-al index b355a697b4ab..4ee89df5c8c8 100644 --- a/russian/apache13-modssl/files/patch-al +++ b/russian/apache13-modssl/files/patch-al @@ -1,6 +1,6 @@ ---- 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 @@ +--- src/support/log_server_status.orig Tue Jan 16 02:06:38 2001 ++++ src/support/log_server_status Mon Oct 22 20:44:59 2001 +@@ -70,7 +70,7 @@ # require 'sys/socket.ph'; @@ -8,12 +8,17 @@ +$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 + $request = "/status/?auto"; # Request to send +@@ -96,14 +96,14 @@ + ### Main - sub tcp_connect { -@@ -100,7 +100,7 @@ +- $year=`date +%y`; ++ $year=`LC_TIME=C date +%y`; + chomp($year); + $year += ($year < 70) ? 2000 : 1900; +- $date = $year . `date +%m%d:%H%M%S`; ++ $date = $year . `LC_TIME=C date +%m%d:%H%M%S`; chomp($date); ($day,$time)=split(/:/,$date); $res=&tcp_connect($server,$port); |