-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Hi all,
> 
> Within httpd.con file I have seen these duplicate directives (#1 and #2):

Perhaps it might make more sense, as well as making the answer
self-evident, to provide a translation:

> <IfModule !mpm_winnt.c>
If I'm not running Windows ...

> <IfModule !mpm_netware.c>
And if I'm not running netware ...

Do this
> LockFile logs/accept.lock

End of inner "if" statement
> </IfModule>

End of outer "if" statement
> </IfModule>

The various "if" directives (IfModule, IfDefine, IfVersion) are in the
default configuration file so that the default file will work no matter
what environment you're in. However, since you know what environment
you're in, those If* blocks can all be removed - that is, get rid of the
ones that don't apply to you, and leave the ones that do, but without
the "If" qualifier.

I've seen a lot of people lately using <IfModule> blocks, for example,
as though they are somehow required to make stuff work. They aren't, and
they add an additional layer of troubleshooting.

- --
Rich Bowen
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDbOVTXP03+sx4yJMRAiOlAJ4pBHaYnsVXGOecCyO+W7FEUICF/QCg0/HU
iV5D6BmqNts5Rc5XP91nhkM=
=jyD0
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to