httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <>
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

  # Read the list of loadable modules from the configuration file dso.conf
  Include conf/dso.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):


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

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

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

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


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


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

IMHO the "double check" code is coded incorrectly.

<>         |     Fujitsu Siemens
Fon: +49-89-636-46021, FAX: +49-89-636-47655 | 81730  Munich,  Germany

View raw message