From aa3b6eaea2956e522bf418ab45b8fe119b827add Mon Sep 17 00:00:00 2001 From: Andreas Gerstenberg Date: Wed, 26 Apr 2017 08:37:03 +0200 Subject: [PATCH] mbvd-junge-sterne add temp rewrite_rule --- ...e-sterne-transporter-de.pixelpark.net.yaml | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/customer/mbvd-junge-sterne/web-junge-sterne-transporter-de.pixelpark.net.yaml b/customer/mbvd-junge-sterne/web-junge-sterne-transporter-de.pixelpark.net.yaml index d9f8cc43..f623b31e 100644 --- a/customer/mbvd-junge-sterne/web-junge-sterne-transporter-de.pixelpark.net.yaml +++ b/customer/mbvd-junge-sterne/web-junge-sterne-transporter-de.pixelpark.net.yaml @@ -35,12 +35,17 @@ infra::profile::ruby_passenger::projects: allow_override: - All directoryindex: index.php index.html - - location1: - provider: location - path: '/' - auth_type: Digest - auth_name: server - auth_digest_provider: file - auth_digest_algorithm: MD5 - auth_user_file: '/etc/httpd/htdigest' - auth_require: 'valid-user' +# - location1: +# provider: location +# path: '/' +# auth_type: Digest +# auth_name: server +# auth_digest_provider: file +# auth_digest_algorithm: MD5 +# auth_user_file: '/etc/httpd/htdigest' +# auth_require: 'valid-user' + rewrites: + - alias: + comment: 'Temporäre Weiterleitung' + rewrite_rule: + - '^(.*)$ http://www.mercedes-benz.de/content/germany/mpc/mpc_germany_website/de/home_mpc/van/home/gebrauchte_transporter/junge-sterne-transporter.html$1 [L,R=301]' -- 2.39.5