Also force SSL (transparent redirect) when using LemonLDAPBasic auth
This commit is contained in:
parent
20de016b19
commit
ac5aec45ab
|
@ -5,7 +5,7 @@
|
|||
if (($modSSL{TCPPort} || "443") eq $port){
|
||||
$OUT .= " SSLEngine on\n";
|
||||
}
|
||||
elsif (($ssl =~ m/^enabled|yes|on|1$/i) || ($auth eq 'LemonLDAP')){
|
||||
elsif (($ssl =~ m/^enabled|yes|on|1$/i) || ($auth =~ /^LemonLDAP/)){
|
||||
$OUT .=<<'EOF';
|
||||
RewriteEngine on
|
||||
RewriteRule ^/(.*|$) https://%{HTTP_HOST}/$1 [L,R]
|
||||
|
|
Loading…
Reference in New Issue