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

����ġ ��� mod_userdir

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

�� ������ �ֽ��� ������ �ƴմϴ�. �ֱٿ� ����� ������ ���� ������ �����ϼ���.
����:����ں� ���丮
����:Base
����:userdir_module
�ҽ�����:mod_userdir.c

���

�� ����� ����ϸ� http://example.com/~user/ ������ ����ں� ���丮�� ������ �� �ִ�.

���þ��

����

top

UserDir ���þ�

����:����ں� ���丮 ��ġ
����:UserDir directory-filename
�⺻��:UserDir public_html
������:�ּ�������, ����ȣ��Ʈ
����:Base
���:mod_userdir

UserDir ���þ�� ������� ������ ���� ��û�� ������ ����� Ȩ���丮 �ȿ��� ����� ���� ���丮�� �����Ѵ�. Directory-filename�� ���� �� �ϳ��̴�:

Userdir ���þ enabled�� disabled Ű���带 ������� ������, �ƱԸ�Ʈ�� ���ϸ� �������� ó���Ͽ� ���丮�� ��ȯ�Ѵ�. http://www.foo.com/~bob/one/two.html�� ���� ��û�� ������ ���� ��ȯ�ȴ�:

����� UserDir ���þ� ��ȯ�� ���
UserDir public_html~bob/public_html/one/two.html
UserDir /usr/web/usr/web/bob/one/two.html
UserDir /home/*/www/home/bob/www/one/two.html

���� ���þ�� Ŭ���̾�Ʈ���� �����̷����� ������:

����� UserDir ���þ� ��ȯ�� ���
UserDir http://www.foo.com/usershttp://www.foo.com/users/bob/one/two.html
UserDir http://www.foo.com/*/usrhttp://www.foo.com/bob/usr/one/two.html
UserDir http://www.foo.com/~*/http://www.foo.com/~bob/one/two.html
�� ���þ ����Ҷ� �����϶�; ���� ���, "UserDir ./"�� "/~root"�� �Ƹ��� �ٶ������� �ʰ� "/"�� ��ȯ�Ѵ�. ������ "UserDir disabled root"�� �����ϱ� ������ ���Ѵ�. �ڼ��� ������ �˷��� Directory ���þ�� ���� ���� �����϶�.

�߰� ����:

��� ����ڿ��Ը� UserDir ���丮�� ����Ѵٸ�, ������ ����:

UserDir disabled
UserDir enabled user1 user2 user3

��κ��� ����ڿ��� UserDir ���丮�� ����ϰ� �Ϻθ� �ź��Ѵٸ�, ������ ����:

UserDir enabled
UserDir disabled user4 user5 user6

�ٸ� ����� ���丮�� ������ ���� �ִ�. ������ ���� ���ɾ ����Ѵٸ�:

Userdir public_html /usr/web http://www.foo.com/

http://www.foo.com/~bob/one/two.html ��û�� �ϸ�, ���� ~bob/public_html/one/two.html �������� ã��, /usr/web/bob/one/two.html�� ã�� ��, ���������� http://www.foo.com/bob/one/two.html���� �����̷����� ������.

�����̷����� ����Ѵٸ� ����� �������� �ξ�� �Ѵ�. ����ġ�� �����̷����� �����ߴ��� �� �� ���⶧����, �����̷����� ��� �տ� �θ� �׻� �����̷����� ����ϰ� �ȴ�.

����

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

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.