httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <Martin.Krae...@Fujitsu-Siemens.com>
Subject Apache-1.3.23: [warn] module is already added, skipping
Date Fri, 25 Jan 2002 15:58:13 GMT
Hi everyone,

Since changing to 1.3.23, I observe the following warnings
in the error log:

[Fri Jan 25 15:29:47 2002] [warn] module mod_dir.c is already added, skipping
[Fri Jan 25 15:29:47 2002] [warn] module mod_cgi.c is already added, skipping
[Fri Jan 25 15:29:47 2002] [warn] module mod_asis.c is already added, skipping

In my config file, I use

--httpd.conf--
  ...
  # Read the list of loadable modules from the configuration file dso.conf
  Include conf/dso.conf
  ...
--httpd.conf--

which includes an automatically generated dso.conf (by an AWK
script which reorders LoadModule and AddModule so that
maintenance becomes much easier -- you can easily comment
or uncomment an optional module):

--dso.conf--
ClearModuleList

# Built-in so Module:  (this module must be added first!)
AddModule mod_so.c

# MicrosoftFree Friday
#LoadModule msff_module         libexec/mod_msff.so
#AddModule mod_msff.c

# Dynamically loaded mmap_static Module:
LoadModule mmap_static_module libexec/mod_mmap_static.so
AddModule mod_mmap_static.c

# Dynamically loaded vhost_alias Module:
LoadModule vhost_alias_module libexec/mod_vhost_alias.so
AddModule mod_vhost_alias.c

...etc...
--dso.conf--


None of these directives is present more than once (only empty
lines and empty comments occur more than once):
--sh--
% sort dso.conf | uniq -d

#
--sh--

Actually, I can also inline these shuffled module lines, and I get
the same warnings.

IMHO the "double check" code is coded incorrectly.

  Martin
-- 
<Martin.Kraemer@Fujitsu-Siemens.com>         |     Fujitsu Siemens
Fon: +49-89-636-46021, FAX: +49-89-636-47655 | 81730  Munich,  Germany

Mime
View raw message