You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
371 B
13 lines
371 B
{
|
|
my $sslport = $modSSL{'TCPPort'} || '443';
|
|
my $sogosync = $sogosync{'status'} || 'enabled';
|
|
|
|
if (($port ne $sslport) && ($sogosync eq 'enabled')){
|
|
|
|
## Redirect Web Address to Secure Address
|
|
$OUT .= " RewriteEngine on\n";
|
|
$OUT .= " RewriteRule ^/Microsoft-Server-ActiveSync(/.*|\$) https://%{HTTP_HOST}/Microsoft-Server-ActiveSync\$1 \[L,R\]\n";
|
|
|
|
}
|
|
}
|
|
|
|
|