switch to a 60 bit hash
[httpd-crcsyncproxy.git] / docs / manual / mod / mod_actions.xml.ko
blob77a0ef9302e68920698bd1791516ded0b8d9a1f8
1 <?xml version="1.0" encoding='EUC-KR' ?>
2 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
3 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
4 <!-- English Revision: 151408:420990 (outdated) -->
6 <!--
7 Licensed to the Apache Software Foundation (ASF) under one or more
8 contributor license agreements. See the NOTICE file distributed with
9 this work for additional information regarding copyright ownership.
10 The ASF licenses this file to You under the Apache License, Version 2.0
11 (the "License"); you may not use this file except in compliance with
12 the License. You may obtain a copy of the License at
14 http://www.apache.org/licenses/LICENSE-2.0
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
21 -->
23 <modulesynopsis metafile="mod_actions.xml.meta">
25 <name>mod_actions</name>
27 <description>ÀÌ ¸ðµâÀº ¹Ìµð¾îÁ¾·ù³ª ¿äû¸Þ¼­µå¿¡ µû¶ó CGI
28 ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇÑ´Ù.</description>
30 <status>Base</status>
31 <sourcefile>mod_actions.c</sourcefile>
32 <identifier>actions_module</identifier>
34 <summary>
35 <p>ÀÌ ¸ðµâ¿¡´Â µÎ°¡Áö Áö½Ã¾î°¡ ÀÖ´Ù. <directive
36 module="mod_actions">Action</directive> Áö½Ã¾î´Â ¿äûÇÏ´Â
37 ÆÄÀÏÀÇ MIME content type¿¡ µû¶ó CGI ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇÑ´Ù.
38 <directive module="mod_actions">Script</directive> Áö½Ã¾î´Â
39 ¿äûÀÌ Æ¯Á¤ ¸Þ¼­µå¸¦ »ç¿ëÇÒ °æ¿ì CGI ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇÑ´Ù.
40 ±×·¡¼­ ÆÄÀÏÀ» ó¸®ÇÏ´Â ½ºÅ©¸³Æ®¸¦ ¸Å¿ì ½±°Ô ½ÇÇàÇÒ ¼ö ÀÖ´Ù.</p>
41 </summary>
43 <seealso><module>mod_cgi</module></seealso>
44 <seealso><a href="../howto/cgi.html">CGI·Î µ¿Àû ÆäÀÌÁö »ý¼º</a></seealso>
45 <seealso><a href="../handler.html">¾ÆÆÄÄ¡¿¡¼­ Çڵ鷯 »ç¿ë</a></seealso>
47 <directivesynopsis>
48 <name>Action</name>
49 <description>ƯÁ¤ Çڵ鷯³ª content-type¿¡ ´ëÇØ CGI ½ºÅ©¸³Æ®¸¦
50 »ç¿ëÇÑ´Ù</description>
51 <syntax>Action <var>action-type</var> <var>cgi-script</var> [virtual]</syntax>
52 <contextlist>
53 <context>server config</context><context>virtual host</context>
54 <context>directory</context><context>.htaccess</context>
55 </contextlist>
56 <override>FileInfo</override>
57 <compatibility><code>virtual</code> ¼öÁ¤ÀÚ¿Í Çڵ鷯´Â ¾ÆÆÄÄ¡
58 2.1¶§ Ãß°¡µÇ¾ú´Ù</compatibility>
60 <usage>
61 <p>ÀÌ Áö½Ã¾î´Â ¿äûÀÌ <var>action-type</var>À̸é
62 <var>cgi-script</var>¸¦ ½ÇÇàÇÏ´Â ÇൿÀ» ¼­¹ö¿¡ Ãß°¡ÇÑ´Ù.
63 <var>cgi-script</var>´Â <directive
64 module="mod_alias">ScriptAlias</directive>³ª <directive
65 module="mod_mime">AddHandler</directive>¸¦ »ç¿ëÇÏ¿© CGI
66 ½ºÅ©¸³Æ®·Î ÁöÁ¤ÇÑ ¸®¼Ò½ºÀÇ URL°æ·ÎÀÌ´Ù.
67 <var>action-type</var>¿¡´Â <a
68 href="../handler.html">Çڵ鷯</a>³ª MIME content typeÀ»
69 »ç¿ëÇÒ ¼ö ÀÖ´Ù. ÀÌ Áö½Ã¾î´Â <code>PATH_INFO</code>¿Í
70 <code>PATH_TRANSLATED</code> CGI Ç¥ÁØ È¯°æº¯¼ö·Î ¿äûÇÑ
71 ¹®¼­ÀÇ URL°ú ÆÄÀÏ°æ·Î¸¦ Àü´ÞÇÑ´Ù. <code>REDIRECT_HANDLER</code>
72 º¯¼ö·Î ƯÁ¤ ¿äû¿¡ »ç¿ëÇÒ Çڵ鷯¸¦ Àü´ÞÇÑ´Ù.</p>
74 <example><title>¿¹Á¦</title>
75 # ƯÁ¤ MIME content typeÀÇ ÆÄÀÏ ¿äû:<br />
76 Action image/gif /cgi-bin/images.cgi<br />
77 <br />
78 # ƯÁ¤ÇÑ È®ÀåÀÚ¸¦ °¡Áø ÆÄÀÏ<br />
79 AddHandler my-file-type .xyz<br />
80 Action my-file-type /cgi-bin/program.cgi<br />
81 </example>
83 <p>ù¹ø° ¿¹¿¡¼­ MIME content typeÀÌ <code>image/gif</code>ÀÎ
84 ÆÄÀÏÀ» ¿äûÇϸé ÁöÁ¤ÇÑ cgi ½ºÅ©¸³Æ® <code>/cgi-bin/images.cgi</code>°¡
85 ó¸®ÇÑ´Ù.</p>
87 <p>µÎ¹ø° ¿¹¿¡¼­ È®ÀåÀÚ°¡ <code>.xyz</code>ÀÎ ÆÄÀÏÀ» ¿äûÇϸé
88 ÁöÁ¤ÇÑ cgi ½ºÅ©¸³Æ® <code>/cgi-bin/program.cgi</code>°¡
89 ó¸®ÇÑ´Ù.</p>
90 <p>In the second example, requests for files with a file extension of
91 <code>.xyz</code> are handled instead by the specified cgi script
92 <code>/cgi-bin/program.cgi</code>.</p>
94 <p>¼±ÅÃÀûÀÎ <code>virtual</code> ¼öÁ¤ÀÚ´Â ¿äûÇÑ ÆÄÀÏÀÌ
95 ½ÇÁ¦·Î Á¸ÀçÇÏ´ÂÁö °Ë»çÇÏÁö ¾Êµµ·Ï ÇÑ´Ù. ¿¹¸¦ µé¾î, °¡»óÀÇ
96 À§Ä¡¿¡ <directive>Action</directive> Áö½Ã¾î¸¦ »ç¿ëÇÏ·Á´Â
97 °æ¿ì À¯¿ëÇÏ´Ù.</p>
99 <example><title>¿¹Á¦</title>
100 &lt;Location /news&gt;<br />
101 <indent>
102 SetHandler news-handler<br />
103 Action news-handler /cgi-bin/news.cgi virtual<br />
104 </indent>
105 &lt;/Location&gt;
106 </example>
107 </usage>
109 <seealso><directive module="mod_mime">AddHandler</directive></seealso>
110 </directivesynopsis>
112 <directivesynopsis>
113 <name>Script</name>
114 <description>ƯÁ¤ ¿äû¸Þ¼­µå¿¡ ´ëÇØ CGI ½ºÅ©¸³Æ®¸¦
115 »ç¿ëÇÑ´Ù.</description>
116 <syntax>Script <var>method</var> <var>cgi-script</var></syntax>
117 <contextlist>
118 <context>server config</context><context>virtual host</context>
119 <context>directory</context></contextlist>
120 <usage>
121 <p>ÀÌ Áö½Ã¾î´Â ÆÄÀÏÀ» <var>method</var> ¸Þ¼­µå¸¦ »ç¿ëÇÏ¿©
122 ¿äûÇϸé <var>cgi-script</var>¸¦ ½ÇÇàÇÏ´Â ÇൿÀ» ¼­¹ö¿¡
123 Ãß°¡ÇÑ´Ù. <var>cgi-script</var>´Â <directive
124 module="mod_alias">ScriptAlias</directive>³ª <directive
125 module="mod_mime">AddHandler</directive>¸¦ »ç¿ëÇÏ¿© CGI
126 ½ºÅ©¸³Æ®·Î ÁöÁ¤ÇÑ ¸®¼Ò½ºÀÇ URL°æ·ÎÀÌ´Ù. ÀÌ Áö½Ã¾î´Â
127 <code>PATH_INFO</code>¿Í <code>PATH_TRANSLATED</code> CGI
128 Ç¥ÁØ È¯°æº¯¼ö·Î ¿äûÇÑ ¹®¼­ÀÇ URL°ú ÆÄÀÏ°æ·Î¸¦ Àü´ÞÇÑ´Ù.</p>
130 <note>
131 ¾î¶² ¸Þ¼­µå À̸§ÀÌ¶óµµ »ç¿ëÇÒ ¼ö ÀÖ´Ù. <strong>¸Þ¼­µå À̸§Àº
132 ´ë¼Ò¹®ÀÚ¸¦ ±¸º°ÇÑ´Ù.</strong> ±×·¡¼­ <code>Script PUT</code>°ú
133 <code>Script put</code>Àº ¿ÏÀüÈ÷ ´Ù¸£´Ù.
134 </note>
136 <p><directive>Script</directive> ¸í·É¾î´Â ±âº»ÀûÀÎ Çൿ¸¸À»
137 ó¸®ÇÔÀ» ÁÖÀÇÇ϶ó. CGI ½ºÅ©¸³Æ®°¡ ºÒ¸®°Å³ª, ¿äûÇÑ ¸Þ¼­µå¸¦
138 ¾Ë¾Æ¼­ ó¸®ÇÒ ¼ö ÀÖ´Â ¸®¼Ò½ºÀÇ °æ¿ì ±×´ë·Î ó¸®ÇÑ´Ù.
139 <code>GET</code> ¸Þ¼­µåÀÇ <directive>Script</directive>´Â
140 ÁúÀǾƱԸÕÆ®°¡ ÀÖÀ»¶§¸¸ (<em>¿¹</em>, foo.html?hi) »ç¿ëÇÔÀ»
141 ÁÖÀÇÇ϶ó. ÁúÀǾƱԸÕÆ®°¡ ¾ø´Ù¸é Á¤»óÀûÀ¸·Î ¿äûÀ» ó¸®ÇÑ´Ù.</p>
143 <example><title>¿¹Á¦</title>
144 # &lt;ISINDEX&gt;½Ä °Ë»öÀ» À§ÇØ<br />
145 Script GET /cgi-bin/search<br />
146 <br />
147 # CGI PUT Çڵ鷯<br />
148 Script PUT /~bob/put.cgi<br />
149 </example>
150 </usage>
151 </directivesynopsis>
153 </modulesynopsis>