{

    if ($port eq "80")
    {
        my $gosec = $groupoffice{'HTTPS'} || "off";
        if ($gosec eq "off")
	       {
                  $OUT = '    #';
              }
        else
             {
                  $OUT = '    RewriteRule ^/groupoffice(/.*|$)    https://%{HTTP_HOST}/groupoffice$1 [L,R]';
             }
    }    
    else
    {
        $OUT = '    #';
    }
}
 