]> granicus.if.org Git - apache/blob - docs/manual/handler.xml.ja
update revision references
[apache] / docs / manual / handler.xml.ja
1 <?xml version="1.0" encoding="iso-2022-jp" ?>
2 <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
3 <?xml-stylesheet type="text/xsl" href="./style/manual.ja.xsl"?>
4 <!-- English Revision: 395228:420990 (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 <manualpage metafile="handler.xml.meta">
24
25   <title>Apache \e$B$N%O%s%I%i$N;HMQ\e(B</title>
26
27   <summary>
28     <p>Apache \e$B$N%O%s%I%i$N;HMQ$K4X$7$F5-=R$7$F$$$^$9!#\e(B</p>
29   </summary>
30
31   <section id="definition">
32     <title>\e$B%O%s%I%i$H$O\e(B</title>
33     <related>
34       <modulelist>
35         <module>mod_actions</module>
36         <module>mod_asis</module>
37         <module>mod_cgi</module>
38         <module>mod_imagemap</module>
39         <module>mod_info</module>
40         <module>mod_mime</module>
41         <module>mod_negotiation</module>
42         <module>mod_status</module>
43      </modulelist>
44       <directivelist>
45         <directive module="mod_actions">Action</directive>
46         <directive module="mod_mime">AddHandler</directive>
47         <directive module="mod_mime">RemoveHandler</directive>
48         <directive module="core">SetHandler</directive>
49       </directivelist>
50     </related>
51
52
53     <p>\e$B!V%O%s%I%i!W$H$O!"%U%!%$%k$,8F$P$l$?$H$-$K<B9T$5$l$kF0:n$N\e(B
54     Apache \e$B$K$*$1$kFbItI=8=$G$9!#\e(B
55     \e$BDL>o!"%U%!%$%k$O%U%!%$%k7?$K4p$E$$$?0EL[$N%O%s%I%i$,$"$j$^$9!#\e(B
56     \e$BIaDL$O$9$Y$F$N%U%!%$%k$OC1$K%5!<%P$K07$o$l$^$9$,!"\e(B
57     \e$B%U%!%$%k%?%$%W$NCf$K$OJL$K!V%O%s%I%k!W\e(B(\e$BLuCm\e(B: \e$B07$&\e(B)
58     \e$B$5$l$k$b$N$b$"$j$^$9!#\e(B</p>
59
60     <p>Apache 1.1 \e$B$G$O!"%O%s%I%i$rL@<(E*$K;HMQ$9$k5!G=$,DI2C$5$l$^$7$?!#\e(B
61     \e$B%U%!%$%k$N3HD%;R$dCV$$$F$$$k>l=j$K4p$E$$$F!"\e(B
62     \e$B%U%!%$%k7?$H4X78$J$/%O%s%I%i$r;XDj$9$k$3$H$,$G$-$^$9!#\e(B
63     \e$B$3$l$O$h$jM%2m$J2r7hK!$H$$$&E@$H!"%U%!%$%k$K%?%$%W\e(B<strong>\e$B$H\e(B</strong
64     >\e$B%O%s%I%i$NN>J}$r4XO"IU$1$k$3$H$,$G$-$k$H$$$&E@$GM%$l$F$$$^$9!#\e(B
65     (<a href="mod/mod_mime.html#multipleext"
66     >\e$BJ#?t$N3HD%;R$N$"$k%U%!%$%k\e(B</a>\e$B$b;2>H$7$F$/$@$5$$\e(B)\e$B!#\e(B</p>
67
68     <p>\e$B%O%s%I%i$O%5!<%P$KAH$_9~$s$@$j!"%b%8%e!<%k$H$7$F4^$a$?$j!"\e(B
69     <directive module="mod_actions">Action</directive>
70     \e$B%G%#%l%/%F%#%V$H$7$FDI2C$7$?$j$9$k$3$H$,$G$-$^$9!#\e(B
71     \e$B0J2<$OI8=`G[I[$KAH$_9~$^$l$F$$$k%O%s%I%i$G$9!#\e(B
72     </p>
73
74     <ul>
75       <li><strong>default-handler</strong>:<code>default_handelr()</code>
76       \e$B$r;H$C$F%U%!%$%k$rAw$j$^$9!#\e(B
77       \e$B@EE*$J%3%s%F%s%D$r07$&$H$-$K%G%U%)%k%H$G;HMQ$5$l$k%O%s%I%i$G$9!#\e(B
78       (<module>core</module>)</li>
79
80       <li><strong>send-as-is</strong>:
81       HTTP \e$B%X%C%@$N$"$k%U%!%$%k$r$=$N$^$^Aw$j$^$9!#\e(B
82       (<module>mod_asis</module>)</li>
83
84       <li><strong>cgi-script</strong>: \e$B%U%!%$%k$r\e(B CGI
85       \e$B%9%/%j%W%H$H$7$F07$$$^$9!#\e(B
86       (<module>mod_cgi</module>)</li>
87
88       <li><strong>imap-file</strong>:
89       \e$B%$%a!<%8%^%C%W$N%k!<%k%U%!%$%k$H$7$F2r@O$7$^$9!#\e(B
90       (<module>mod_imagemap</module>)</li>
91
92       <li><strong>server-info</strong>: \e$B%5!<%P$N@_Dj>pJs$r<hF@$7$^$9!#\e(B
93       (<module>mod_info</module>)</li>
94
95       <li><strong>server-status</strong>: \e$B%5!<%P$N>uBVJs9p$r<hF@$7$^$9!#\e(B
96       (<module>mod_status</module>)</li>
97
98       <li><strong>type-map</strong>:
99       \e$B%3%s%F%s%H%M%4%7%(!<%7%g%s$N$?$a$N%?%$%W%^%C%W$H$7$F2r@O$7$^$9!#\e(B
100       (<module>mod_negotiation</module>)</li>
101     </ul>
102   </section>
103   <section id="examples">
104     <title>\e$BNc\e(B</title>
105
106     <section id="example1">
107       <title>CGI \e$B%9%/%j%W%H$rMQ$$$F@EE*$J%3%s%F%s%D$rJQ99$9$k\e(B</title>
108
109       <p>\e$B0J2<$N%G%#%l%/%F%#%V$K$h$C$F!"3HD%;R$,\e(B <code>html</code>
110       \e$B$G$"$k%U%!%$%k$O\e(B <code>footer.pl</code>
111       CGI \e$B%9%/%j%W%H$r5/F0$9$k$h$&$K$J$j$^$9!#\e(B</p>
112
113       <example>
114         Action add-footer /cgi-bin/footer.pl<br/>
115         AddHandler add-footer .html
116       </example>
117
118       <p>CGI \e$B%9%/%j%W%H$O4uK>$N=$@5$dDI2C$r9T$J$C$F!"85!9MW5a$5$l$?J8=q\e(B
119       (\e$B4D6-JQ?t\e(B <code>PATH_TRANSLATED</code>
120       \e$B$G;X$5$l$F$$$^$9\e(B) \e$B$rAw$k@UG$$,$"$j$^$9!#\e(B
121       </p>
122
123     </section>
124     <section id="example2">
125       <title>HTTP \e$B%X%C%@$N$"$k%U%!%$%k\e(B</title>
126
127       <p>\e$B0J2<$N%G%#%l%/%F%#%V$O\e(B <code>send-as-is</code>
128       \e$B%O%s%I%i$r;HMQ$9$k$h$&$K;X<($7$^$9!#$3$N%O%s%I%i$O<+J,<+?H$N\e(B HTTP
129       \e$B%X%C%@$r;}$C$F$$$k%U%!%$%k$K;HMQ$5$l$^$9!#$3$3$G$O!"3HD%;R$K4X$o$i$:!"\e(B
130       <code>/web/htdocs/asis</code> \e$B%G%#%l%/%H%j$K$"$kA4$F$N%U%!%$%k$O\e(B
131       <code>send-as-is</code> \e$B%O%s%I%i$K$h$C$F07$o$l$^$9!#\e(B</p>
132
133       <example>
134         &lt;Directory /web/htdocs/asis&gt;<br/>
135         SetHandler send-as-is<br/>
136         &lt;/Directory&gt;
137       </example>
138
139     </section>
140   </section>
141   <section id="programmer">
142     <title>\e$B%W%m%0%i%^8~$1$N%a%b\e(B</title>
143
144     <p>\e$B%O%s%I%i$N5!G=$r<BAu$9$k$?$a$K!"MxMQ$9$k$HJXMx$+$b$7$l$J$$$b$N$,\e(B
145     <a href="developer/API.html">Apache API</a>
146     \e$B$KDI2C$5$l$^$7$?!#>\$7$/8@$&$H!"\e(B<code>request_rec</code>
147     \e$B9=B$BN$K?7$7$$%l%3!<%I$,DI2C$5$l$?$H$$$&$3$H$G$9!#\e(B</p>
148
149     <example>
150      char *handler
151     </example>
152
153     <p>\e$B$b$7%b%8%e!<%k$,%O%s%I%i$K4X$o$j$?$$>l9g!"\e(B
154     \e$B$d$i$J$1$l$P$J$i$J$$$3$H$O!"%j%/%(%9%H$,\e(B <code>invoke_handler</code>
155     \e$B%9%F!<%8$KC#$9$k0JA0$K\e(B <code>r-&gt;handler</code>
156     \e$B$r@_Dj$9$k$3$H$@$1$G$9!#%O%s%I%i$O%3%s%F%s%H%?%$%W$NBe$o$j$K\e(B
157     \e$B%O%s%I%iL>$r;H$&$h$&$K$J$C$F$$$k$3$H0J30$O!"0JA0$HF1$8$h$&$K<BAu$5$l$F$$$^$9!#\e(B
158     \e$BI,$:MW5a$5$l$F$$$k$o$1$G$O$"$j$^$;$s$,!"%a%G%#%"%?%$%W\e(B
159     \e$B$NL>A06u4V$r?/$5$J$$$h$&$K!"%O%s%I%i$NL>A0$K$O%9%i%C%7%e$r4^$^$J$$!"\e(B
160     \e$B%@%C%7%e\e(B (\e$BLuCm\e(B: "-") \e$B$GJ,N%$5$l$?L>A0$rIU$1$k=,47$K$J$C$F$$$^$9!#\e(B</p>
161   </section>
162 </manualpage>