Commit 9ac8b2f7 authored by anarcat's avatar anarcat Committed by anarcat
Browse files

#642948 - backup_migrate compatibility: block files/backup_migrate/ paths from apache

parent ae53eabe
This provision extension is designed to enforce privacy of backups in the backup_migrate module.
name = Provision: backup_migrate
description = Backup migrate specific configuration
package = Provision
dependencies[] = provision
core = 6.x
* Inject the relevant .htacces configuration into the global apache configuration
function provision_backupmigrate_provision_apache_dir_config($data = null) {
return <<<EOF
RewriteRule sites/%{SERVER_NAME}/files/backup_migrate - [F]
RewriteRule files/backup_migrate - [F]
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