> 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) > */
Mod_cgid doesn't work on Windows, and I'm not really sure that it makes sense. Windows programs don't seem to have the problem that Unix does forking a threaded process, probably because every fork on Windows is a fork/exec, so they don't need to create the threads just to kill them off. > +#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 > Ryan
