| <?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" /> |
| <meta content="noindex, nofollow" name="robots" /> |
| <!-- |
| XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
| This file is generated from xml source: DO NOT EDIT |
| XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
| --> |
| <title>mod_actions - Apache HTTP Server</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 href="../images/favicon.ico" rel="shortcut icon" /><link href="http://httpd.apache.org/docs/current/mod/mod_actions.html" rel="canonical" /></head> |
| <body> |
| <div id="page-header"> |
| <p class="menu"><a href="../mod/">¸ðµâ</a> | <a href="../mod/directives.html">Áö½Ã¾îµé</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">¿ë¾î</a> | <a href="../sitemap.html">»çÀÌÆ®¸Ê</a></p> |
| <p class="apache">Apache HTTP Server Version 2.0</p> |
| <img alt="" src="../images/feather.gif" /></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.0</a> > <a href="./">¸ðµâ</a></div> |
| <div id="page-content"> |
| <div class="retired"><h4>Please note</h4> |
| <p>This document refers to the <strong>2.0</strong> version of Apache httpd, which <strong>is no longer maintained</strong>. Upgrade, and refer to the current version of httpd instead, documented at:</p> |
| <ul><li><a href="http://httpd.apache.org/docs/current/">Current release version of Apache HTTP Server documentation</a></li></ul><p>You may follow <a href="http://httpd.apache.org/docs/current/mod/mod_actions.html">this link</a> to go to the current version of this document.</p></div><div id="preamble"><h1>¾ÆÆÄÄ¡ ¸ðµâ mod_actions</h1> |
| <div class="toplang"> |
| <p><span>°¡´ÉÇÑ ¾ð¾î: </span><a href="../en/mod/mod_actions.html" hreflang="en" rel="alternate" title="English"> en </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> |
| <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> Áö½Ã¾î´Â ¿äûÇÏ´Â |
| ÆÄÀÏÀÇ Á¾·ù¿¡ µû¶ó 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>Âü°í</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> |
| </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></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></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> |
| </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À» |
| »ç¿ëÇÒ ¼ö ÀÖ´Ù. ÀÌ Áö½Ã¾î´Â PATH_INFO¿Í PATH_TRANSLATED |
| CGI Ç¥ÁØ È¯°æº¯¼ö·Î ¿äûÇÑ ¹®¼ÀÇ URL°ú ÆÄÀÏ°æ·Î¸¦ Àü´ÞÇÑ´Ù.</p> |
| |
| <div class="example"><h3>¿¹Á¦</h3><p><code> |
| # ƯÁ¤ Á¾·ùÀÇ ÆÄÀÏ ¿äû:<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> |
| |
| <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></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°æ·ÎÀÌ´Ù. ÀÌ Áö½Ã¾î´Â PATH_INFO¿Í |
| PATH_TRANSLATED CGI Ç¥ÁØ È¯°æº¯¼ö·Î ¿äûÇÑ ¹®¼ÀÇ URL°ú |
| ÆÄÀÏ°æ·Î¸¦ Àü´ÞÇÑ´Ù.</p> |
| |
| <div class="note"> |
| ¾î¶² ¸Þ¼µå À̸§ÀÌ¶óµµ »ç¿ëÇÒ ¼ö ÀÖ´Ù. <strong>¸Þ¼µå À̸§Àº |
| ´ë¼Ò¹®ÀÚ¸¦ ±¸º°ÇÑ´Ù.</strong> ±×·¡¼ <code>Script PUT</code>°ú |
| <code>Script put</code>Àº ¿ÏÀüÈ÷ ´Ù¸£´Ù. |
| </div> |
| |
| <p>Script ¸í·É¾î´Â ±âº»ÀûÀÎ Çൿ¸¸À» ó¸®ÇÔÀ» ÁÖÀÇÇ϶ó. |
| CGI ½ºÅ©¸³Æ®°¡ ºÒ¸®°Å³ª, ¿äûÇÑ ¸Þ¼µå¸¦ ¾Ë¾Æ¼ ó¸®ÇÒ ¼ö |
| ÀÖ´Â ¸®¼Ò½ºÀÇ °æ¿ì ±×´ë·Î ó¸®ÇÑ´Ù. <code>GET</code> |
| ¸Þ¼µåÀÇ Script´Â ÁúÀǾƱԸÕÆ®°¡ ÀÖÀ»¶§¸¸ (<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="../en/mod/mod_actions.html" hreflang="en" rel="alternate" title="English"> en </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 id="footer"> |
| <p class="apache">Copyright 2013 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/directives.html">Áö½Ã¾îµé</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">¿ë¾î</a> | <a href="../sitemap.html">»çÀÌÆ®¸Ê</a></p></div> |
| </body></html> |