Date Published: February 22, 2022
How to resolve "IfModule not allowed here" errors
Issue¶
Your application is not loading and you have identified the following error in the Apache error.log file :
.htaccess: <IfModule not allowed here
Resolution¶
Consolidate .htaccess files in your Git codebase which are outside the /docroot/ directory, or strategically comment out code in .htaccess files outside the /docroot/ directory until you are able to pinpoint the culprit. The primary .htaccess file for your codebase is located at:
Did not find what you were looking for?
If this content did not answer your questions, try searching or contacting our support team for further assistance.