summaryrefslogtreecommitdiff
path: root/www/apache22/files/patch-support__log_server_status.in
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-05-07 00:02:16 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-05-07 00:02:16 +0000
commit63e45c24e6d42b4067c6070a474cab7c0dded7f7 (patch)
treeae3c2caec114b410f2cc3c946202abf440a4e245 /www/apache22/files/patch-support__log_server_status.in
parent- Set the ITK version. (diff)
- Regenerate patch files with make makepatch for they have
piled up and additional patches conflict. This also will help when we try to syncronize www/apache20&www/apache22 - Unconditionally apply the mod_proxy_connect patch, you just may or may not actually compile the file to save some logic in Makefile With Hat: apache@
Diffstat (limited to 'www/apache22/files/patch-support__log_server_status.in')
-rw-r--r--www/apache22/files/patch-support__log_server_status.in20
1 files changed, 20 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..7aeb579dbad8
--- /dev/null
+++ b/www/apache22/files/patch-support__log_server_status.in
@@ -0,0 +1,20 @@
+--- ./support/log_server_status.in.orig 2006-07-11 23:38:44.000000000 -0400
++++ ./support/log_server_status.in 2010-05-06 19:37:54.273730386 -0400
+@@ -27,7 +27,7 @@
+ #
+ require 'sys/socket.ph';
+
+-$wherelog = "/var/log/graph/"; # Logs will be like "/var/log/graph/19960312"
++$wherelog = "@logfiledir@/httpd-status-"; # Logs will be like "/var/log/httpd-status-19960312.log"
+ $server = "localhost"; # Name of server, could be "www.foo.com"
+ $port = "80"; # Port on server
+ $request = "/status/?auto"; # Request to send
+@@ -60,7 +60,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;