summaryrefslogtreecommitdiff
path: root/www/apache13-ssl/files/patch-src::support::log_server_status
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2003-11-09 00:42:20 +0000
committerJames E. Housley <jeh@FreeBSD.org>2003-11-09 00:42:20 +0000
commit6a57e829a110bdb9a898f8829c3f95479c641eab (patch)
tree0918cbad0f15db2753917750099fd7db49e72280 /www/apache13-ssl/files/patch-src::support::log_server_status
parentAdd OpenOffice.org 1.1 for Finnish language (diff)
Changelog:
- Sync with apache13 layout (and some patches) - use DOCSDIR - Add no_zombies.patch - use DIST_SUBDIR=apache Removed files: - files/patch-aq - files/patch-ar Added files: - files/patch-httpd.conf-dist - files/post-patch-conf:httpd.conf-dist.orig - files/patch-FixPatch - files/patch-SSLpatch - files/patch-Makefile.tmpl - files/patch-src::modules::standard::mod_auth_db.module - files/patch-src::support::dbmanage - files/patch-src::support::log_server_status - files/patch-configure PR: 58403 Submitted By: MAINTAINER
Diffstat (limited to 'www/apache13-ssl/files/patch-src::support::log_server_status')
-rw-r--r--www/apache13-ssl/files/patch-src::support::log_server_status24
1 files changed, 24 insertions, 0 deletions
diff --git a/www/apache13-ssl/files/patch-src::support::log_server_status b/www/apache13-ssl/files/patch-src::support::log_server_status
new file mode 100644
index 000000000000..bd792616581e
--- /dev/null
+++ b/www/apache13-ssl/files/patch-src::support::log_server_status
@@ -0,0 +1,24 @@
+--- src/support/log_server_status.orig Mon Jan 15 20:06:38 2001
++++ src/support/log_server_status Fri Jan 25 08:03:03 2002
+@@ -70,10 +70,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
+ {
+@@ -103,7 +103,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;