parent
4a62e10a6c
commit
d0f8653028
16
config/default/config_split.config_split.live.yml
Normal file
16
config/default/config_split.config_split.live.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
uuid: 1ee9c84f-5545-4ee4-9e18-c998a249c546
|
||||
langcode: en
|
||||
status: false
|
||||
dependencies: { }
|
||||
id: live
|
||||
label: Live
|
||||
description: ''
|
||||
folder: ../config/splits/live
|
||||
module: { }
|
||||
theme: { }
|
||||
blacklist:
|
||||
- google_analytics.settings
|
||||
graylist: { }
|
||||
graylist_dependents: true
|
||||
graylist_skip_equal: true
|
||||
weight: 0
|
27
config/splits/live/.htaccess
Normal file
27
config/splits/live/.htaccess
Normal file
|
@ -0,0 +1,27 @@
|
|||
# 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_php5.c>
|
||||
php_flag engine off
|
||||
</IfModule>
|
||||
<IfModule mod_php7.c>
|
||||
php_flag engine off
|
||||
</IfModule>
|
37
config/splits/live/google_analytics.settings.yml
Normal file
37
config/splits/live/google_analytics.settings.yml
Normal file
|
@ -0,0 +1,37 @@
|
|||
account: UA-11967257-1
|
||||
premium: false
|
||||
domain_mode: 0
|
||||
cross_domains: ''
|
||||
visibility:
|
||||
request_path_mode: 0
|
||||
request_path_pages: "/admin\r\n/admin/*\r\n/batch\r\n/node/add*\r\n/node/*/*\r\n/user/*/*"
|
||||
user_role_mode: 0
|
||||
user_role_roles: { }
|
||||
user_account_mode: 0
|
||||
track:
|
||||
outbound: true
|
||||
mailto: true
|
||||
files: true
|
||||
files_extensions: '7z|aac|arc|arj|asf|asx|avi|bin|csv|doc(x|m)?|dot(x|m)?|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt(x|m)?|pot(x|m)?|pps(x|m)?|ppam|sld(x|m)?|thmx|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls(x|m|b)?|xlt(x|m)|xlam|xml|z|zip'
|
||||
colorbox: true
|
||||
linkid: false
|
||||
urlfragments: false
|
||||
userid: false
|
||||
messages: { }
|
||||
site_search: false
|
||||
adsense: false
|
||||
displayfeatures: false
|
||||
privacy:
|
||||
anonymizeip: true
|
||||
custom:
|
||||
dimension: { }
|
||||
metric: { }
|
||||
codesnippet:
|
||||
create: { }
|
||||
before: ''
|
||||
after: ''
|
||||
translation_set: false
|
||||
cache: false
|
||||
debug: false
|
||||
_core:
|
||||
default_config_hash: SMk3vOyh4KT6rXnqkDcNQ51YGpJzRV5hyig5SSIfU6U
|
|
@ -41,3 +41,5 @@ drupal_settings:
|
|||
'devel',
|
||||
'stage_file_proxy',
|
||||
];
|
||||
|
||||
$config['config_split.config_split.live']['status'] = TRUE;
|
||||
|
|
Loading…
Reference in a new issue