summaryrefslogtreecommitdiff
path: root/www/apache22/files/patch-support:log_server_status.in
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-04-13 04:43:48 +0000
committerWill Andrews <will@FreeBSD.org>2001-04-13 04:43:48 +0000
commitcfa00f01bbc24053f541604ac751cf0ad914c404 (patch)
tree716f5e5a0ea1ea021b013c92e09bcb12ce707011 /www/apache22/files/patch-support:log_server_status.in
parentHopefully fix build for bento. (diff)
Bring in Apache 2.0.16-beta. Just in time for the release...
PR: 26410 Submitted by: Chang, Hye-Shik <perky@python.or.kr> Repocopied by: asami
Diffstat (limited to 'www/apache22/files/patch-support:log_server_status.in')
-rw-r--r--www/apache22/files/patch-support:log_server_status.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/www/apache22/files/patch-support:log_server_status.in b/www/apache22/files/patch-support:log_server_status.in
new file mode 100644
index 000000000000..3549aa89f8c5
--- /dev/null
+++ b/www/apache22/files/patch-support:log_server_status.in
@@ -0,0 +1,24 @@
+--- support/log_server_status.in.orig Mon Mar 12 08:40:47 2001
++++ support/log_server_status.in Sat Apr 7 05:45:42 2001
+@@ -63,10 +63,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
+ {
+@@ -96,7 +96,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;