From: sambufe Date: Wed, 24 May 2017 12:22:17 +0000 (+0200) Subject: fbb 2017 rewrites X-Git-Tag: v0.1.0~2925 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=1ec6b917f8a23800ee61f01da196b80e71e6e72d;p=pixelpark%2Fhiera.git fbb 2017 rewrites --- diff --git a/customer/fbb-www/prd-www02-fbb.pixelpark.net.yaml b/customer/fbb-www/prd-www02-fbb.pixelpark.net.yaml index e871e612..1c6b3159 100644 --- a/customer/fbb-www/prd-www02-fbb.pixelpark.net.yaml +++ b/customer/fbb-www/prd-www02-fbb.pixelpark.net.yaml @@ -61,132 +61,3 @@ infra::profile::apache::pp_vhosts: - FollowSymLinks allow_override: - All - rewrites: - - comment: "Subdomain nachbarn.berlin-airport.de" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^nachbarn.berlin-airport.de$" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/de/nachbarn/index.php [R=301,NE,L]" - - - comment: "BERFBB-2425 und BERFBB-2496" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/xmas.*$" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/webteam.*$" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/starsberlin.*$" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/securitastxl.*$" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/securitas.*$" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/bgstxl.*$" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/bgssxf.*$" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/ofis.*$" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/airberlinhub.*$" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/media.*$" - rewrite_rule: "(^.*/$|^$) $1index.php [L,R=301]" - - - comment: "Subdomain werbung.berlin-airport.de" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^advertising.berlin-airport.de$" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/en/business-partners/advertising-partner/adverting-spaces/index.php" - - - comment: "BERFBB-3078" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^werbung.berlin-airport.de$" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/de/geschaeftspartner/advertising-media/werbeflaechen-am-flughafen/index.php" - - - comment: "Subdomains flugplan" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^passagier-info.berlin-airport.de$" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/de/ [R=301,NE,L]" - - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^passenger-info.berlin-airport.de$" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/en/ [R=301,NE,L]" - - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^karriere.berlin-airport.de$" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/de/unternehmen/jobs-und-karriere/jobboerse/index.php [R=301,NE,L]" - - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^cargo.berlin-airport.de$" - rewrite_cond: "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/en/business-partners/airlines-and-ground-services/air-cargo/index.php [R=301,NE,L]" - - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^cargo.berlin-airport.de$" - rewrite_rule: " ^/.*$ http://www.berlin-airport.de/de/geschaeftspartner/airlines-luftfracht-abfertiger/luftfracht/index.php [R=301,NE,L]" - - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^non-aviation.berlin-airport.de$" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/de/geschaeftspartner/shops-und-gastronomie/vermietungs-centermanagement/index.php [R=301,NE,L]" - - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^messewerbung.berlin-airport.de$" - rewrite_cond: "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/en/business-partners/advertising-partner/adverting-spaces/contacts/index.php [R=301,NE,L]" - - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^messewerbung.berlin-airport.de$" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/de/geschaeftspartner/advertising-media/werbeflaechen-am-flughafen/ansprechpartner/index.php [R=301,NE,L]" - - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^berliner-airportrun.de$" - rewrite_rule: "^/.*$ http://berlin-laeuft.de/Airportrun.html [R=301,NE,L]" - -#TODO hier Rewrites aus Rewrite Conf - - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visitber.com$ [OR]" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visitber.de$ [OR]" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visit-ber.com$ [OR]" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visit-ber.de$" - rewrite_cond: "%%{ich-trickse}{HTTP:Accept-Language} ^pl [NC]" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/en/ber/the-excitement-of-airports/index.php [R=301,NE,L]" - - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visitber.com$ [OR]" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visitber.de$ [OR]" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visit-ber.com$ [OR]" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visit-ber.de$" - rewrite_cond: "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/en/ber/the-excitement-of-airports/index.php [R=301,NE,L]" - - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visitber.com$ [OR]" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visitber.de$ [OR]" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visit-ber.com$ [OR]" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visit-ber.de$" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/de/ber/erlebnis-flughafen/index.php [R=301,NE,L]" - - - comment: "BERFBB-3398" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/ADSL-Info/infotext.html$" - rewrite_rule: "^/.*$ /de/global/ADSL-info/index.php [L,R=301]" - - - comment: "Redirect berlin-airport.de auf www.berlin-airport.de" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^berlin-airport.de$" - rewrite_rule: "^(.*)$ http://www.berlin-airport.de$1 [R=301,L]" - - #HTTPS Rewrites TODO (Prüfen ob reinfolge eingehalten wird) - - comment: "Nachgeladene Ressourcen sollen bei den Nachfolgenden HTTPS Rewrites aussen vor sein" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} /(_images|_docroot|favicon|_flughafenplan|_errors)" - rewrite_rule: "^.*$ - [L]" - - - comment: "Wenn URI im SSL-Bereich, dann überspringe die nächsten 2 Regeln" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^(/de/global/kontakt/|/en/global/contact/|/pl/global/kontakt/).*$ [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^.*/index.php/kontakt/.*$ [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^.*/index.php/showForm$ [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^(/de/presse/publikationen/bestellformular|/en/press/publications/order-form).*$ [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^(/de/presse/foto-und-drehanfragen/genehmigungsformular|/en/press/photography-and-filming-permits/permit-application-form).*$ [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/de/nachbarn/fluglaerm-und-flugrouten/fluglaerm/fluglaerm-informations-beschwerde-system.*$ [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^.*(/parkplatzreservierung/index.php|/car-park-reservation/index.php|/rezerwacja-miejsc-parkingowych/index.php)$ [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/icons [OR]" - #BERFBB-2588 - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/de/unternehmen/umwelt/fluglaerm/fluglaerm-informations-beschwerde-system.*$ [OR]" - #BERFBB-2638 - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/de/geschaeftspartner/einkauf/einkauf-bewerbung.*$ [OR]" - #BERFBB-2356 - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/de/nachbarn/schallschutzprogramm/dialog/hinweise-fragen-beschwerden.*$ [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/de/unternehmen/aktuelles/newsletter/anmeldung.*$ [OR]" - # OFIS Sites - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/ofis/.*$ [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/starsberlin [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/securitastxl [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/securitas [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/bgstxl [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/bgssxf [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/airberlinhub [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/webteam" - rewrite_rule: ".? - [S=2]" - - comment: "andernfalls, wenn nicht SSL-Bereich, dann keine Aktion falls Protokoll HTTP" - # greift für Anfragen über den Loadbalancer - rewrite_cond: "%%{ich-trickse}{HTTP:Https} !on" - # Zugriff über Einzel-Nodes - rewrite_cond: "%%{ich-trickse}{HTTPS} off" - rewrite_rule: ".? - [L]" - - comment: "ansonsten, falls HTTPS dann auf HTTP weiterleiten und abbrechen" - rewrite_rule: "^(.*)$ http://www.berlin-airport.de$1 [R=301,L]" - - comment: "Regel für SSL-Bereich: wenn HTTP dann auf HTTPS weiterleiten und abbrechen" - rewrite_cond: "%%{ich-trickse}{HTTP:Https} !on" - rewrite_cond: "%%{ich-trickse}{HTTPS} off" - rewrite_rule: "^(.*)$ https://www.berlin-airport.de$1 [R=301,L]" diff --git a/customer/fbb-www/tst-www01-fbb.pixelpark.net.yaml b/customer/fbb-www/tst-www01-fbb.pixelpark.net.yaml index 3704afe2..179be96d 100644 --- a/customer/fbb-www/tst-www01-fbb.pixelpark.net.yaml +++ b/customer/fbb-www/tst-www01-fbb.pixelpark.net.yaml @@ -62,131 +62,581 @@ infra::profile::apache::pp_vhosts: allow_override: - All rewrites: +#TODO Rewrites aus HTTPD Conf FBBKERNSERV-143 - comment: "Subdomain nachbarn.berlin-airport.de" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^nachbarn.berlin-airport.de$" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/de/nachbarn/index.php [R=301,NE,L]" - + rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^nachbarn.berlin-airport.de$" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de/nachbarn/index.php [R=301,NE,L]" - comment: "BERFBB-2425 und BERFBB-2496" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/xmas.*$" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/webteam.*$" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/starsberlin.*$" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/securitastxl.*$" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/securitas.*$" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/bgstxl.*$" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/bgssxf.*$" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/ofis.*$" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/airberlinhub.*$" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} !^/media.*$" - rewrite_rule: "(^.*/$|^$) $1index.php [L,R=301]" - + rewrite_cond: + - "%%{ich-trickse}{REQUEST_URI} !^/xmas.*$" + - "%%{ich-trickse}{REQUEST_URI} !^/webteam.*$" + - "%%{ich-trickse}{REQUEST_URI} !^/starsberlin.*$" + - "%%{ich-trickse}{REQUEST_URI} !^/securitastxl.*$" + - "%%{ich-trickse}{REQUEST_URI} !^/securitas.*$" + - "%%{ich-trickse}{REQUEST_URI} !^/bgstxl.*$" + - "%%{ich-trickse}{REQUEST_URI} !^/bgssxf.*$" + - "%%{ich-trickse}{REQUEST_URI} !^/ofis.*$" + - "%%{ich-trickse}{REQUEST_URI} !^/airberlinhub.*$" + - "%%{ich-trickse}{REQUEST_URI} !^/media.*$" + rewrite_rule: + - "(^.*/$|^$) $1index.php [L,R=301]" - comment: "Subdomain werbung.berlin-airport.de" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^advertising.berlin-airport.de$" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/en/business-partners/advertising-partner/adverting-spaces/index.php" - + rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^advertising.berlin-airport.de$" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en/business-partners/advertising-partner/adverting-spaces/index.php" - comment: "BERFBB-3078" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^werbung.berlin-airport.de$" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/de/geschaeftspartner/advertising-media/werbeflaechen-am-flughafen/index.php" - + rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^werbung.berlin-airport.de$" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de/geschaeftspartner/advertising-media/werbeflaechen-am-flughafen/index.php" - comment: "Subdomains flugplan" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^passagier-info.berlin-airport.de$" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/de/ [R=301,NE,L]" + rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^passagier-info.berlin-airport.de$" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de/ [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^passenger-info.berlin-airport.de$" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en/ [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^karriere.berlin-airport.de$" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de/unternehmen/jobs-und-karriere/jobboerse/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^cargo.berlin-airport.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en/business-partners/airlines-and-ground-services/air-cargo/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^cargo.berlin-airport.de$" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de/geschaeftspartner/airlines-luftfracht-abfertiger/luftfracht/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^non-aviation.berlin-airport.de$" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de/geschaeftspartner/shops-und-gastronomie/vermietungs-centermanagement/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^messewerbung.berlin-airport.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en/business-partners/advertising-partner/adverting-spaces/contacts/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^messewerbung.berlin-airport.de$" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de/geschaeftspartner/advertising-media/werbeflaechen-am-flughafen/ansprechpartner/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^berliner-airportrun.de$" + rewrite_rule: + - "^/.*$ http://berlin-laeuft.de/Airportrun.html [R=301,NE,L]" +#TODO hier Rewrites aus Rewrite Conf------------------------------------------------------------------- + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^webcam.berlin-airport.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^webcam.berlin-airport.de$" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^presse.berlin-airport.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en/press/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^presse.berlin-airport.de$" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de/presse/index.php [R=301,NE,L]" + - comment: "BERFBB-3273" + rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?direktzumber.de$" + - "%%{ich-trickse}{HTTPS} off" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de/presse/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^infotower.berlin-airport.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^infotower.berlin-airport.de$" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^jobs.berlin-airport.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en/company/jobs-and-career/airport-job-board/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^jobs.berlin-airport.de$" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de/unternehmen/jobs-und-karriere/jobboerse/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^airport-campus.berlin-airport.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en/company/jobs-and-career/airport-job-board/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^airport-campus.berlin-airport.de$" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de/unternehmen/jobs-und-karriere/airport-campus/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^newsletter.berlin-airport.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en/company/latest-news/newsletter/registration/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^newsletter.berlin-airport.de$" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de/unternehmen/aktuelles/newsletter/anmeldung/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^ila.berlin-airport.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^ila.berlin-airport.de$" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de/index.php [R=301,NE,L]" - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^passenger-info.berlin-airport.de$" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/en/ [R=301,NE,L]" +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berlin-international-airports.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en/index.php [R=301,NE,L]" - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^karriere.berlin-airport.de$" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/de/unternehmen/jobs-und-karriere/jobboerse/index.php [R=301,NE,L]" +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berlin-international-airports.de$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de/index.php [R=301,NE,L]" - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^cargo.berlin-airport.de$" - rewrite_cond: "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/en/business-partners/airlines-and-ground-services/air-cargo/index.php [R=301,NE,L]" +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berliner-flughaefen.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^cargo.berlin-airport.de$" - rewrite_rule: " ^/.*$ http://www.berlin-airport.de/de/geschaeftspartner/airlines-luftfracht-abfertiger/luftfracht/index.php [R=301,NE,L]" +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berliner-flughaefen.de$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^non-aviation.berlin-airport.de$" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/de/geschaeftspartner/shops-und-gastronomie/vermietungs-centermanagement/index.php [R=301,NE,L]" +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berliner-flughafen.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^messewerbung.berlin-airport.de$" - rewrite_cond: "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/en/business-partners/advertising-partner/adverting-spaces/contacts/index.php [R=301,NE,L]" +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berliner-flughafen.de$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^messewerbung.berlin-airport.de$" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/de/geschaeftspartner/advertising-media/werbeflaechen-am-flughafen/ansprechpartner/index.php [R=301,NE,L]" +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berliner-flughaefen.com$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^berliner-airportrun.de$" - rewrite_rule: "^/.*$ http://berlin-laeuft.de/Airportrun.html [R=301,NE,L]" +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berliner-flughaefen.com$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" -#TODO hier Rewrites aus Rewrite Conf +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-berlin.com$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visitber.com$ [OR]" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visitber.de$ [OR]" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visit-ber.com$ [OR]" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visit-ber.de$" - rewrite_cond: "%%{ich-trickse}{HTTP:Accept-Language} ^pl [NC]" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/en/ber/the-excitement-of-airports/index.php [R=301,NE,L]" +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-berlin.com$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visitber.com$ [OR]" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visitber.de$ [OR]" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visit-ber.com$ [OR]" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visit-ber.de$" - rewrite_cond: "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/en/ber/the-excitement-of-airports/index.php [R=301,NE,L]" +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berlin-brandenburg-international.com$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" - - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visitber.com$ [OR]" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visitber.de$ [OR]" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visit-ber.com$ [OR]" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^visit-ber.de$" - rewrite_rule: "^/.*$ http://www.berlin-airport.de/de/ber/erlebnis-flughafen/index.php [R=301,NE,L]" +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berlin-brandenburg-international.com$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" - - comment: "BERFBB-3398" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/ADSL-Info/infotext.html$" - rewrite_rule: "^/.*$ /de/global/ADSL-info/index.php [L,R=301]" +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berliner-flughaefen.net$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" - - comment: "Redirect berlin-airport.de auf www.berlin-airport.de" - rewrite_cond: "%%{ich-trickse}{HTTP_HOST} ^berlin-airport.de$" - rewrite_rule: "^(.*)$ http://www.berlin-airport.de$1 [R=301,L]" +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berliner-flughaefen.net$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-Berlin.net$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-Berlin.net$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berliner-flughaefen.net$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berliner-flughaefen.net$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-berlin.net$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-berlin.net$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berliner-flughafen.com$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berliner-flughafen.com$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berliner-flughafen.net$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berliner-flughafen.net$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berlin-brandenburg-international.net$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berlin-brandenburg-international.net$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-berlin.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-berlin.de$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?hauptstadtflughafen.com$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?hauptstadtflughafen.com$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?hauptstadtflughafen-berlin.com$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?hauptstadtflughafen-berlin.com$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?hauptstadtflughafen.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?hauptstadtflughafen.de$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?hauptstadtflughafen-berlin.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?hauptstadtflughafen-berlin.de$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berlin-airport.aero$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berlin-airport.aero$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berlin-brandenburg-international.aero$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berlin-brandenburg-international.aero$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?hauptstadtflughafen.aero$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?hauptstadtflughafen.aero$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-ber.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-ber.de$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berlins-neuer-flughafen.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berlins-neuer-flughafen.de$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-ber.info$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-ber.info$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-ber.eu$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-ber.eu$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-ber.aero$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-ber.aero$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-berlin-brandenburg.aero$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-berlin-brandenburg.aero$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafenberlinbrandenburg.berlin$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en/travellers/index.php" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafenberlinbrandenburg.berlin$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de/reisende/index.php [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-berlin-brandenburg.eu$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?flughafen-berlin-brandenburg.eu$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berlin-international-airport.berlin$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berlin-international-airport.berlin$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berlin-international-airport.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berlin-international-airport.de$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berlin-international-airport.com$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en" + +- rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^(www\.)?berlin-international-airport.com$" +- rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de [R=301,NE,L]" + +##Ende TODO Rewrites aus Rewrite Conf----------------------------------------------------------------- + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^visitber.com$ [OR]" + - "%%{ich-trickse}{HTTP_HOST} ^visitber.de$ [OR]" + - "%%{ich-trickse}{HTTP_HOST} ^visit-ber.com$ [OR]" + - "%%{ich-trickse}{HTTP_HOST} ^visit-ber.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^pl [NC]" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en/ber/the-excitement-of-airports/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^visitber.com$ [OR]" + - "%%{ich-trickse}{HTTP_HOST} ^visitber.de$ [OR]" + - "%%{ich-trickse}{HTTP_HOST} ^visit-ber.com$ [OR]" + - "%%{ich-trickse}{HTTP_HOST} ^visit-ber.de$" + - "%%{ich-trickse}{HTTP:Accept-Language} ^en [NC]" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/en/ber/the-excitement-of-airports/index.php [R=301,NE,L]" + - rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^visitber.com$ [OR]" + - "%%{ich-trickse}{HTTP_HOST} ^visitber.de$ [OR]" + - "%%{ich-trickse}{HTTP_HOST} ^visit-ber.com$ [OR]" + - "%%{ich-trickse}{HTTP_HOST} ^visit-ber.de$" + rewrite_rule: + - "^/.*$ http://www.berlin-airport.de/de/ber/erlebnis-flughafen/index.php [R=301,NE,L]" + - comment: "BERFBB-3398" + rewrite_cond: + - "%%{ich-trickse}{REQUEST_URI} ^/ADSL-Info/infotext.html$" + rewrite_rule: + - "^/.*$ /de/global/ADSL-info/index.php [L,R=301]" + - comment: "Redirect berlin-airport.de auf www.berlin-airport.de" + rewrite_cond: + - "%%{ich-trickse}{HTTP_HOST} ^berlin-airport.de$" + rewrite_rule: + - "^(.*)$ http://www.berlin-airport.de$1 [R=301,L]" #HTTPS Rewrites TODO (Prüfen ob reinfolge eingehalten wird) - comment: "Nachgeladene Ressourcen sollen bei den Nachfolgenden HTTPS Rewrites aussen vor sein" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} /(_images|_docroot|favicon|_flughafenplan|_errors)" - rewrite_rule: "^.*$ - [L]" - + rewrite_cond: + - "%%{ich-trickse}{REQUEST_URI} /(_images|_docroot|favicon|_flughafenplan|_errors)" + rewrite_rule: + - "^.*$ - [L]" - comment: "Wenn URI im SSL-Bereich, dann überspringe die nächsten 2 Regeln" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^(/de/global/kontakt/|/en/global/contact/|/pl/global/kontakt/).*$ [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^.*/index.php/kontakt/.*$ [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^.*/index.php/showForm$ [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^(/de/presse/publikationen/bestellformular|/en/press/publications/order-form).*$ [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^(/de/presse/foto-und-drehanfragen/genehmigungsformular|/en/press/photography-and-filming-permits/permit-application-form).*$ [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/de/nachbarn/fluglaerm-und-flugrouten/fluglaerm/fluglaerm-informations-beschwerde-system.*$ [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^.*(/parkplatzreservierung/index.php|/car-park-reservation/index.php|/rezerwacja-miejsc-parkingowych/index.php)$ [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/icons [OR]" + rewrite_cond: + - "%%{ich-trickse}{REQUEST_URI} ^(/de/global/kontakt/|/en/global/contact/|/pl/global/kontakt/).*$ [OR]" + - "%%{ich-trickse}{REQUEST_URI} ^.*/index.php/kontakt/.*$ [OR]" + - "%%{ich-trickse}{REQUEST_URI} ^.*/index.php/showForm$ [OR]" + - "%%{ich-trickse}{REQUEST_URI} ^(/de/presse/publikationen/bestellformular|/en/press/publications/order-form).*$ [OR]" + - "%%{ich-trickse}{REQUEST_URI} ^(/de/presse/foto-und-drehanfragen/genehmigungsformular|/en/press/photography-and-filming-permits/permit-application-form).*$ [OR]" + - "%%{ich-trickse}{REQUEST_URI} ^/de/nachbarn/fluglaerm-und-flugrouten/fluglaerm/fluglaerm-informations-beschwerde-system.*$ [OR]" + - "%%{ich-trickse}{REQUEST_URI} ^.*(/parkplatzreservierung/index.php|/car-park-reservation/index.php|/rezerwacja-miejsc-parkingowych/index.php)$ [OR]" + - "%%{ich-trickse}{REQUEST_URI} ^/icons [OR]" #BERFBB-2588 - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/de/unternehmen/umwelt/fluglaerm/fluglaerm-informations-beschwerde-system.*$ [OR]" + - "%%{ich-trickse}{REQUEST_URI} ^/de/unternehmen/umwelt/fluglaerm/fluglaerm-informations-beschwerde-system.*$ [OR]" #BERFBB-2638 - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/de/geschaeftspartner/einkauf/einkauf-bewerbung.*$ [OR]" + - "%%{ich-trickse}{REQUEST_URI} ^/de/geschaeftspartner/einkauf/einkauf-bewerbung.*$ [OR]" #BERFBB-2356 - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/de/nachbarn/schallschutzprogramm/dialog/hinweise-fragen-beschwerden.*$ [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/de/unternehmen/aktuelles/newsletter/anmeldung.*$ [OR]" + - "%%{ich-trickse}{REQUEST_URI} ^/de/nachbarn/schallschutzprogramm/dialog/hinweise-fragen-beschwerden.*$ [OR]" + - "%%{ich-trickse}{REQUEST_URI} ^/de/unternehmen/aktuelles/newsletter/anmeldung.*$ [OR]" # OFIS Sites - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/ofis/.*$ [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/starsberlin [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/securitastxl [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/securitas [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/bgstxl [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/bgssxf [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/airberlinhub [OR]" - rewrite_cond: "%%{ich-trickse}{REQUEST_URI} ^/webteam" - rewrite_rule: ".? - [S=2]" + - "%%{ich-trickse}{REQUEST_URI} ^/ofis/.*$ [OR]" + - "%%{ich-trickse}{REQUEST_URI} ^/starsberlin [OR]" + - "%%{ich-trickse}{REQUEST_URI} ^/securitastxl [OR]" + - "%%{ich-trickse}{REQUEST_URI} ^/securitas [OR]" + - "%%{ich-trickse}{REQUEST_URI} ^/bgstxl [OR]" + - "%%{ich-trickse}{REQUEST_URI} ^/bgssxf [OR]" + - "%%{ich-trickse}{REQUEST_URI} ^/airberlinhub [OR]" + - "%%{ich-trickse}{REQUEST_URI} ^/webteam" + rewrite_rule: + - ".? - [S=2]" - comment: "andernfalls, wenn nicht SSL-Bereich, dann keine Aktion falls Protokoll HTTP" # greift für Anfragen über den Loadbalancer - rewrite_cond: "%%{ich-trickse}{HTTP:Https} !on" + rewrite_cond: + - "%%{ich-trickse}{HTTP:Https} !on" # Zugriff über Einzel-Nodes - rewrite_cond: "%%{ich-trickse}{HTTPS} off" - rewrite_rule: ".? - [L]" + rewrite_cond: + - "%%{ich-trickse}{HTTPS} off" + rewrite_rule: + - ".? - [L]" - comment: "ansonsten, falls HTTPS dann auf HTTP weiterleiten und abbrechen" - rewrite_rule: "^(.*)$ http://www.berlin-airport.de$1 [R=301,L]" + rewrite_rule: + - "^(.*)$ http://www.berlin-airport.de$1 [R=301,L]" - comment: "Regel für SSL-Bereich: wenn HTTP dann auf HTTPS weiterleiten und abbrechen" - rewrite_cond: "%%{ich-trickse}{HTTP:Https} !on" - rewrite_cond: "%%{ich-trickse}{HTTPS} off" - rewrite_rule: "^(.*)$ https://www.berlin-airport.de$1 [R=301,L]" + rewrite_cond: + - "%%{ich-trickse}{HTTP:Https} !on" + - "%%{ich-trickse}{HTTPS} off" + rewrite_rule: + - "^(.*)$ https://www.berlin-airport.de$1 [R=301,L]"