93 |
+ my $ssl = $domain->prop('RequireSSL') || 'disabled'; |
+ my $ssl = $domain->prop('RequireSSL') || 'disabled'; |
94 |
+ my $auth = $domain->prop('Authentication') || 'none'; |
+ my $auth = $domain->prop('Authentication') || 'none'; |
95 |
+ |
+ |
96 |
+ if (($httpsPort eq $port){ |
+ if ($httpsPort eq $port){ |
97 |
+ $OUT .= " SSLEngine on\n"; |
+ $OUT .= " SSLEngine on\n"; |
98 |
+ } |
+ } |
99 |
+ elsif (($ssl =~ m/^enabled|yes|on|1$/i) || ($auth =~ /^LemonLDAP/)){ |
+ elsif (($ssl =~ m/^enabled|yes|on|1$/i) || ($auth =~ /^LemonLDAP/)){ |