httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject init_modules was moved and it broke mod_perl
Date Sun, 24 Aug 1997 00:59:15 GMT

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.


Mime
View raw message