I've created a Drupal 8.6.4 site in Acquia Dev Desktop, but moved it to a local Docker / Docksal setup to keep working (I have not used it yet) – on a Mac, when it matters. Everything seems to be good, but for two questions. The first consists of a series of security warnings in the logs about htaccess. You should add an htaccess containing a specific code to the directory / var / www / config / default, but this directory does not exist. It's a docking setup: just set up ~ / projects / projectname / docroot on my computer.
The second problem I suspect may be related to this is that I can not create an archive backup of Drush –destination = x / x / x. It always tells me that file permissions prevent it, even if I give full read / write permissions to the folder. But I can do it without –destination. It just drops it in a temporary folder.
Here's the mistake I see – it's most often generated when I load an admin page.
Security Warning: .htaccess file could not be written. Create a .htaccess file in your / var / www / config / default directory that contains the following lines: # Decline all requests from Apache 2.4+.
Requires all denied# Reject all requests from Apache 2.0-2.2. Rejected by all# Disable all options we do not need. Options -Indexes -ExecCGI -Includes -MultiViews # Set the catch-all handler to prevent scripts from running. SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006 # Overwrite the handler again when we run it later in the summary list. SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003# If we know how this works, disable the PHP engine completely. php_flag engine off