]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
LoadFile(s) required by modules before they loaded weren't executed until
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 16 Oct 2001 19:04:02 +0000 (19:04 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 16 Oct 2001 19:04:02 +0000 (19:04 +0000)
  server initialization.  This patch assures all such loaded files occur as
  they are parsed.

Submitted by: John Sterling <sterling@covalent.net>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91496 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_so.c

index 38c58013b9a64d7afb5014f2c38e21bc78230242..0e0ec9074527cf30734ecbdb235a0bcb6a5f454e 100644 (file)
@@ -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 }
 };