httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Morris <>
Subject Re: [users@httpd] How to use AddModule
Date Thu, 20 Nov 2003 00:50:43 GMT

Joshua Daniel Franklin wrote:

> I have an apache-1.3 server that is loading various modules.
> The httpd.conf has several LoadModule statements but no
> AddModule ones, and it works fine. However, I see AddModule
> recommended various places. The documentation is rather vague
> on the point. For LoadModule, for example:
> <>
> "The LoadModule directive links in the object file or library
> filename and adds the module structure named module to the list of active 
> modules."
> But then for AddModule:
> <>
> "This directive can be used to enable the use of those modules."
> What is the difference between an active module and an enabled module?
> It sounds like LoadModule loads the actual object file from disk.
> Does apache keep track of whether loaded modules disabled/enabled in memory?
> Does the very first connection, for example, enable setenvif_module?
> And, the question most to the point, is there a performance difference when
> using AddModule?
> Thanks.

"AddModule" make no difference, AFAIK, when you are using DSOs (since 
LoadModule automatically activates the module, AddModule would be 
repetitive).  It only  affects the server when modules are statically 
built in httpd.

Aaron W Morris <> (decep)

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message