httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pier Fumagalli <p...@betaversion.org>
Subject [PATCH] hard-coded paths leftovers...
Date Wed, 03 Apr 2002 14:33:01 GMT
This is for mod_cgid.c

Index: modules/generators/mod_cgid.c
===================================================================
RCS file: /home/cvspublic/httpd-2.0/modules/generators/mod_cgid.c,v
retrieving revision 1.125
diff -U3 -r1.125 mod_cgid.c
--- modules/generators/mod_cgid.c  30 Mar 2002 23:55:16 -0000  1.125
+++ modules/generators/mod_cgid.c   3 Apr 2002 14:31:29 -0000
@@ -149,7 +149,12 @@
 
 #define DEFAULT_LOGBYTES 10385760
 #define DEFAULT_BUFBYTES 1024
-#define DEFAULT_SOCKET "logs/cgisock"
+
+/* This is for windows (w/o autoconf we don't generate ap_config_layout.hi)
*/
+#ifndef  DEFAULT_REL_RUNTIMEDIR
+#define  DEFAULT_REL_RUNTIMEDIR "logs"
+#endif
+#define DEFAULT_SOCKET  DEFAULT_REL_RUNTIMEDIR "/cgisock"
 
 #define CGI_REQ 1
 #define SSI_REQ 2



Mime
View raw message