From: William A. Rowe Jr Date: Tue, 16 Oct 2001 19:04:02 +0000 (+0000) Subject: LoadFile(s) required by modules before they loaded weren't executed until X-Git-Tag: 2.0.27~124 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc65ac01c8e3dd8e319f9c9010a50b7a0b6bf5a3;p=thirdparty%2Fapache%2Fhttpd.git LoadFile(s) required by modules before they loaded weren't executed until server initialization. This patch assures all such loaded files occur as they are parsed. Submitted by: John Sterling git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91496 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_so.c b/modules/mappers/mod_so.c index 38c58013b9a..0e0ec907452 100644 --- a/modules/mappers/mod_so.c +++ b/modules/mappers/mod_so.c @@ -337,7 +337,7 @@ static const char *load_module(cmd_parms *cmd, void *dummy, static const command_rec so_cmds[] = { AP_INIT_TAKE2("LoadModule", load_module, NULL, RSRC_CONF | EXEC_ON_READ, "a module name and the name of a shared object file to load it from"), - AP_INIT_ITERATE("LoadFile", load_file, NULL, RSRC_CONF, + AP_INIT_ITERATE("LoadFile", load_file, NULL, RSRC_CONF | EXEC_ON_READ, "shared object file or library to load into the server at runtime"), { NULL } };