Commit acdd6ed3 authored by helmo's avatar helmo

Fix protection of files dir for multi-site

parent 8586a7ba
......@@ -59,7 +59,7 @@ if ($this->redirection) {
<?php print $extra_config; ?>
# Error handler for Drupal > 4.6.7
<Directory "<?php print $this->site_path; ?>/files">
<Directory ~ "sites/.*/files">
<Files *>
SetHandler This_is_a_Drupal_security_line_do_not_remove
</Files>
......
......@@ -25,7 +25,7 @@ Alias /<?php print $subdir; ?> <?php print $this->root; ?>
</Location>
# Error handler for Drupal > 4.6.7
<Directory "<?php print $this->site_path; ?>/files">
<Directory ~ "sites/.*/files">
SetHandler This_is_a_Drupal_security_line_do_not_remove
</Directory>
......
......@@ -56,7 +56,7 @@ if ($this->redirection || $ssl_redirection) {
<?php print $extra_config; ?>
# Error handler for Drupal > 4.6.7
<Directory "<?php print $this->site_path; ?>/files">
<Directory ~ "sites/.*/files">
<Files *>
SetHandler This_is_a_Drupal_security_line_do_not_remove
</Files>
......
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