add check for use_ssl and use_ldap in apache configs