<-
Apache > HTTP Server > Documentation > Version 2.4

����ġ���� �ڵ鷯 ���

������ ���:  en  |  es  |  fr  |  ja  |  ko  |  tr  |  zh-cn 

�� ������ �ֽ��� ������ �ƴմϴ�. �ֱٿ� ����� ������ ���� ������ �����ϼ���.

�� ������ ����ġ���� �ڵ鷯�� ����ϴ� ����� �����Ѵ�.

Support Apache!

����

top

�ڵ鷯�� �����ΰ�

������ ��û�Ҷ� ����ġ�� ���������� ������ �۾��� "�ڵ鷯(handler)"��� �Ѵ�. �Ϲ������� ������ ���� ������ ���� �Ϲ����� �ڵ鷯�� ������ �ִ�. ��� ������ ���� ������ ������ ����������, � ���� ������ ���� "ó���ȴ�(handled)".

Apache 1.1���� �ڵ鷯�� ���������� ����� �� �ְ� �Ǿ���. ���� ������ ������� �ڵ鷯�� ������ Ȯ���ڳ� ��ġ�� ���� ������ �� �ִ�. �̴� �� �Ǹ��� ����̰� ������ ������ �ڵ鷯 �� ��ο� ������ �� �ֱ⶧���� ����. (���� Ȯ���ڸ� ���� ������ ����)

�ڵ鷯�� ������ ���� �����Ͽ�, Action ���þ�� �߰��� �� �ִ�. ǥ�� �������� �ִ� �⺻ �ڵ鷯�� ������ ����:

top

����

CGI ��ũ��Ʈ�� ����Ͽ� ������ ���� �����ϱ�

���� ���þ�� Ȯ���ڰ� html�� ������ ��û�� ��� footer.pl CGI ��ũ��Ʈ�� ����.

Action add-footer /cgi-bin/footer.pl
AddHandler add-footer .html

CGI ��ũ��Ʈ�� (PATH_TRANSLATED ȯ�溯���� ��Ī�ϴ�) ���� ��û�� ������ ������ ������ �� ������.

HTTP ����� �����ϴ� ����

���� ���þ�� HTTP ����� �����ϴ� ���Ͽ� send-as-is �ڵ鷯�� �����Ѵ�. /web/htdocs/asis/ ���丮 �ȿ� �ִ� ��� ������ Ȯ���ڿ� ������� send-as-is �ڵ鷯�� ó���Ѵ�.

<Directory /web/htdocs/asis>
SetHandler send-as-is
</Directory>

top

���α׷��Ӹ� ���� ����

�ڵ鷯 ����� �����ϱ����� ��������� Apache API�� �߰��Ǿ���. Ư�� request_rec ����ü�� ���ο� �ʵ尡 �߰��Ǿ���:

char *handler

����� �ڵ鷯�� ����Ϸ���, ��û�� invoke_handler �ܰ� ������ r->handler�� �ڵ鷯 �̸��� �������ֱ⸸ �ϸ� �ȴ�. �ڵ鷯�� content type ��� �ڵ鷯 �̸��� ����� ���� �����ϰ��� ���� ���� �����Ǿ���. �� ��ų �ʿ�� ������ �ڵ鷯 �̸��� �������� ������� �ʰ�, �ܾ�� ���̿� ���� ��ȣ�� ����ϴ� ���� �Ϲ����̴�. �׷��� �ڵ鷯 �̸��� media type�� ��ġ�� �ʴ´�.

������ ���:  en  |  es  |  fr  |  ja  |  ko  |  tr  |  zh-cn 

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.