diff options
author | Ralf S. Engelschall <rse@FreeBSD.org> | 1998-08-27 16:00:05 +0000 |
---|---|---|
committer | Ralf S. Engelschall <rse@FreeBSD.org> | 1998-08-27 16:00:05 +0000 |
commit | a116af42b28392376f11f5552e3c5c54bd69690b (patch) | |
tree | 1c9fc4fe209fef93175bc706aadfece9af2f8e71 /www/apache13-modssl/files/patch-ae | |
parent | Fix error at starting script with PostgreSQL. (diff) |
Import of a new SSL-aware Apache 1.3, achieved by patching up
the original Apache 1.3.1 with mod_ssl 2.0.5 (the Apache
Interface to SSLeay).
Notes
Notes:
svn path=/head/; revision=12882
Diffstat (limited to 'www/apache13-modssl/files/patch-ae')
-rw-r--r-- | www/apache13-modssl/files/patch-ae | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/www/apache13-modssl/files/patch-ae b/www/apache13-modssl/files/patch-ae new file mode 100644 index 000000000000..039d6320f415 --- /dev/null +++ b/www/apache13-modssl/files/patch-ae @@ -0,0 +1,50 @@ +*** 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; |