]> granicus.if.org Git - apache/commitdiff
OS/2: Allow but ignore unix config directives so the default config files
authorBrian Havard <bjh@apache.org>
Thu, 3 Jan 2002 02:06:32 +0000 (02:06 +0000)
committerBrian Havard <bjh@apache.org>
Thu, 3 Jan 2002 02:06:32 +0000 (02:06 +0000)
don't have to be munged further.

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

server/mpm/mpmt_os2/mpmt_os2.c

index af01a5b9a742c3453650687240ee12dafbb099f4..d9dc481a0fe669c41b610a24426e76d3ce8aeb04 100644 (file)
@@ -572,6 +572,13 @@ static const char *set_max_spare_threads(cmd_parms *cmd, void *dummy,
 
 
 
+static const char *ignore_cmd(cmd_parms *cmd, void *dummy, const char *arg)
+{
+    return NULL;
+}
+
+
+
 static const command_rec mpmt_os2_cmds[] = {
 LISTEN_COMMANDS,
 AP_INIT_TAKE1( "StartServers", set_daemons_to_start, NULL, RSRC_CONF, 
@@ -580,6 +587,12 @@ AP_INIT_TAKE1("MinSpareThreads", set_min_spare_threads, NULL, RSRC_CONF,
   "Minimum number of idle children, to handle request spikes"),
 AP_INIT_TAKE1("MaxSpareThreads", set_max_spare_threads, NULL, RSRC_CONF,
   "Maximum number of idle children"),
+AP_INIT_TAKE1("User", ignore_cmd, NULL, RSRC_CONF,
+  "Not applicable on this platform"),
+AP_INIT_TAKE1("Group", ignore_cmd, NULL, RSRC_CONF,
+  "Not applicable on this platform"),
+AP_INIT_TAKE1("ScoreBoardFile", ignore_cmd, NULL, RSRC_CONF, \
+  "Not applicable on this platform"),
 { NULL }
 };