home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 November / PCWorld_2003-11_cd.bin / Komunik / apache / apache_2.0.47-win32-x86-no_ssl.msi / Data.Cab / F250638_handler.xml.ja < prev    next >
Extensible Markup Language  |  2003-05-20  |  6KB  |  146 lines

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