On 19 Mar 2010, at 6:58 PM, Jeff Trawick wrote:
LoadFile and LoadModule should both ensure that they're coded at
global scope, or report a configuration error. That logic was added
to the 1.3 branch but lost in 2.0 and later.
http://svn.apache.org/viewvc?view=revision&revision=87244
I'll fix trunk.
-1, please don't.
We are trying to educate our users to declare modules just before they
attempt to use them, instead of enabling every single module under the
sun globally, and then suffering the performance penalty of doing so.
The nett effect is the server is never bigger than it needs to be at
any given time.
The ability to load modules in a virtual host allows you to do this,
and is an entirely valid configuration:
<IfModule !mod_foo.c>
LoadModule foo_module modules/mod_foo.so
</IfModule>
FooDirective bar
Regards,
Graham
--