You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Thom May <th...@planetarytramp.net> on 2002/08/17 21:14:30 UTC
[Patch] remove hardcoded path to scoreboard
As the title says. I've been running into this problem on numerous debian
installs.
-Thom
--
Thom May -> thom@planetarytramp.net
<buxy> asuffield: my english is not so bas as you may think ;-)
Index: include/scoreboard.h
===================================================================
RCS file: /home/cvspublic/httpd-2.0/include/scoreboard.h,v
retrieving revision 1.46
diff -u -u -r1.46 scoreboard.h
--- include/scoreboard.h 29 Mar 2002 16:21:48 -0000 1.46
+++ include/scoreboard.h 17 Aug 2002 19:19:05 -0000
@@ -78,7 +78,7 @@
/* Scoreboard file, if there is one */
#ifndef DEFAULT_SCOREBOARD
-#define DEFAULT_SCOREBOARD "logs/apache_runtime_status"
+#define DEFAULT_SCOREBOARD DEFAULT_REL_RUNTIMEDIR "/apache_runtime_status"
#endif
/* Scoreboard info on a process is, for now, kept very brief ---
Re: [Patch] remove hardcoded path to scoreboard
Posted by Thom May <th...@planetarytramp.net>.
* Justin Erenkrantz (jerenkrantz@apache.org) wrote :
> On Sat, Aug 17, 2002 at 08:14:30PM +0100, Thom May wrote:
> > As the title says. I've been running into this problem on numerous debian
> > installs.
>
> I believe this patch may not work on Win32 and Netware. Hint:
> look at where DEFAULT_REL_RUNTIMEDIR is defined. -- justin
Ok, so can we create a valid ap_config_layout.h for Win32/OS2 ?
The unix one is generated at configure time, but I'm not in possesion of a
windows machine - let alone one with a compiler on - so I'm totally clueless
how the build works on those platforms.
-Thom
--
Thom May -> thom@planetarytramp.net
US elections:
For those of you fearing that the rest of the world might be making fun
of the US because of this: Rest assured, we are.
Re: [Patch] remove hardcoded path to scoreboard
Posted by Justin Erenkrantz <je...@apache.org>.
On Sat, Aug 17, 2002 at 08:14:30PM +0100, Thom May wrote:
> As the title says. I've been running into this problem on numerous debian
> installs.
I believe this patch may not work on Win32 and Netware. Hint:
look at where DEFAULT_REL_RUNTIMEDIR is defined. -- justin