|
|
@ -4,7 +4,7 @@ my $auth = $domain->prop('Authentication') || 'none'; |
|
|
|
|
|
|
|
|
|
|
|
if ($auth eq 'LemonLDAP'){ |
|
|
|
if ($auth eq 'LemonLDAP'){ |
|
|
|
$OUT .= " # This virtualhost is configured to be protected by LemonLDAP NG\n" . |
|
|
|
$OUT .= " # This virtualhost is configured to be protected by LemonLDAP NG\n" . |
|
|
|
" PerlHeaderParserHandler My::Package\n" . |
|
|
|
" PerlHeaderParserHandler Lemonldap::NG::Handler\n" . |
|
|
|
" ErrorDocument 403 https://auth.$DomainName/?lmError=403\n" . |
|
|
|
" ErrorDocument 403 https://auth.$DomainName/?lmError=403\n" . |
|
|
|
" ErrorDocument 500 https://auth.$DomainName/?lmError=500\n"; |
|
|
|
" ErrorDocument 500 https://auth.$DomainName/?lmError=500\n"; |
|
|
|
if (($domain->prop('LemonLDAPMenu') || 'disabled') eq 'enabled'){ |
|
|
|
if (($domain->prop('LemonLDAPMenu') || 'disabled') eq 'enabled'){ |
|
|
@ -13,7 +13,7 @@ if ($auth eq 'LemonLDAP'){ |
|
|
|
} |
|
|
|
} |
|
|
|
elsif ($auth eq 'LemonLDAPBasic'){ |
|
|
|
elsif ($auth eq 'LemonLDAPBasic'){ |
|
|
|
$OUT .= " # This virtualhost is configured to be protected by LemonLDAP NG (basic auth)\n" . |
|
|
|
$OUT .= " # This virtualhost is configured to be protected by LemonLDAP NG (basic auth)\n" . |
|
|
|
" PerlHeaderParserHandler Lemonldap::NG::Handler::AuthBasic\n"; |
|
|
|
" PerlHeaderParserHandler Lemonldap::NG::Handler::Specific::AuthBasic\n"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|