From: Philipp Dallig Date: Wed, 5 Oct 2016 14:27:25 +0000 (+0200) Subject: Add other languages X-Git-Tag: v0.1.0~4041 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=1aca38b76f785faec11493c9ae80dba4aba1e20a;p=pixelpark%2Fhiera.git Add other languages --- diff --git a/customer/mbch-tmodell/www-e-klasse-t-modell-ch.pixelpark.net.yaml b/customer/mbch-tmodell/www-e-klasse-t-modell-ch.pixelpark.net.yaml index ceb0c93d..c7015670 100644 --- a/customer/mbch-tmodell/www-e-klasse-t-modell-ch.pixelpark.net.yaml +++ b/customer/mbch-tmodell/www-e-klasse-t-modell-ch.pixelpark.net.yaml @@ -21,6 +21,10 @@ site::profile::ruby_passenger::projects: serveraliases: - www.e-klasse-t-modell.ch # Kundendomain - e-klasse-t-modell.ch + - www.classe-e-break.ch + - classe-e-break.ch + - www.classe-e-station-wagon.ch + - classe-e-station-wagon.ch - web-e-klasse-t-modell-ch.pixelpark.net # Realserver Domain ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem' ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem' @@ -49,3 +53,16 @@ site::profile::ruby_passenger::projects: auth_digest_algorithm: MD5 auth_user_file: '/etc/httpd/htdigest' auth_require: 'valid-user' + rewrites: + - sprache_fr: + comment: 'Sprache franzoesisch' + rewrite_cond: + - '%%{ich-trickse}{HTTP_HOST} ^(www\.)?classe-e-break\.ch$' + rewrite_rule: + - '^(.*)$ %%{ich-trickse}{REQUEST_SCHEME}://www.e-klasse-t-modell.ch/fr$1 [R=301,L]' + - sprache_it: + comment: 'Sprache italienisch' + rewrite_cond: + - '%%{ich-trickse}{HTTP_HOST} ^(www\.)?classe-e-station-wagon\.ch$' + rewrite_rule: + - '^(.*)$ %%{ich-trickse}{REQUEST_SCHEME}://www.e-klasse-t-modell.ch/it$1 [R=301,L]'