RewriteEngine On #RewriteCond %{REQUEST_URI} !^/healthcheck.html$ #RewriteRule .* https://www.kino-ticketshop.de/touch/ [L] # For new shop development RewriteCond %{HTTP_HOST} ^app\.gwkp3\.slmedien\.de$ [NC] RewriteRule ^(.*)$ https://gwkp3-app.slmedien.de/$1 [R=301,L,QSA] # Black Widow - rewrite RewriteRule ^(.{2})/filmdetail/nicht-benutzen/F9264000012PLXMQDD$ https://%{HTTP_HOST}/$1 [R=301,L,QSA] # GangsterGang RewriteCond %{REQUEST_URI} ^/gangstergang RewriteRule ^(.*)$ https://%{HTTP_HOST}/gangster-gang [R=301,L] # ADMIN AUF HTTPS RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} cms.kinopolis.de RewriteCond %{REQUEST_URI} !^/admin RewriteRule ^(.*)$ https://cms.kinopolis.de/admin/ [R=301,L,QSA] RewriteCond %{HTTPS} on RewriteCond %{HTTP_HOST} cms.kinopolis.de RewriteCond %{REQUEST_URI} !^/admin/ RewriteRule ^(.*)/admin/(.*)$ https://cms.kinopolis.de/admin/$2 [R=301,L,QSA] #CRM Rewrite RewriteCond %{REQUEST_URI} ^/crm RewriteRule ^(.+) http://crm.cine-print.de/admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l #RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] # 20Jahre Geburtstagsparty rewrite AUF KINOPOLIS.NET RewriteCond %{HTTP_HOST} geburtstag(ab|bo|fr)\.kinopolis\.de$ RewriteRule (.*) http://geburtstag%1.kinopolis.net/ [R=301,L] RewriteCond %{HTTP_HOST} citydome-rosenheim.de RewriteRule ^(ro/?)?(.*) https://www.kinopolis.de/ro/$2 [R=301,L] RewriteRule ^we$ https://%{HTTP_HOST}/kinoauswahl [R=301,L] RewriteRule ^we/.*$ https://%{HTTP_HOST}/kinoauswahl [R=301,L] # ALLES UNBEKANNTE AUF KINOPOLIS.DE REWRITEN RewriteCond %{HTTP_HOST} !(kinopolis\.de|mathaeser\.de|cineart\.de|gloria-palast\.de|kino-kidsclub.de|gwkp[23]?\.slmedien\.de|gwkp[23]?-app\.slmedien\.de|web0[12]-(?:kinopolis|kidsclub|cineart)(?:-1|-app)?\.slmedien\.de) RewriteRule (.*) https://www.kinopolis.de%{REQUEST_URI} [R=301,L] # TRAILING SLASH REDIRECT RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !^/admin RewriteCond %{REQUEST_URI} !^/games/ RewriteCond %{REQUEST_URI} .*$ RewriteCond %{HTTP_HOST} ^(www\.)?(.+\.de) [NC] RewriteRule ^(.+)/$ https://www.%2/$1 [R=301,L] # OHNE WWW AUF WWW UMLEITEN RewriteCond %{HTTP_HOST} !^www\. RewriteCond %{HTTP_HOST} !(cotest\.kinopolis\.de|gwkp[23]?(?:-app)?\.slmedien\.de|app\.(?:kinopolis|mathaeser|gloria-palast)\.de|cms\.kinopolis\.de|preview\.kino-kidsclub\.de|web0[12]-(?:kinopolis|kidsclub|cineart)(?:-1|-app)?\.slmedien\.de) RewriteRule (.*) https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] # AUF HTTPS UMLEITEN RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::\2$ RewriteRule ^(.*) - [E=BASE:%1] RewriteCond %{REQUEST_URI} !^/games/ RewriteRule ^(.*)$ %{ENV:BASE}index.php [NC,L] Header set X-Frame-Options "SAMEORIGIN"