The Apache httpd documentation has been telling people not to use .htaccess files for over twenty years.
> However, in general, use of .htaccess files should be avoided when possible. Any configuration that you would consider putting in a .htaccess file, can just as effectively be made in a <Directory> section in your main server configuration file.