Disable Apache's AllowOverride directive


When the AllowOverride directive is activated, the Apache HTTP server must climb the directory tree in order to find a .htaccess file that might contain overloading rules. It is thus recommended that, if possible, you disable this directive in the Apache configuration.

In your host Apache’s configuration file, add:

AllowOverride none

Further reading:

This best practice should only be applied if it is coherent with your project's specifications.
Under CC-By-NX-SA license