14 lines
524 B
Plaintext
14 lines
524 B
Plaintext
{
|
|
|
|
if (($domain->prop('LemonLDAP') || 'disabled') eq 'enabled'){
|
|
$OUT .= " # This virtualhost is configured to be protected by LemonLDAP NG\n" .
|
|
" PerlHeaderParserHandler My::Package\n" .
|
|
" ErrorDocument 403 https://auth.$DomainName/?lmError=403\n" .
|
|
" ErrorDocument 500 https://auth.$DomainName/?lmError=500\n";
|
|
if (($domain->prop('LemonLDAPMenu') || 'disabled') eq 'enabled'){
|
|
$OUT .= " PerlOutputFilterHandler Lemonldap::NG::Handler::Menu\n";
|
|
}
|
|
}
|
|
|
|
}
|