Forum Moderators: phranque
Be sure you know why you're using <IfModule>, and that you really need it. Its main effect is that, when writing code to be deployed to multiple servers, it will prevent fatal errors on those servers which do not have the named module installed. Of course, the code enclosed in the <IfModule> section won't run on those servers either, and there will likely be other errors or problems because of this.
So in most cases, there is no good reason to use <IfModule> unless you are a large corporation, a hosting company, or a software vendor, deploying code across many servers with different configurations.
Jim