]> granicus.if.org Git - apache/blob - docs/manual/mod/mod_actions.xml.ko
xforms
[apache] / docs / manual / mod / mod_actions.xml.ko
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:1437836 (outdated) -->
5
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
13
14      http://www.apache.org/licenses/LICENSE-2.0
15
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 -->
22
23 <modulesynopsis metafile="mod_actions.xml.meta">
24
25 <name>mod_actions</name> 
26
27 <description>ÀÌ ¸ðµâÀº ¹Ìµð¾îÁ¾·ù³ª ¿äû¸Þ¼­µå¿¡ µû¶ó CGI
28 ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇÑ´Ù.</description>
29
30 <status>Base</status>
31 <sourcefile>mod_actions.c</sourcefile>
32 <identifier>actions_module</identifier>
33
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>
42
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>
46
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>
59
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>
73
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>
82
83     <p>ù¹ø° ¿¹¿¡¼­ MIME content typeÀÌ <code>image/gif</code>ÀÎ
84     ÆÄÀÏÀ» ¿äûÇϸé ÁöÁ¤ÇÑ cgi ½ºÅ©¸³Æ® <code>/cgi-bin/images.cgi</code>°¡
85     Ã³¸®ÇÑ´Ù.</p>
86
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>
93
94     <p>¼±ÅÃÀûÀΠ<code>virtual</code> ¼öÁ¤Àڴ ¿äûÇÑ ÆÄÀÏÀÌ
95     ½ÇÁ¦·Î Á¸ÀçÇÏ´ÂÁö °Ë»çÇÏÁö ¾Êµµ·Ï ÇÑ´Ù. ¿¹¸¦ µé¾î, °¡»óÀÇ
96     À§Ä¡¿¡ <directive>Action</directive> Áö½Ã¾î¸¦ »ç¿ëÇÏ·Á´Â
97     °æ¿ì À¯¿ëÇÏ´Ù.</p>
98
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>
108
109 <seealso><directive module="mod_mime">AddHandler</directive></seealso>
110 </directivesynopsis>
111
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>
129
130     <note>
131       ¾î¶² ¸Þ¼­µå À̸§À̶󵵠»ç¿ëÇÒ ¼ö ÀÖ´Ù. <strong>¸Þ¼­µå À̸§Àº
132       ´ë¼Ò¹®ÀÚ¸¦ ±¸º°ÇÑ´Ù.</strong> ±×·¡¼­ <code>Script PUT</code>°ú
133       <code>Script put</code>Àº ¿ÏÀüÈ÷ ´Ù¸£´Ù.
134     </note>
135
136     <p><directive>Script</directive> ¸í·É¾î´Â ±âº»ÀûÀΠÇൿ¸¸À»
137     Ã³¸®ÇÔÀ» ÁÖÀÇÇ϶ó. CGI ½ºÅ©¸³Æ®°¡ ºÒ¸®°Å³ª, ¿äûÇÑ ¸Þ¼­µå¸¦
138     ¾Ë¾Æ¼­ Ã³¸®ÇÒ ¼ö Àִ ¸®¼Ò½ºÀÇ °æ¿ì ±×´ë·Î Ã³¸®ÇÑ´Ù.
139     <code>GET</code> ¸Þ¼­µåÀÇ <directive>Script</directive>´Â
140     ÁúÀǾƱԸÕÆ®°¡ ÀÖÀ»¶§¸¸ (<em>¿¹</em>, foo.html?hi) »ç¿ëÇÔÀ»
141     ÁÖÀÇÇ϶ó. ÁúÀǾƱԸÕÆ®°¡ ¾ø´Ù¸é Á¤»óÀûÀ¸·Î ¿äûÀ» Ã³¸®ÇÑ´Ù.</p>
142
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>
152
153 </modulesynopsis>