From: Oliver Böttcher Date: Wed, 15 Nov 2017 09:04:52 +0000 (+0100) Subject: BMAS-Typo3 - wartungsseite X-Git-Tag: v0.1.0~2049^2 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=e720fca69e0ccdb36a8e5ba2a5a13047ee68edb6;p=pixelpark%2Fhiera.git BMAS-Typo3 - wartungsseite --- diff --git a/customer/bmas-typo3/production.yaml b/customer/bmas-typo3/production.yaml index 6fcd67f3..678c7534 100644 --- a/customer/bmas-typo3/production.yaml +++ b/customer/bmas-typo3/production.yaml @@ -109,12 +109,11 @@ infra::profile::apache::pp_vhosts: servername: pdf.fachkraefte-offensive.de rewrites: - wrong_request: - comment: "Flasche Anfragen werden zur Hauptseite umgeleitet" + comment: "Falsche Anfragen werden zur Hauptseite umgeleitet" rewrite_cond: - '%%{ich-trickse}{REQUEST_URI} "!^/pdfgenerator"' rewrite_rule: - '^(.*)$ http://www.fachkraefte-offensive.de [R=301,L]' - # custom_fragment: 'ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/srv/www/pdfgenerator/$1' directories: - directory_docroot: provider: 'directory' diff --git a/customer/bmas-typo3/test.yaml b/customer/bmas-typo3/test.yaml index 18f514cf..39c5a8ba 100644 --- a/customer/bmas-typo3/test.yaml +++ b/customer/bmas-typo3/test.yaml @@ -115,6 +115,17 @@ infra::profile::typo3::projects: php_admin_value: always_populate_raw_post_data: '-1' max_input_vars: 1500 + aliases: + - { alias: /wartung , path: /var/www/wartung } + error_documents: + - { error_code: 503 , document: "/wartung/index.html" } + rewrites: + - alias: + comment: 'Maintenance' + rewrite_cond: + - '%%{ich-trickse}{REQUEST_URI} !=/wartung/index.html' + rewrite_rule: + - '^.*$ - [R=503,L]' unternehmenswertmensch: version: '7.6.22' site_path: '/srv/www/unternehmens-wert-mensch' @@ -142,6 +153,17 @@ infra::profile::typo3::projects: php_admin_value: always_populate_raw_post_data: '-1' max_input_vars: 1500 + aliases: + - { alias: /wartung , path: /var/www/wartung } + error_documents: + - { error_code: 503 , document: "/wartung/index.html" } + rewrites: + - alias: + comment: 'Maintenance' + rewrite_cond: + - '%%{ich-trickse}{REQUEST_URI} !=/wartung/index.html' + rewrite_rule: + - '^.*$ - [R=503,L]' inqacheck: version: '6.2.31' site_path: '/srv/www/inqa-check' @@ -178,8 +200,18 @@ infra::profile::typo3::projects: - '%%{ich-trickse}{HTTPS} !=on' rewrite_rule: - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]' + - alias: + comment: 'Maintenance' + rewrite_cond: + - '%%{ich-trickse}{REQUEST_URI} !=/wartung/index.html' + rewrite_rule: + - '^.*$ - [R=503,L]' php_admin_value: memory_limit: 256M + aliases: + - { alias: /wartung , path: /var/www/wartung } + error_documents: + - { error_code: 503 , document: "/wartung/index.html" } fisnetzwerk: version: '7.6.22' site_path: '/srv/www/fisnetzwerk' @@ -207,3 +239,14 @@ infra::profile::typo3::projects: php_admin_value: always_populate_raw_post_data: '-1' max_input_vars: 1500 + aliases: + - { alias: /wartung , path: /var/www/wartung } + error_documents: + - { error_code: 503 , document: "/wartung/index.html" } + rewrites: + - alias: + comment: 'Maintenance' + rewrite_cond: + - '%%{ich-trickse}{REQUEST_URI} !=/wartung/index.html' + rewrite_rule: + - '^.*$ - [R=503,L]'