Commit c3372fd9 authored by omega8cc's avatar omega8cc

Merge branch '6.x-2.x' of git.drupal.org:project/provision into dev-nginx-6.x-2.x

parents 4d41e329 a317ec2f
......@@ -58,12 +58,12 @@ if (sizeof($this->aliases)) {
# Prevent direct reading of files in the private dir.
# This is for Drupal7 compatibility, which would normally drop
# a .htaccess in those directories, but we explicitly ignore those
<DirectoryMatch "<?php print $this->site_path; ?>/private/(files|temp)/" >
<Directory "<?php print $this->site_path; ?>/private/" >
SetHandler This_is_a_Drupal_security_line_do_not_remove
Deny from all
Options None
Options +FollowSymLinks
</DirectoryMatch>
</Directory>
</VirtualHost>
<?php endif; ?>
......
......@@ -55,12 +55,12 @@ if ($this->redirection || $ssl_redirection) {
# Prevent direct reading of files in the private dir.
# This is for Drupal7 compatibility, which would normally drop
# a .htaccess in those directories, but we explicitly ignore those
<DirectoryMatch "<?php print $this->site_path; ?>/private/(files|temp)/" >
<Directory "<?php print $this->site_path; ?>/private/" >
SetHandler This_is_a_Drupal_security_line_do_not_remove
Deny from all
Options None
Options +FollowSymLinks
</DirectoryMatch>
</Directory>
</VirtualHost>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment