Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using "../config" as config_sync_directory causes errors #7

Open
joeparsons opened this issue Aug 27, 2020 · 0 comments
Open

Using "../config" as config_sync_directory causes errors #7

joeparsons opened this issue Aug 27, 2020 · 0 comments

Comments

@joeparsons
Copy link

After installing a Drupal on a Pantheon site using a custom distribution that is using the scaffold files from this repo, I see the following error on the Drupal status report page:

Errors found: Configuration sync directory

The directory ../config does not exist.

As well as the following error in the Drupal watchdog logs:

Security warning: Couldn't write .htaccess file. Please create a .htaccess file in your ../config
directory which contains the following lines:

# Deny all requests from Apache 2.4+.
<IfModule mod_authz_core.c>
  Require all denied
</IfModule>

# Deny all requests from Apache 2.0-2.2.
<IfModule !mod_authz_core.c>
  Deny from all
</IfModule>

# Turn off all options we don't need.
Options -Indexes -ExecCGI -Includes -MultiViews

# Set the catch-all handler to prevent scripts from being executed.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
<Files *>
  # Override the handler again if we're run later in the evaluation list.
  SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
</Files>

# If we know how to do it safely, disable the PHP engine entirely.
<IfModule mod_php7.c>
  php_flag engine off
</IfModule>
joeparsons added a commit to joeparsons/drupal-integrations that referenced this issue Aug 27, 2020
joeparsons added a commit to joeparsons/drupal-integrations that referenced this issue Aug 27, 2020
joeparsons added a commit to joeparsons/drupal-integrations that referenced this issue Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant