|  | <?xml version="1.0" encoding="EUC-KR"?> | 
|  | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | 
|  | <html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head> | 
|  | <meta content="text/html; charset=EUC-KR" http-equiv="Content-Type" /> | 
|  | <!-- | 
|  | XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | 
|  | This file is generated from xml source: DO NOT EDIT | 
|  | XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | 
|  | --> | 
|  | <title>mod_actions - Apache HTTP Server Version 2.5</title> | 
|  | <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> | 
|  | <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> | 
|  | <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" /> | 
|  | <script src="../style/scripts/prettify.min.js" type="text/javascript"> | 
|  | </script> | 
|  |  | 
|  | <link href="../images/favicon.ico" rel="shortcut icon" /></head> | 
|  | <body> | 
|  | <div id="page-header"> | 
|  | <p class="menu"><a href="../mod/">¸ðµâ</a> | <a href="../mod/quickreference.html">Áö½Ã¾îµé</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">¿ë¾î</a> | <a href="../sitemap.html">»çÀÌÆ®¸Ê</a></p> | 
|  | <p class="apache">Apache HTTP Server Version 2.5</p> | 
|  | <img alt="" src="../images/feather.png" /></div> | 
|  | <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> | 
|  | <div id="path"> | 
|  | <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.5</a> > <a href="./">¸ðµâ</a></div> | 
|  | <div id="page-content"> | 
|  | <div id="preamble"><h1>¾ÆÆÄÄ¡ ¸ðµâ mod_actions</h1> | 
|  | <div class="toplang"> | 
|  | <p><span>°¡´ÉÇÑ ¾ð¾î: </span><a href="../de/mod/mod_actions.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | | 
|  | <a href="../en/mod/mod_actions.html" hreflang="en" rel="alternate" title="English"> en </a> | | 
|  | <a href="../es/mod/mod_actions.html" hreflang="es" rel="alternate" title="Español"> es </a> | | 
|  | <a href="../fr/mod/mod_actions.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | | 
|  | <a href="../ja/mod/mod_actions.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | | 
|  | <a href="../ko/mod/mod_actions.html" title="Korean"> ko </a></p> | 
|  | </div> | 
|  | <div class="outofdate">ÀÌ ¹®¼´Â ÃÖ½ÅÆÇ ¹ø¿ªÀÌ ¾Æ´Õ´Ï´Ù. | 
|  | ÃÖ±Ù¿¡ º¯°æµÈ ³»¿ëÀº ¿µ¾î ¹®¼¸¦ Âü°íÇϼ¼¿ä.</div> | 
|  | <table class="module"><tr><th><a href="module-dict.html#Description">¼³¸í:</a></th><td>ÀÌ ¸ðµâÀº ¹Ìµð¾îÁ¾·ù³ª ¿äû¸Þ¼µå¿¡ µû¶ó CGI | 
|  | ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇÑ´Ù.</td></tr> | 
|  | <tr><th><a href="module-dict.html#Status">»óÅÂ:</a></th><td>Base</td></tr> | 
|  | <tr><th><a href="module-dict.html#ModuleIdentifier">¸ðµâ¸í:</a></th><td>actions_module</td></tr> | 
|  | <tr><th><a href="module-dict.html#SourceFile">¼Ò½ºÆÄÀÏ:</a></th><td>mod_actions.c</td></tr></table> | 
|  | <h3>¿ä¾à</h3> | 
|  |  | 
|  | <p>ÀÌ ¸ðµâ¿¡´Â µÎ°¡Áö Áö½Ã¾î°¡ ÀÖ´Ù. <code class="directive"><a href="#action">Action</a></code> Áö½Ã¾î´Â ¿äûÇÏ´Â | 
|  | ÆÄÀÏÀÇ MIME content type¿¡ µû¶ó CGI ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇÑ´Ù. | 
|  | <code class="directive"><a href="#script">Script</a></code> Áö½Ã¾î´Â | 
|  | ¿äûÀÌ Æ¯Á¤ ¸Þ¼µå¸¦ »ç¿ëÇÒ °æ¿ì CGI ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇÑ´Ù. | 
|  | ±×·¡¼ ÆÄÀÏÀ» ó¸®ÇÏ´Â ½ºÅ©¸³Æ®¸¦ ¸Å¿ì ½±°Ô ½ÇÇàÇÒ ¼ö ÀÖ´Ù.</p> | 
|  | </div> | 
|  | <div id="quickview"><h3 class="directives">Áö½Ã¾îµé</h3> | 
|  | <ul id="toc"> | 
|  | <li><img alt="" src="../images/down.gif" /> <a href="#action">Action</a></li> | 
|  | <li><img alt="" src="../images/down.gif" /> <a href="#script">Script</a></li> | 
|  | </ul> | 
|  | <h3>Bugfix checklist</h3><ul class="seealso"><li><a href="https://www.apache.org/dist/httpd/CHANGES_2.4">httpd changelog</a></li><li><a href="https://bz.apache.org/bugzilla/buglist.cgi?bug_status=__open__&list_id=144532&product=Apache%20httpd-2&query_format=specific&order=changeddate%20DESC%2Cpriority%2Cbug_severity&component=mod_actions">Known issues</a></li><li><a href="https://bz.apache.org/bugzilla/enter_bug.cgi?product=Apache%20httpd-2&component=mod_actions">Report a bug</a></li></ul><h3>Âü°í</h3> | 
|  | <ul class="seealso"> | 
|  | <li><code class="module"><a href="../mod/mod_cgi.html">mod_cgi</a></code></li> | 
|  | <li><a href="../howto/cgi.html">CGI·Î µ¿Àû ÆäÀÌÁö »ý¼º</a></li> | 
|  | <li><a href="../handler.html">¾ÆÆÄÄ¡¿¡¼ Çڵ鷯 »ç¿ë</a></li> | 
|  | <li><a href="#comments_section">Comments</a></li></ul></div> | 
|  |  | 
|  | <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> | 
|  | <div class="directive-section"><h2><a name="Action" id="Action">Action</a> <a name="action" id="action">Áö½Ã¾î</a> <a title="Permanent link" href="#action" class="permalink">¶</a></h2> | 
|  | <table class="directive"> | 
|  | <tr><th><a href="directive-dict.html#Description">¼³¸í:</a></th><td>ƯÁ¤ Çڵ鷯³ª content-type¿¡ ´ëÇØ CGI ½ºÅ©¸³Æ®¸¦ | 
|  | »ç¿ëÇÑ´Ù</td></tr> | 
|  | <tr><th><a href="directive-dict.html#Syntax">¹®¹ý:</a></th><td><code>Action <var>action-type</var> <var>cgi-script</var> [virtual]</code></td></tr> | 
|  | <tr><th><a href="directive-dict.html#Context">»ç¿ëÀå¼Ò:</a></th><td>ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ®, directory, .htaccess</td></tr> | 
|  | <tr><th><a href="directive-dict.html#Override">Override ¿É¼Ç:</a></th><td>FileInfo</td></tr> | 
|  | <tr><th><a href="directive-dict.html#Status">»óÅÂ:</a></th><td>Base</td></tr> | 
|  | <tr><th><a href="directive-dict.html#Module">¸ðµâ:</a></th><td>mod_actions</td></tr> | 
|  | <tr><th><a href="directive-dict.html#Compatibility">Áö¿ø:</a></th><td><code>virtual</code> ¼öÁ¤ÀÚ¿Í Çڵ鷯´Â ¾ÆÆÄÄ¡ | 
|  | 2.1¶§ Ãß°¡µÇ¾ú´Ù</td></tr> | 
|  | </table> | 
|  | <p>ÀÌ Áö½Ã¾î´Â ¿äûÀÌ <var>action-type</var>À̸é | 
|  | <var>cgi-script</var>¸¦ ½ÇÇàÇÏ´Â ÇൿÀ» ¼¹ö¿¡ Ãß°¡ÇÑ´Ù. | 
|  | <var>cgi-script</var>´Â <code class="directive"><a href="../mod/mod_alias.html#scriptalias">ScriptAlias</a></code>³ª <code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code>¸¦ »ç¿ëÇÏ¿© CGI | 
|  | ½ºÅ©¸³Æ®·Î ÁöÁ¤ÇÑ ¸®¼Ò½ºÀÇ URL°æ·ÎÀÌ´Ù. | 
|  | <var>action-type</var>¿¡´Â <a href="../handler.html">Çڵ鷯</a>³ª MIME content typeÀ» | 
|  | »ç¿ëÇÒ ¼ö ÀÖ´Ù. ÀÌ Áö½Ã¾î´Â <code>PATH_INFO</code>¿Í | 
|  | <code>PATH_TRANSLATED</code> CGI Ç¥ÁØ È¯°æº¯¼ö·Î ¿äûÇÑ | 
|  | ¹®¼ÀÇ URL°ú ÆÄÀϰæ·Î¸¦ Àü´ÞÇÑ´Ù. <code>REDIRECT_HANDLER</code> | 
|  | º¯¼ö·Î ƯÁ¤ ¿äû¿¡ »ç¿ëÇÒ Çڵ鷯¸¦ Àü´ÞÇÑ´Ù.</p> | 
|  |  | 
|  | <div class="example"><h3>¿¹Á¦</h3><p><code> | 
|  | # ƯÁ¤ MIME content typeÀÇ ÆÄÀÏ ¿äû:<br /> | 
|  | Action image/gif /cgi-bin/images.cgi<br /> | 
|  | <br /> | 
|  | # ƯÁ¤ÇÑ È®ÀåÀÚ¸¦ °¡Áø ÆÄÀÏ<br /> | 
|  | AddHandler my-file-type .xyz<br /> | 
|  | Action my-file-type /cgi-bin/program.cgi<br /> | 
|  | </code></p></div> | 
|  |  | 
|  | <p>ù¹øÂ° ¿¹¿¡¼ MIME content typeÀÌ <code>image/gif</code>ÀÎ | 
|  | ÆÄÀÏÀ» ¿äûÇϸé ÁöÁ¤ÇÑ cgi ½ºÅ©¸³Æ® <code>/cgi-bin/images.cgi</code>°¡ | 
|  | ó¸®ÇÑ´Ù.</p> | 
|  |  | 
|  | <p>µÎ¹øÂ° ¿¹¿¡¼ È®ÀåÀÚ°¡ <code>.xyz</code>ÀÎ ÆÄÀÏÀ» ¿äûÇϸé | 
|  | ÁöÁ¤ÇÑ cgi ½ºÅ©¸³Æ® <code>/cgi-bin/program.cgi</code>°¡ | 
|  | ó¸®ÇÑ´Ù.</p> | 
|  | <p>In the second example, requests for files with a file extension of | 
|  | <code>.xyz</code> are handled instead by the specified cgi script | 
|  | <code>/cgi-bin/program.cgi</code>.</p> | 
|  |  | 
|  | <p>¼±ÅÃÀûÀÎ <code>virtual</code> ¼öÁ¤ÀÚ´Â ¿äûÇÑ ÆÄÀÏÀÌ | 
|  | ½ÇÁ¦·Î Á¸ÀçÇÏ´ÂÁö °Ë»çÇÏÁö ¾Êµµ·Ï ÇÑ´Ù. ¿¹¸¦ µé¾î, °¡»óÀÇ | 
|  | À§Ä¡¿¡ <code class="directive">Action</code> Áö½Ã¾î¸¦ »ç¿ëÇÏ·Á´Â | 
|  | °æ¿ì À¯¿ëÇÏ´Ù.</p> | 
|  |  | 
|  | <div class="example"><h3>¿¹Á¦</h3><p><code> | 
|  | <Location /news><br /> | 
|  | <span class="indent"> | 
|  | SetHandler news-handler<br /> | 
|  | Action news-handler /cgi-bin/news.cgi virtual<br /> | 
|  | </span> | 
|  | </Location> | 
|  | </code></p></div> | 
|  |  | 
|  | <h3>Âü°í</h3> | 
|  | <ul> | 
|  | <li><code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code></li> | 
|  | </ul> | 
|  | </div> | 
|  | <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> | 
|  | <div class="directive-section"><h2><a name="Script" id="Script">Script</a> <a name="script" id="script">Áö½Ã¾î</a> <a title="Permanent link" href="#script" class="permalink">¶</a></h2> | 
|  | <table class="directive"> | 
|  | <tr><th><a href="directive-dict.html#Description">¼³¸í:</a></th><td>ƯÁ¤ ¿äû¸Þ¼µå¿¡ ´ëÇØ CGI ½ºÅ©¸³Æ®¸¦ | 
|  | »ç¿ëÇÑ´Ù.</td></tr> | 
|  | <tr><th><a href="directive-dict.html#Syntax">¹®¹ý:</a></th><td><code>Script <var>method</var> <var>cgi-script</var></code></td></tr> | 
|  | <tr><th><a href="directive-dict.html#Context">»ç¿ëÀå¼Ò:</a></th><td>ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ®, directory</td></tr> | 
|  | <tr><th><a href="directive-dict.html#Status">»óÅÂ:</a></th><td>Base</td></tr> | 
|  | <tr><th><a href="directive-dict.html#Module">¸ðµâ:</a></th><td>mod_actions</td></tr> | 
|  | </table> | 
|  | <p>ÀÌ Áö½Ã¾î´Â ÆÄÀÏÀ» <var>method</var> ¸Þ¼µå¸¦ »ç¿ëÇÏ¿© | 
|  | ¿äûÇϸé <var>cgi-script</var>¸¦ ½ÇÇàÇÏ´Â ÇൿÀ» ¼¹ö¿¡ | 
|  | Ãß°¡ÇÑ´Ù. <var>cgi-script</var>´Â <code class="directive"><a href="../mod/mod_alias.html#scriptalias">ScriptAlias</a></code>³ª <code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code>¸¦ »ç¿ëÇÏ¿© CGI | 
|  | ½ºÅ©¸³Æ®·Î ÁöÁ¤ÇÑ ¸®¼Ò½ºÀÇ URL°æ·ÎÀÌ´Ù. ÀÌ Áö½Ã¾î´Â | 
|  | <code>PATH_INFO</code>¿Í <code>PATH_TRANSLATED</code> CGI | 
|  | Ç¥ÁØ È¯°æº¯¼ö·Î ¿äûÇÑ ¹®¼ÀÇ URL°ú ÆÄÀϰæ·Î¸¦ Àü´ÞÇÑ´Ù.</p> | 
|  |  | 
|  | <div class="note"> | 
|  | ¾î¶² ¸Þ¼µå À̸§ÀÌ¶óµµ »ç¿ëÇÒ ¼ö ÀÖ´Ù. <strong>¸Þ¼µå À̸§Àº | 
|  | ´ë¼Ò¹®ÀÚ¸¦ ±¸º°ÇÑ´Ù.</strong> ±×·¡¼ <code>Script PUT</code>°ú | 
|  | <code>Script put</code>Àº ¿ÏÀüÈ÷ ´Ù¸£´Ù. | 
|  | </div> | 
|  |  | 
|  | <p><code class="directive">Script</code> ¸í·É¾î´Â ±âº»ÀûÀÎ Çൿ¸¸À» | 
|  | ó¸®ÇÔÀ» ÁÖÀÇÇ϶ó. CGI ½ºÅ©¸³Æ®°¡ ºÒ¸®°Å³ª, ¿äûÇÑ ¸Þ¼µå¸¦ | 
|  | ¾Ë¾Æ¼ ó¸®ÇÒ ¼ö ÀÖ´Â ¸®¼Ò½ºÀÇ °æ¿ì ±×´ë·Î ó¸®ÇÑ´Ù. | 
|  | <code>GET</code> ¸Þ¼µåÀÇ <code class="directive">Script</code>´Â | 
|  | ÁúÀÇ¾Æ±Ô¸ÕÆ®°¡ ÀÖÀ»¶§¸¸ (<em>¿¹</em>, foo.html?hi) »ç¿ëÇÔÀ» | 
|  | ÁÖÀÇÇ϶ó. ÁúÀÇ¾Æ±Ô¸ÕÆ®°¡ ¾ø´Ù¸é Á¤»óÀûÀ¸·Î ¿äûÀ» ó¸®ÇÑ´Ù.</p> | 
|  |  | 
|  | <div class="example"><h3>¿¹Á¦</h3><p><code> | 
|  | # <ISINDEX>½Ä °Ë»öÀ» À§ÇØ<br /> | 
|  | Script GET /cgi-bin/search<br /> | 
|  | <br /> | 
|  | # CGI PUT Çڵ鷯<br /> | 
|  | Script PUT /~bob/put.cgi<br /> | 
|  | </code></p></div> | 
|  |  | 
|  | </div> | 
|  | </div> | 
|  | <div class="bottomlang"> | 
|  | <p><span>°¡´ÉÇÑ ¾ð¾î: </span><a href="../de/mod/mod_actions.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | | 
|  | <a href="../en/mod/mod_actions.html" hreflang="en" rel="alternate" title="English"> en </a> | | 
|  | <a href="../es/mod/mod_actions.html" hreflang="es" rel="alternate" title="Español"> es </a> | | 
|  | <a href="../fr/mod/mod_actions.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | | 
|  | <a href="../ja/mod/mod_actions.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | | 
|  | <a href="../ko/mod/mod_actions.html" title="Korean"> ko </a></p> | 
|  | </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> | 
|  | <script type="text/javascript"><!--//--><![CDATA[//><!-- | 
|  | var comments_shortname = 'httpd'; | 
|  | var comments_identifier = 'http://httpd.apache.org/docs/trunk/mod/mod_actions.html'; | 
|  | (function(w, d) { | 
|  | if (w.location.hostname.toLowerCase() == "httpd.apache.org") { | 
|  | d.write('<div id="comments_thread"><\/div>'); | 
|  | var s = d.createElement('script'); | 
|  | s.type = 'text/javascript'; | 
|  | s.async = true; | 
|  | s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; | 
|  | (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); | 
|  | } | 
|  | else { | 
|  | d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); | 
|  | } | 
|  | })(window, document); | 
|  | //--><!]]></script></div><div id="footer"> | 
|  | <p class="apache">Copyright 2023 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> | 
|  | <p class="menu"><a href="../mod/">¸ðµâ</a> | <a href="../mod/quickreference.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[//><!-- | 
|  | if (typeof(prettyPrint) !== 'undefined') { | 
|  | prettyPrint(); | 
|  | } | 
|  | //--><!]]></script> | 
|  | </body></html> |