Received: (from majordom@localhost) by hyperreal.org (8.8.5/8.8.5) id SAA14450; Sat, 23 Aug 1997 18:00:42 -0700 (PDT) Received: from twinlark.arctic.org (twinlark.arctic.org [204.62.130.91]) by hyperreal.org (8.8.5/8.8.5) with SMTP id SAA14442 for ; Sat, 23 Aug 1997 18:00:39 -0700 (PDT) Received: (qmail 679 invoked by uid 500); 24 Aug 1997 01:00:05 -0000 Date: Sat, 23 Aug 1997 18:00:05 -0700 (PDT) From: Dean Gaudet To: new-httpd@apache.org Subject: Re: init_modules was moved and it broke mod_perl In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org This will make the vhash line be printed on stderr ... ah well, that can be commented out until we have logging levels. So why is it that mod_perl needs this double init? Dean On Sun, 24 Aug 1997, Rob Hartill wrote: > > A recent change removed one call to init_modules(). Unfortunately > mod_perl depended on that earlier call to be made before the 2nd > pass of the config file(s). > > Without this reversal of the change, my mod_perl setup goes kaboom. > It does mean though that init_modules is called twice again. > > > Index: http_main.c > =================================================================== > RCS file: /imdb/cvs/apache/main/http_main.c,v > retrieving revision 1.5 > diff -u -r1.5 http_main.c > --- http_main.c 1997/08/23 22:57:27 1.5 > +++ http_main.c 1997/08/24 00:45:56 > @@ -3307,6 +3307,7 @@ > > suexec_enabled = init_suexec(); > server_conf = read_config (pconf, ptrans, server_confname); > + init_modules (pconf, server_conf); > > if(standalone) { > clear_pool (pconf); /* standalone_main rereads... */ > @@ -3320,7 +3321,6 @@ > NET_SIZE_T l; > > open_logs(server_conf, pconf); > - init_modules (pconf, server_conf); > set_group_privs(); > default_server_hostnames (server_conf); > > > -- > Rob Hartill Internet Movie Database (Ltd) > http://www.moviedatabase.com/ .. a site for sore eyes. > >