Apache HTTP Server �汾2.2
˵�� | ����ʵ����֤֧���ߴ�����չ����֤֧���ߣ���Ϊ����һ�������Ա������� |
---|---|
״̬ | ��չ(E) |
ģ���� | authn_alias_module |
Դ�ļ� | mod_authn_alias.c |
������ | ���� Apache 2.1 ���Ժ�İ汾�п��� |
���ģ������������ļ��л���ʵ����֤֧���ߴ�����չ����֤֧���ߣ���Ϊ����һ�������Ա�����AuthBasicProvider
��AuthDigestProvider
ָ������ʵ����֤֧����һ�������á����⣬��������ͬһ����֤֧�����ڲ�ͬ����������á�
��������Ӵ����˻���ldap(ʵ��)��֤֧���ߵ�������ͬ��ldap(��չ)��֤֧���߱�����������ͬһ����֤����Ϳ��Ա����ldap�����ŷ���
LoadModule authn_alias_module modules/mod_authn_alias.so
<AuthnProviderAlias ldap ldap-alias1>
AuthLDAPBindDN cn=youruser,o=ctx
AuthLDAPBindPassword yourpassword
AuthLDAPURL ldap://ldap.host/o=ctx
</AuthnProviderAlias>
<AuthnProviderAlias ldap ldap-other-alias>
AuthLDAPBindDN cn=yourotheruser,o=dev
AuthLDAPBindPassword yourotherpassword
AuthLDAPURL ldap://other.ldap.host/o=dev?cn
</AuthnProviderAlias>
Alias /secure /webpages/secure
<Directory /webpages/secure>
Order deny,allow
Allow from all
AuthBasicProvider ldap-other-alias ldap-alias1
AuthType Basic
AuthName LDAP_Protected_Place
AuthzLDAPAuthoritative off
require valid-user
</Directory>
˵�� | ��װһ�鶨����չ��֤֧���ߵ�ָ���Ϊ��ָ��һ������ |
---|---|
� | <AuthnProviderAlias baseProvider Alias> ... </AuthnProviderAlias> |
������ | server config, virtual host |
״̬ | ��չ(E) |
ģ�� | mod_authn_alias |
<AuthnProviderAlias>
��</AuthnProviderAlias>
������װһ�鶨����չ��֤֧���ߵ�ָ���Ϊ��ָ��һ������������������Ա�AuthBasicProvider
��AuthDigestProvider
���á�