1<?xml version="1.0" encoding="EUC-KR"?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head> 4<meta content="text/html; charset=EUC-KR" http-equiv="Content-Type" /> 5<!-- 6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 7 This file is generated from xml source: DO NOT EDIT 8 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 9 --> 10<title>����ġ���� �ڵ鷯 ��� - Apache HTTP Server Version 2.4</title> 11<link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> 12<link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> 13<link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="./style/css/prettify.css" /> 14<script src="./style/scripts/prettify.min.js" type="text/javascript"> 15</script> 16 17<link href="./images/favicon.ico" rel="shortcut icon" /></head> 18<body id="manual-page"><div id="page-header"> 19<p class="menu"><a href="./mod/">���</a> | <a href="./mod/directives.html">���þ��</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html">���</a> | <a href="./sitemap.html">����Ʈ��</a></p> 20<p class="apache">Apache HTTP Server Version 2.4</p> 21<img alt="" src="./images/feather.png" /></div> 22<div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div> 23<div id="path"> 24<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="./">Version 2.4</a></div><div id="page-content"><div id="preamble"><h1>����ġ���� �ڵ鷯 ���</h1> 25<div class="toplang"> 26<p><span>������ ���: </span><a href="./en/handler.html" hreflang="en" rel="alternate" title="English"> en </a> | 27<a href="./es/handler.html" hreflang="es" rel="alternate" title="Español"> es </a> | 28<a href="./fr/handler.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | 29<a href="./ja/handler.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 30<a href="./ko/handler.html" title="Korean"> ko </a> | 31<a href="./tr/handler.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a> | 32<a href="./zh-cn/handler.html" hreflang="zh-cn" rel="alternate" title="Simplified Chinese"> zh-cn </a></p> 33</div> 34<div class="outofdate">�� ������ �ֽ��� ������ �ƴմϴ�. 35 �ֱٿ� ����� ������ ���� ������ �����ϼ���.</div> 36 37 <p>�� ������ ����ġ���� �ڵ鷯�� ����ϴ� ����� �����Ѵ�.</p> 38 </div> 39<div id="quickview"><a href="https://www.apache.org/foundation/contributing.html" class="badge"><img src="https://www.apache.org/images/SupportApache-small.png" alt="Support Apache!" /></a><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#definition">�ڵ鷯�� �����ΰ�</a></li> 40<li><img alt="" src="./images/down.gif" /> <a href="#examples">����</a></li> 41<li><img alt="" src="./images/down.gif" /> <a href="#programmer">���α��Ӹ� ���� ����</a></li> 42</ul><h3>����</h3><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div> 43<div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> 44<div class="section"> 45<h2><a name="definition" id="definition">�ڵ鷯�� �����ΰ�</a></h2> 46 47 <table class="related"><tr><th>���õ� ���</th><th>���õ� ���þ�</th></tr><tr><td><ul><li><code class="module"><a href="./mod/mod_actions.html">mod_actions</a></code></li><li><code class="module"><a href="./mod/mod_asis.html">mod_asis</a></code></li><li><code class="module"><a href="./mod/mod_cgi.html">mod_cgi</a></code></li><li><code class="module"><a href="./mod/mod_imagemap.html">mod_imagemap</a></code></li><li><code class="module"><a href="./mod/mod_info.html">mod_info</a></code></li><li><code class="module"><a href="./mod/mod_mime.html">mod_mime</a></code></li><li><code class="module"><a href="./mod/mod_negotiation.html">mod_negotiation</a></code></li><li><code class="module"><a href="./mod/mod_status.html">mod_status</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/mod_actions.html#action">Action</a></code></li><li><code class="directive"><a href="./mod/mod_mime.html#addhandler">AddHandler</a></code></li><li><code class="directive"><a href="./mod/mod_mime.html#removehandler">RemoveHandler</a></code></li><li><code class="directive"><a href="./mod/core.html#sethandler">SetHandler</a></code></li></ul></td></tr></table> 48 49 50 <p>������ ��û�Ҷ� ����ġ�� ���������� ������ �۾��� 51 "�ڵ鷯(handler)"��� �Ѵ�. �Ϲ������� ������ ���� ������ 52 ���� �Ϲ����� �ڵ鷯�� ������ �ִ�. ��� ������ ���� ������ 53 ������ ����������, � ���� ������ ���� "ó���ȴ�(handled)".</p> 54 55 <p>Apache 1.1���� �ڵ鷯�� ��������� ����� �� �ְ� �Ǿ���. 56 ���� ������ ������� �ڵ鷯�� ������ Ȯ���ڳ� ��ġ�� ���� 57 ������ �� �ִ�. �̴� �� �Ǹ��� ����̰� ������ ������ �ڵ鷯 58 �� ��ο� ������ �� �ֱ���� ����. (<a href="mod/mod_mime.html#multipleext">���� Ȯ���ڸ� ���� ����</a>�� 59 ����)</p> 60 61 <p>�ڵ鷯�� ������ ���� �����Ͽ�, <code class="directive"><a href="./mod/mod_actions.html#action">Action</a></code> ���þ�� �߰��� 62 �� �ִ�. ǥ�� �������� �ִ� �⺻ �ڵ鷯�� ������ ����:</p> 63 64 <ul> 65 <li><strong>default-handler</strong>: ������ ������ 66 ó���ϱ����� �⺻������ ����ϴ� �ڵ鷯 67 <code>default_handler()</code>�� ����Ͽ� ������ ������. 68 (core)</li> 69 70 <li><strong>send-as-is</strong>: HTTP ����� �ִ� ������ 71 �״�� ������. (<code class="module"><a href="./mod/mod_asis.html">mod_asis</a></code>)</li> 72 73 <li><strong>cgi-script</strong>: ������ CGI�� ó���Ѵ�. 74 (<code class="module"><a href="./mod/mod_cgi.html">mod_cgi</a></code>)</li> 75 76 <li><strong>imap-file</strong>: imagemap ��Ģ ���Ϸ� 77 ó���Ѵ�. (<code class="module"><a href="./mod/mod_imagemap.html">mod_imagemap</a></code>)</li> 78 79 <li><strong>server-info</strong>: ������ ���� ������ 80 �˷��ش�. (<code class="module"><a href="./mod/mod_info.html">mod_info</a></code>)</li> 81 82 <li><strong>server-status</strong>: ������ ���¸� �����Ѵ�. 83 (<code class="module"><a href="./mod/mod_status.html">mod_status</a></code>)</li> 84 85 <li><strong>type-map</strong>: �������� ����� 86 type map���� ó���Ѵ�. 87 (<code class="module"><a href="./mod/mod_negotiation.html">mod_negotiation</a></code>)</li> 88 </ul> 89 </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> 90<div class="section"> 91<h2><a name="examples" id="examples">����</a></h2> 92 93 94 <h3><a name="example1" id="example1">CGI ��ũ��Ʈ�� ����Ͽ� ������ ���� �����ϱ�</a></h3> 95 96 97 <p>���� ���þ�� Ȯ���ڰ� <code>html</code>�� ������ 98 ��û�� ��� <code>footer.pl</code> CGI ��ũ��Ʈ�� ����.</p> 99 100 <div class="example"><p><code> 101 Action add-footer /cgi-bin/footer.pl<br /> 102 AddHandler add-footer .html 103 </code></p></div> 104 105 <p>CGI ��ũ��Ʈ�� 106 (<code>PATH_TRANSLATED</code> ȯ�溯���� ��Ī�ϴ�) ���� 107 ��û�� ������ ������ ������ �� ������.</p> 108 109 110 <h3><a name="example2" id="example2">HTTP ����� �����ϴ� ����</a></h3> 111 112 113 <p>���� ���þ�� HTTP ����� �����ϴ� ���Ͽ� 114 <code>send-as-is</code> �ڵ鷯�� �����Ѵ�. 115 <code>/web/htdocs/asis/</code> ���丮 �ȿ� �ִ� ��� 116 ������ Ȯ���ڿ� ������� <code>send-as-is</code> �ڵ鷯�� 117 ó���Ѵ�.</p> 118 119 <div class="example"><p><code> 120 <Directory /web/htdocs/asis><br /> 121 SetHandler send-as-is<br /> 122 </Directory> 123 </code></p></div> 124 125 126 </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> 127<div class="section"> 128<h2><a name="programmer" id="programmer">���α��Ӹ� ���� ����</a></h2> 129 130 131 <p>�ڵ鷯 ����� �����ϱ����� ��������� 132 <a href="developer/API.html">Apache API</a>�� �߰��Ǿ���. 133 Ư�� <code>request_rec</code> ����ü�� ���ο� �ʵ尡 134 �߰��Ǿ���:</p> 135 136 <div class="example"><p><code> 137 char *handler 138 </code></p></div> 139 140 <p>����� �ڵ鷯�� ����Ϸ���, ��û�� 141 <code>invoke_handler</code> �ܰ� ������ 142 <code>r->handler</code>�� �ڵ鷯 �̸��� �������ֱ⸸ 143 �ϸ� �ȴ�. �ڵ鷯�� content type ��� �ڵ鷯 �̸��� ����� 144 ���� �����ϰ�� ���� ���� �����Ǿ���. �� ��ų �ʿ�� ������ 145 �ڵ鷯 �̸��� �������� ������� �ʰ�, �ܾ�� ���̿� ���� 146 ��ȣ�� ����ϴ� ���� �Ϲ����̴�. ���� �ڵ鷯 �̸��� 147 media type�� ��ġ�� �ʴ´�.</p> 148 </div></div> 149<div class="bottomlang"> 150<p><span>������ ���: </span><a href="./en/handler.html" hreflang="en" rel="alternate" title="English"> en </a> | 151<a href="./es/handler.html" hreflang="es" rel="alternate" title="Español"> es </a> | 152<a href="./fr/handler.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | 153<a href="./ja/handler.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 154<a href="./ko/handler.html" title="Korean"> ko </a> | 155<a href="./tr/handler.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a> | 156<a href="./zh-cn/handler.html" hreflang="zh-cn" rel="alternate" title="Simplified Chinese"> zh-cn </a></p> 157</div><div class="top"><a href="#page-header"><img src="./images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />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 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 Libera.chat, or sent to our <a href="https://httpd.apache.org/lists.html">mailing lists</a>.</div> 158<script type="text/javascript"><!--//--><![CDATA[//><!-- 159var comments_shortname = 'httpd'; 160var comments_identifier = 'http://httpd.apache.org/docs/2.4/handler.html'; 161(function(w, d) { 162 if (w.location.hostname.toLowerCase() == "httpd.apache.org") { 163 d.write('<div id="comments_thread"><\/div>'); 164 var s = d.createElement('script'); 165 s.type = 'text/javascript'; 166 s.async = true; 167 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; 168 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); 169 } 170 else { 171 d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); 172 } 173})(window, document); 174//--><!]]></script></div><div id="footer"> 175<p class="apache">Copyright 2022 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> 176<p class="menu"><a href="./mod/">���</a> | <a href="./mod/directives.html">���þ��</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html">���</a> | <a href="./sitemap.html">����Ʈ��</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- 177if (typeof(prettyPrint) !== 'undefined') { 178 prettyPrint(); 179} 180//--><!]]></script> 181</body></html>