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