httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Morris <aaronmor...@mindspring.com>
Subject Re: [users@httpd] How to use AddModule
Date Thu, 20 Nov 2003 01:24:53 GMT


Joshua Slive wrote:

> On Wed, 19 Nov 2003, Aaron Morris wrote:
> 
>>>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.
> 
> 
> While it is true that LoadModule implies AddModule, that does not
> necessarily mean you don't need AddModule with DSOs.  The crucial point is
> the ClearModuleList directive.  This directive UNLOADS all modules (static
> and dynamic).  Then you can use AddModule to put them back.  The reason
> you would want to do this is if you needed to change the order that
> modules are called.
> 
> Joshua.
> 

Ah.  That probably explains my experience.  Every time I've added new 
modules, my LoadModule directive almost always comes after the 
ClearModuleList directive.

-- 
Aaron W Morris <aaronmorris@mindspring.com> (decep)




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message