All pastes #340376 Raw Edit

Untitled

public text v1 · immutable
·published 2007-02-04 19:08 UTC
rendered paste body
Options +FollowSymlinks
# HTTPS-Verschluesselung erzwingen
RewriteEngine On

RewriteCond %{SERVER_PORT}     !^44[34]$
RewriteCond %{HTTP_HOST} domain-a
RewriteRule (.*)  https://%{HTTP_HOST}:443%{REQUEST_URI} [R]

RewriteCond %{SERVER_PORT}     !^44[34]$
RewriteCond %{HTTP_HOST} domain-b
RewriteRule (.*)  https://%{HTTP_HOST}:444%{REQUEST_URI} [R]