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 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5 This file is generated from xml source: DO NOT EDIT
6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
8 <title>mod_actions - Apache HTTP Server
</title>
9 <link href=
"../style/css/manual.css" rel=
"stylesheet" media=
"all" type=
"text/css" title=
"Main stylesheet" />
10 <link href=
"../style/css/manual-loose-100pc.css" rel=
"alternate stylesheet" media=
"all" type=
"text/css" title=
"No Sidebar - Default font size" />
11 <link href=
"../style/css/manual-print.css" rel=
"stylesheet" media=
"print" type=
"text/css" />
12 <link href=
"../images/favicon.ico" rel=
"shortcut icon" /></head>
14 <div id=
"page-header">
15 <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>
16 <p class=
"apache">Apache HTTP Server Version
2.3</p>
17 <img alt=
"" src=
"../images/feather.gif" /></div>
18 <div class=
"up"><a href=
"./"><img title=
"<-" alt=
"<-" src=
"../images/left.gif" /></a></div>
20 <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.3</a> > <a href=
"./">¸ðµâ
</a></div>
21 <div id=
"page-content">
22 <div id=
"preamble"><h1>¾ÆÆÄÄ¡ ¸ðµâ mod_actions
</h1>
24 <p><span>°¡´ÉÇÑ ¾ð¾î:
</span><a href=
"../de/mod/mod_actions.html" hreflang=
"de" rel=
"alternate" title=
"Deutsch"> de
</a> |
25 <a href=
"../en/mod/mod_actions.html" hreflang=
"en" rel=
"alternate" title=
"English"> en
</a> |
26 <a href=
"../ja/mod/mod_actions.html" hreflang=
"ja" rel=
"alternate" title=
"Japanese"> ja
</a> |
27 <a href=
"../ko/mod/mod_actions.html" title=
"Korean"> ko
</a></p>
29 <div class=
"outofdate">ÀÌ ¹®¼´Â ÃÖ½ÅÆÇ ¹ø¿ªÀÌ ¾Æ´Õ´Ï´Ù.
30 ÃÖ±Ù¿¡ º¯°æµÈ ³»¿ëÀº ¿µ¾î ¹®¼¸¦ Âü°íÇϼ¼¿ä.
</div>
31 <table class=
"module"><tr><th><a href=
"module-dict.html#Description">¼³¸í:
</a></th><td>ÀÌ ¸ðµâÀº ¹Ìµð¾îÁ¾·ù³ª ¿äû¸Þ¼µå¿¡ µû¶ó CGI
32 ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇÑ´Ù.
</td></tr>
33 <tr><th><a href=
"module-dict.html#Status">»óÅÂ:
</a></th><td>Base
</td></tr>
34 <tr><th><a href=
"module-dict.html#ModuleIdentifier">¸ðµâ¸í:
</a></th><td>actions_module
</td></tr>
35 <tr><th><a href=
"module-dict.html#SourceFile">¼Ò½ºÆÄÀÏ:
</a></th><td>mod_actions.c
</td></tr></table>
38 <p>ÀÌ ¸ðµâ¿¡´Â µÎ°¡Áö Áö½Ã¾î°¡ ÀÖ´Ù.
<code class=
"directive"><a href=
"#action">Action
</a></code> Áö½Ã¾î´Â ¿äûÇÏ´Â
39 ÆÄÀÏÀÇ MIME content type¿¡ µû¶ó CGI ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇÑ´Ù.
40 <code class=
"directive"><a href=
"#script">Script
</a></code> Áö½Ã¾î´Â
41 ¿äûÀÌ Æ¯Á¤ ¸Þ¼µå¸¦ »ç¿ëÇÒ °æ¿ì CGI ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇÑ´Ù.
42 ±×·¡¼ ÆÄÀÏÀ» ó¸®ÇÏ´Â ½ºÅ©¸³Æ®¸¦ ¸Å¿ì ½±°Ô ½ÇÇàÇÒ ¼ö ÀÖ´Ù.
</p>
44 <div id=
"quickview"><h3 class=
"directives">Áö½Ã¾îµé
</h3>
46 <li><img alt=
"" src=
"../images/down.gif" /> <a href=
"#action">Action
</a></li>
47 <li><img alt=
"" src=
"../images/down.gif" /> <a href=
"#script">Script
</a></li>
51 <li><code class=
"module"><a href=
"../mod/mod_cgi.html">mod_cgi
</a></code></li>
52 <li><a href=
"../howto/cgi.html">CGI·Î µ¿Àû ÆäÀÌÁö »ý¼º
</a></li>
53 <li><a href=
"../handler.html">¾ÆÆÄÄ¡¿¡¼ Çڵ鷯 »ç¿ë
</a></li>
56 <div class=
"top"><a href=
"#page-header"><img alt=
"top" src=
"../images/up.gif" /></a></div>
57 <div class=
"directive-section"><h2><a name=
"Action" id=
"Action">Action
</a> <a name=
"action" id=
"action">Áö½Ã¾î
</a></h2>
58 <table class=
"directive">
59 <tr><th><a href=
"directive-dict.html#Description">¼³¸í:
</a></th><td>ƯÁ¤ Çڵ鷯³ª content-type¿¡ ´ëÇØ CGI ½ºÅ©¸³Æ®¸¦
61 <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>
62 <tr><th><a href=
"directive-dict.html#Context">»ç¿ëÀå¼Ò:
</a></th><td>ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ®, directory, .htaccess
</td></tr>
63 <tr><th><a href=
"directive-dict.html#Override">Override ¿É¼Ç:
</a></th><td>FileInfo
</td></tr>
64 <tr><th><a href=
"directive-dict.html#Status">»óÅÂ:
</a></th><td>Base
</td></tr>
65 <tr><th><a href=
"directive-dict.html#Module">¸ðµâ:
</a></th><td>mod_actions
</td></tr>
66 <tr><th><a href=
"directive-dict.html#Compatibility">Áö¿ø:
</a></th><td><code>virtual
</code> ¼öÁ¤ÀÚ¿Í Çڵ鷯´Â ¾ÆÆÄÄ¡
67 2.1¶§ Ãß°¡µÇ¾ú´Ù
</td></tr>
69 <p>ÀÌ Áö½Ã¾î´Â ¿äûÀÌ
<var>action-type
</var>À̸é
70 <var>cgi-script
</var>¸¦ ½ÇÇàÇÏ´Â ÇൿÀ» ¼¹ö¿¡ Ãß°¡ÇÑ´Ù.
71 <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
72 ½ºÅ©¸³Æ®·Î ÁöÁ¤ÇÑ ¸®¼Ò½ºÀÇ URL°æ·ÎÀÌ´Ù.
73 <var>action-type
</var>¿¡´Â
<a href=
"../handler.html">Çڵ鷯
</a>³ª MIME content typeÀ»
74 »ç¿ëÇÒ ¼ö ÀÖ´Ù. ÀÌ Áö½Ã¾î´Â
<code>PATH_INFO
</code>¿Í
75 <code>PATH_TRANSLATED
</code> CGI Ç¥ÁØ È¯°æº¯¼ö·Î ¿äûÇÑ
76 ¹®¼ÀÇ URL°ú ÆÄÀÏ°æ·Î¸¦ Àü´ÞÇÑ´Ù.
<code>REDIRECT_HANDLER
</code>
77 º¯¼ö·Î ƯÁ¤ ¿äû¿¡ »ç¿ëÇÒ Çڵ鷯¸¦ Àü´ÞÇÑ´Ù.
</p>
79 <div class=
"example"><h3>¿¹Á¦
</h3><p><code>
80 # ƯÁ¤ MIME content typeÀÇ ÆÄÀÏ ¿äû:
<br />
81 Action image/gif /cgi-bin/images.cgi
<br />
83 # ƯÁ¤ÇÑ È®ÀåÀÚ¸¦ °¡Áø ÆÄÀÏ
<br />
84 AddHandler my-file-type .xyz
<br />
85 Action my-file-type /cgi-bin/program.cgi
<br />
88 <p>ù¹ø° ¿¹¿¡¼ MIME content typeÀÌ
<code>image/gif
</code>ÀÎ
89 ÆÄÀÏÀ» ¿äûÇϸé ÁöÁ¤ÇÑ cgi ½ºÅ©¸³Æ®
<code>/cgi-bin/images.cgi
</code>°¡
92 <p>µÎ¹ø° ¿¹¿¡¼ È®ÀåÀÚ°¡
<code>.xyz
</code>ÀÎ ÆÄÀÏÀ» ¿äûÇϸé
93 ÁöÁ¤ÇÑ cgi ½ºÅ©¸³Æ®
<code>/cgi-bin/program.cgi
</code>°¡
95 <p>In the second example, requests for files with a file extension of
96 <code>.xyz
</code> are handled instead by the specified cgi script
97 <code>/cgi-bin/program.cgi
</code>.
</p>
99 <p>¼±ÅÃÀûÀÎ
<code>virtual
</code> ¼öÁ¤ÀÚ´Â ¿äûÇÑ ÆÄÀÏÀÌ
100 ½ÇÁ¦·Î Á¸ÀçÇÏ´ÂÁö °Ë»çÇÏÁö ¾Êµµ·Ï ÇÑ´Ù. ¿¹¸¦ µé¾î, °¡»óÀÇ
101 À§Ä¡¿¡
<code class=
"directive">Action
</code> Áö½Ã¾î¸¦ »ç¿ëÇÏ·Á´Â
104 <div class=
"example"><h3>¿¹Á¦
</h3><p><code>
105 <Location /news
><br />
106 <span class=
"indent">
107 SetHandler news-handler
<br />
108 Action news-handler /cgi-bin/news.cgi virtual
<br />
115 <li><code class=
"directive"><a href=
"../mod/mod_mime.html#addhandler">AddHandler
</a></code></li>
118 <div class=
"top"><a href=
"#page-header"><img alt=
"top" src=
"../images/up.gif" /></a></div>
119 <div class=
"directive-section"><h2><a name=
"Script" id=
"Script">Script
</a> <a name=
"script" id=
"script">Áö½Ã¾î
</a></h2>
120 <table class=
"directive">
121 <tr><th><a href=
"directive-dict.html#Description">¼³¸í:
</a></th><td>ƯÁ¤ ¿äû¸Þ¼µå¿¡ ´ëÇØ CGI ½ºÅ©¸³Æ®¸¦
123 <tr><th><a href=
"directive-dict.html#Syntax">¹®¹ý:
</a></th><td><code>Script
<var>method
</var> <var>cgi-script
</var></code></td></tr>
124 <tr><th><a href=
"directive-dict.html#Context">»ç¿ëÀå¼Ò:
</a></th><td>ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ®, directory
</td></tr>
125 <tr><th><a href=
"directive-dict.html#Status">»óÅÂ:
</a></th><td>Base
</td></tr>
126 <tr><th><a href=
"directive-dict.html#Module">¸ðµâ:
</a></th><td>mod_actions
</td></tr>
128 <p>ÀÌ Áö½Ã¾î´Â ÆÄÀÏÀ»
<var>method
</var> ¸Þ¼µå¸¦ »ç¿ëÇÏ¿©
129 ¿äûÇϸé
<var>cgi-script
</var>¸¦ ½ÇÇàÇÏ´Â ÇൿÀ» ¼¹ö¿¡
130 Ãß°¡ÇÑ´Ù.
<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
131 ½ºÅ©¸³Æ®·Î ÁöÁ¤ÇÑ ¸®¼Ò½ºÀÇ URL°æ·ÎÀÌ´Ù. ÀÌ Áö½Ã¾î´Â
132 <code>PATH_INFO
</code>¿Í
<code>PATH_TRANSLATED
</code> CGI
133 Ç¥ÁØ È¯°æº¯¼ö·Î ¿äûÇÑ ¹®¼ÀÇ URL°ú ÆÄÀÏ°æ·Î¸¦ Àü´ÞÇÑ´Ù.
</p>
136 ¾î¶² ¸Þ¼µå À̸§ÀÌ¶óµµ »ç¿ëÇÒ ¼ö ÀÖ´Ù.
<strong>¸Þ¼µå À̸§Àº
137 ´ë¼Ò¹®ÀÚ¸¦ ±¸º°ÇÑ´Ù.
</strong> ±×·¡¼
<code>Script PUT
</code>°ú
138 <code>Script put
</code>Àº ¿ÏÀüÈ÷ ´Ù¸£´Ù.
141 <p><code class=
"directive">Script
</code> ¸í·É¾î´Â ±âº»ÀûÀÎ Çൿ¸¸À»
142 ó¸®ÇÔÀ» ÁÖÀÇÇ϶ó. CGI ½ºÅ©¸³Æ®°¡ ºÒ¸®°Å³ª, ¿äûÇÑ ¸Þ¼µå¸¦
143 ¾Ë¾Æ¼ ó¸®ÇÒ ¼ö ÀÖ´Â ¸®¼Ò½ºÀÇ °æ¿ì ±×´ë·Î ó¸®ÇÑ´Ù.
144 <code>GET
</code> ¸Þ¼µåÀÇ
<code class=
"directive">Script
</code>´Â
145 ÁúÀǾƱԸÕÆ®°¡ ÀÖÀ»¶§¸¸ (
<em>¿¹
</em>, foo.html?hi) »ç¿ëÇÔÀ»
146 ÁÖÀÇÇ϶ó. ÁúÀǾƱԸÕÆ®°¡ ¾ø´Ù¸é Á¤»óÀûÀ¸·Î ¿äûÀ» ó¸®ÇÑ´Ù.
</p>
148 <div class=
"example"><h3>¿¹Á¦
</h3><p><code>
149 #
<ISINDEX
>½Ä °Ë»öÀ» À§ÇØ
<br />
150 Script GET /cgi-bin/search
<br />
152 # CGI PUT Çڵ鷯
<br />
153 Script PUT /~bob/put.cgi
<br />
158 <div class=
"bottomlang">
159 <p><span>°¡´ÉÇÑ ¾ð¾î:
</span><a href=
"../de/mod/mod_actions.html" hreflang=
"de" rel=
"alternate" title=
"Deutsch"> de
</a> |
160 <a href=
"../en/mod/mod_actions.html" hreflang=
"en" rel=
"alternate" title=
"English"> en
</a> |
161 <a href=
"../ja/mod/mod_actions.html" hreflang=
"ja" rel=
"alternate" title=
"Japanese"> ja
</a> |
162 <a href=
"../ko/mod/mod_actions.html" title=
"Korean"> ko
</a></p>
163 </div><div id=
"footer">
164 <p class=
"apache">Copyright
2009 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>
165 <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>