This forces the current configuration to inherit the configuration of the parent. In per-virtual-server context, this means that the maps, conditions and rules of the main server are inherited. In per-directory context this means that conditions and rules of the parent directory’s .htaccess configuration are inherited.
Rules inherited from the parent scope are applied after rules specified in the child scope.
Thus, the child directory(addon or sub domain) would take the .htaccess of their parent directory(main domain).
How to prevent .htaccess inheritance:
To resolve this, you simply just have to create a new .htaccess file in the child directory and place the following code in:
If you have further questions, please do not hesitate to contact our support team.