<-
Apache > HTTP Server > Documentation > Version 2.4 > ���

����ġ ��� mod_authz_owner

������ ���:  en  |  fr  |  ja  |  ko 

�� ������ �ֽ��� ������ �ƴմϴ�. �ֱٿ� ����� ������ ���� ������ �����ϼ���.
����:���� �����ڸ� �̿��� ���Ѻο�
����:Extension
����:authz_owner_module
�ҽ�����:mod_authz_owner.c
����:����ġ 2.1 ���ĺ���

���

�� ����� HTTP ������ ����� ����� ���̵�(�� ����� ���̵�)�� ��û�� ������ ���Ͻý��� ������/�׷�� ���Ͽ� ������ ���ٱ����� �ο��Ѵ�. ���⼭ ����ڸ��� ��ȣ�� �̹� mod_auth_basic�̳� mod_auth_digest ���� ��������� Ȯ���� ���ƴ�. mod_authz_owner�� Require ���þ��� ���� �� �ƱԸ�Ʈ, file-owner�� file-group�� ó���Ѵ�:

file-owner
�� ����ڸ��� ��û�� ���� �������� �ý��� �̸��� ���ƾ� �Ѵ�. ��, �ü���� ��û�� ������ �����ڰ� jones���, ���� ���� ���Ͽ� �����ϴ� ����ڵ� ���������� jones�̾�� �Ѵ�.
file-group
������ ������ �ý��� �׷���� mod_authz_groupfile�̳� mod_authz_dbm�� ���� �׷� �����ͺ��̽��� �ְ�, �� ����ڸ��� �ش� �׷쿡 ���ؾ� �Ѵ�. ���� ���, �ü���� ��û�� ������ accounts (�ý���) �׷��� �����ϰ� �ִٸ�, �׷� �����ͺ��̽��� accounts��� �׷��� �ְ� ��û�� ����� �� ����ڸ��� �� �׷쿡 ���ؾ� �Ѵ�.

����

mod_authz_owner�� ������ ���Ͻý��ۿ� ���� �ʴ� �ڿ��� (��, ���� �ڿ�) ���Ѻο��Ѵٸ�, ������ �ź��Ѵ�.

Ư�� ���������� "MultiViews" �ڿ��� ���Ѻο����� �ʴ´�.

Support Apache!

����

���þ��

�� ��⿡�� ���þ �����ϴ�.

Bugfix checklist

����

top

���� ����

Require file-owner

����ġ �������� ��ϴ� ���߻���� �ý��ۿ��� �� ����ڰ� ~/public_html/private�� �ڽ��� ������ �����Ѵٰ� ��������. ��� �� ����ڸ��� �����ϴ� AuthDBMUserFile �����ͺ��̽��� �ְ�, ���⿡ ����� ����ڸ��� �������� ���� ������ �����ϴ� �ý��� ����ڸ��� �����ϴ�. �� ��� �Ʒ� ������ ���� �����ڿ��Ը� ������ ����Ѵ�. ����� jones�� ������ jones�� �ƴ� smith�� �����ϰ� �ִ� �� /home/smith/public_html/private�� �ִ� ���Ͽ� ������ �� ����.

<Directory /home/*/public_html/private>
AuthType Basic
AuthName MyPrivateFiles
AuthBasicProvider dbm
AuthDBMUserFile /usr/local/apache2/etc/.htdbm-all
Satisfy All
Require file-owner
</Directory>

Require file-group

���� ��Ȳ�� ��������� �������� ~/public_html/project-foo�� ������Ʈ ������ �����Ѵٰ� ��������. ���ϵ��� �ý��� �׷� foo�� �����ϸ�, ��� �� ����ڸ��� ����� �׷��� ����ϴ� AuthDBMGroupFile �����ͺ��̽��� �ִ�. ��, �ּ��� foo��� �׷쿡 �������� �ִ�. jones�� smith�� ��� �׷� foo�� �������̶��, �� ��� project-foo ���丮�� ������ �� �ִ�.

<Directory /home/*/public_html/project-foo>
AuthType Basic
AuthName "Project Foo Files"
AuthBasicProvider dbm

# combined user/group database
AuthDBMUserFile /usr/local/apache2/etc/.htdbm-all
AuthDBMGroupFile /usr/local/apache2/etc/.htdbm-all

Satisfy All
Require file-group
</Directory>

������ ���:  en  |  fr  |  ja  |  ko 

top

Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.