home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 November / CMCD1104.ISO / Software / Complet / Apache / apache_2.0.52-win32-x86-no_ssl.msi / Data.Cab / F278256_mod_cgi.xml.ja < prev    next >
Extensible Markup Language  |  2004-04-17  |  11KB  |  245 lines

  1. <?xml version="1.0" encoding="iso-2022-jp"?>
  2. <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
  3. <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
  4. <!-- English Revision: 1.8.2.4 -->
  5.  
  6. <!--
  7.  Copyright 2002-2004 The Apache Software Foundation
  8.  
  9.  Licensed under the Apache License, Version 2.0 (the "License");
  10.  you may not use this file except in compliance with the License.
  11.  You may obtain a copy of the License at
  12.  
  13.      http://www.apache.org/licenses/LICENSE-2.0
  14.  
  15.  Unless required by applicable law or agreed to in writing, software
  16.  distributed under the License is distributed on an "AS IS" BASIS,
  17.  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18.  See the License for the specific language governing permissions and
  19.  limitations under the License.
  20. -->
  21.  
  22. <modulesynopsis metafile="mod_cgi.xml.meta">
  23.  
  24. <name>mod_cgi</name>
  25. <description>CGI $B%9%/%j%W%H$N<B9T(B</description>
  26. <status>Base</status>
  27. <sourcefile>mod_cgi.c</sourcefile>
  28. <identifier>cgi_module</identifier>
  29.  
  30. <summary>
  31.     <!-- XXX: Should mention Options ExecCGI
  32.           is the link to howto/cgi not sufficient? -nd
  33.     -->
  34.  
  35.     <p>Mime $B%?%$%W$,(B <code>application/x-httpd-cgi</code> 
  36.     $B$G$"$k$+!"%O%s%I%i(B <code>cgi-script</code> (Apache 1.1 $B0J9_(B)
  37.     $B$,;XDj$5$l$F$$$k%U%!%$%k$O(B CGI $B%9%/%j%W%H$H$7$F07$o$l!"(B
  38.     $B%5!<%P$K$h$j<B9T$5$l!"$=$N=PNO$,%/%i%$%"%s%H$KJV$5$l$^$9!#(B
  39.     $B%U%!%$%k$O!"(B<directive module="mod_mime">AddType</directive>
  40.     $B%G%#%l%/%F%#%V$K;XDj$5$l$?(B $B3HD%;R$rL>A0$K4^$`$+!"(B
  41.     <directive module="mod_alias">ScriptAlias</directive>
  42.     $B%G%#%l%/%H%j$KB8:_$9$k$3$H$K$h$j$3$N%?%$%W$K$J$j$^$9!#(B</p>
  43.  
  44.     <p>$B%5!<%P$,(B CGI $B%9%/%j%W%H$r<B9T$9$k$H$-$K$O!"(B
  45.     <code>DOCUMENT_ROOT</code>
  46.     $B$H8F$P$l$kJQ?t$r4D6-$KDI2C$7$^$9!#$3$NJQ?t$O(B
  47.     <directive module="core">DocumentRoot</directive>
  48.     $B$NCM$rJ];}$7$^$9!#(B</p>
  49.  
  50.     <p>Apache $B$G(B CGI $B%9%/%j%W%H$r;HMQ$9$k$?$a$N%$%s%H%m%@%/%7%g%s$O!"(B
  51.     <a href="../howto/cgi.html">CGI $B$K$h$kF0E*%3%s%F%s%D(B</a>
  52.     $B$r;2>H$7$F$/$@$5$$!#(B</p>
  53.  
  54.     <p>Unix $B$G%^%k%A%9%l%C%I$N(B MPM $B$r;H$C$F$$$k>l9g$O!"$3$N%b%8%e!<%k$N(B
  55.     $BBe$o$j$K(B <module>mod_cgid</module> $B$r;H$&I,MW$,$"$j$^$9!#(B
  56.     $B%f!<%6%l%Y%k$G$O$3$NFs$D$N%b%8%e!<%k$OK\<AE*$K$OF10l$G$9!#(B</p>
  57. </summary>
  58.  
  59. <seealso><directive module="core">AcceptPathInfo</directive></seealso>
  60. <seealso><directive module="core">Options</directive></seealso>
  61. <seealso><directive module="mod_alias">ScriptAlias</directive></seealso>
  62. <seealso><directive module="mod_mime">AddHandler</directive></seealso>
  63. <seealso><a href="../suexec.html">CGI $B%W%m%0%i%`$rJL$N%f!<%6(B ID $B$G<B9T$9$k(B</a></seealso>
  64. <seealso><a href="http://hoohoo.ncsa.uiuc.edu/cgi/">CGI $B5,3J=q(B</a></seealso>
  65.  
  66. <section id="env"><title>CGI $B4D6-JQ?t(B</title>
  67.     <p>$B%5!<%P$O(B <a href="http://hoohoo.ncsa.uiuc.edu/cgi/">CGI
  68.     $B5,3J(B</a> $B$G7h$a$i$l$F$$$k(B CGI
  69.     $B4D6-JQ?t$r@_Dj$7$^$9!#0J2<$N$b$N$O!">r7oIU$-$G@_Dj$5$l$^$9!#(B</p>
  70.  
  71.     <dl>
  72.       <dt>PATH_INFO</dt>
  73.  
  74.       <dd>$B$3$l$O(B <directive module="core"
  75.       >AcceptPathInfo</directive> $B%G%#%l%/%F%#%V$,L@<(E*$K(B <code>off</code>
  76.       $B$K@_Dj$5$l$F$$$k>l9g$O@_Dj$5$l$^$;$s!#%G%U%)%k%H$N!"(B
  77.       <directive>AcceptPathInfo</directive> $B$,(B
  78.       $B;XDj$5$l$F$$$J$$$H$-$N?6$kIq$$$G$O!"(B<module>mod_cgi</module> $B$O%Q%9>pJs(B
  79.       (URI $B$N%9%/%j%W%H$N%U%!%$%kL>$N8e$KB3$/(B <code>/more/path/info</code>) $B$r(B
  80.       $B<u$1IU$1$^$9$,!"%3%"$O%5!<%P$O%Q%9>pJs$N$"$k%j%/%(%9%H$K(B
  81.       $BBP$7$F(B 404 NOT FOUND $B%(%i!<$rJV$7$^$9!#(B<directive>AcceptPathInfo</directive>
  82.       $B%G%#%l%/%F%#%V$r(B
  83.       $B>JN,$9$k$H!"(B<module>mod_cgi</module> $B$X$N%j%/%(%9%H$KBP$7$F(B
  84.       <code>On</code> $B$r(B
  85.       $B@_Dj$7$?$N$HF1$88z2L$K$J$j$^$9!#(B</dd>
  86.  
  87.       <dt>REMOTE_HOST</dt>
  88.  
  89.       <dd><directive module="core">HostnameLookups</directive>
  90.       $B$,(B <code>on</code> ($B%G%U%)%k%H$G$O(B off $B$G$9(B)
  91.       $B$G!"%"%/%;%9$7$F$$$k%[%9%H$N%"%I%l%9$N(B DNS
  92.       $B$N5U0z$-$,<B:]$K%[%9%HL>$r8+$D$1$?$H$-$K$N$_@_Dj$5$l$^$9!#(B</dd>
  93.  
  94.       <dt>REMOTE_IDENT</dt>
  95.  
  96.       <dd><directive module="core">IdentityCheck</directive>
  97.       $B$,(B <code>on</code> $B$K@_Dj$5$l$F$$$F!"%"%/%;%9$7$F$$$k%[%9%H$,(B
  98.       ident $B%W%m%H%3%k$r%5%]!<%H$7$F$$$k$H$-$K$N$_@_Dj$5$l$^$9!#(B
  99.       $B$3$l$O4JC1$K56$k$3$H$,$G$-!"%/%i%$%"%s%H$H%5!<%P$N4V$K(B
  100.       $B%W%m%-%7$,$"$l$P$^$C$?$/Lr$KN)$?$J$$$N$G!"(B
  101.       $B$3$NJQ?t$NCM$O?.MQ$G$-$J$$$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B
  102.       </dd>
  103.  
  104.       <dt>REMOTE_USER</dt>
  105.  
  106.       <dd>CGI
  107.       $B%9%/%j%W%H$KG'>Z$,I,MW$J$H$-$K$N$_@_Dj$5$l$^$9!#(B</dd>
  108.     </dl>
  109. </section>
  110.  
  111. <section id="cgi-debug"><title>CGI $B$N%G%P%C%0(B</title>
  112.     <p>CGI $B%9%/%j%W%H$N%G%P%C%0$O!"@5$7$/F0:n$7$F$$$J$$%9%/%j%W%H$N=PNO(B
  113.     ($BI8=`=PNO$H%(%i!<(B)
  114.     $B$rD4$Y$k$3$H$,$G$-$J$$$?$a$K!"Fq$7$$>uBV$,B3$$$F$$$^$7$?!#(B
  115.     $B$3$l$i$N(B Apache 1.2 $B0J9_$K$"$k(B
  116.     $B%G%#%l%/%F%#%V$O$h$j>\:Y$J%(%i!<$N%m%0<}=8$rDs6!$7$^$9!#(B</p>
  117.  
  118.     <section><title>CGI $B%m%0%U%!%$%k$N=q<0(B</title>
  119.     <p>$B@_Dj$5$l$F$$$k$H$-$K$O!"(BCGI $B%(%i!<%m%0$OE,@Z$KF0:n$7$J$$$9$Y$F$N(B
  120.     CGI $B$r%m%0<}=8$7$^$9!#$=$l$>$l$N@5$7$/F0:n$7$J$$(B CGI
  121.     $B%9%/%j%W%H$O(B $BJ#?t$N9T$K$o$?$k>pJs$,%m%0<}=8$5$l$^$9!#:G=i$N(B
  122.     2 $B9T$O>o$K0J2<$N=q<0$G$9(B:</p>
  123.  
  124.       <example>
  125.         %% [<var>time</var>] <var>request-line</var><br />
  126.         %% <var>HTTP-status</var> <var>CGI-script-filename</var>
  127.       </example>
  128.  
  129.       <p>$B%(%i!<$,!"(BCGI $B%9%/%j%W%H$,<B9T$G$-$J$$$H$$$&$b$N$G$"$k>l9g$O!"(B
  130.       $B%m%0%U%!%$%k$O$5$i$K$b$&(B 2 $B9T=q$+$l$^$9(B:</p>
  131.  
  132.       <example>
  133.         %%error<br />
  134.         <var>error-message</var>
  135.       </example>
  136.  
  137.       <p>$B$=$&$G$O$J$/!"%(%i!<$,@5$7$/$J$$%X%C%@>pJs$rJV$97k2L$G$"$k>l9g(B
  138.       ($B%9%/%j%W%H$N%P%0$G$"$k$3$H$,$h$/$"$j$^$9(B)$B!"(B
  139.       $B0J2<$N>pJs$,%m%0<}=8$5$l$^$9(B:</p>
  140.  
  141.     <example>
  142.       %request<br />
  143.       <var>$B<u$1<h$C$?$9$Y$F$N(B HTTP $B%j%/%(%9%H%X%C%@(B</var><br />
  144.       <var>($B$b$7$"$l$P(B) POST $B$d(B PUT $B$NCf?H(B</var><br />
  145.       %response<br />
  146.       <var>CGI $B%9%/%j%W%H$K$h$j=PNO$5$l$?$9$Y$F$N%X%C%@(B</var><br />
  147.       %stdout<br />
  148.       <var>CGI $BI8=`=PNO(B</var><br />
  149.       %stderr<br />
  150.       <var>CGI $BI8=`%(%i!<(B</var><br />
  151.     </example>
  152.  
  153.     <p>($B%9%/%j%W%H$,I8=`=PNO$dI8=`%(%i!<$K2?$b=PNO$7$J$+$C$?>l9g$O!"(B
  154.     %stdout $B$d(B %stderr $B$O$"$j$^$;$s(B)$B!#(B</p>
  155. </section>
  156. </section>
  157.  
  158. <directivesynopsis>
  159. <name>ScriptLog</name>
  160. <description>CGI $B%9%/%j%W%H$N%(%i!<%m%0%U%!%$%k$N>l=j(B</description>
  161. <syntax>ScriptLog <var>file-path</var></syntax>
  162. <contextlist><context>server config</context>
  163. <context>virtual host</context>
  164. </contextlist>
  165. <modulelist><module>mod_cgi</module><module>mod_cgid</module>
  166. </modulelist>
  167.  
  168. <usage>
  169.     <p><directive>ScriptLog</directive> $B%G%#%l%/%F%#%V$O(B CGI $B%9%/%j%W%H$N(B
  170.     $B%(%i!<%m%0%U%!%$%k$r@_Dj$7$^$9!#(B<directive>ScriptLog</directive> $B$,(B
  171.     $B@_Dj$5$l$F$$$J$$$H$-$O!"(B
  172.     $B%(%i!<%m%0$O:n@.$5$l$^$;$s!#@_Dj$5$l$F$$$k$H$-$O!"(BCGI
  173.     $B$N%(%i!<$O$9$Y$F0z?t$H$7$FM?$($i$l$F$$$k%U%!%$%kL>$K%m%0$5$l$^$9!#(B
  174.     $BAjBP%Q%9$G;XDj$5$l$F$$$k$H$-$O!"(B
  175.     <directive module="core">ServerRoot</directive>$B$+$i$NAjBP%Q%9$H$7$F(B
  176.     $B07$o$l$^$9!#(B</p>
  177.  
  178.     <example><title>$BNc(B</title>
  179.       ScriptLog logs/cgi_log
  180.     </example>
  181.  
  182.     <p>$B$3$N%m%0$O;R%W%m%;%9$,<B9T$5$l$F$$$k%f!<%6$H$7$F%*!<%W%s$5$l$^$9!#(B
  183.     <em>$B$9$J$o$A(B</em>$B!"(B<directive module="mpm_commmon"
  184.     >User</directive> $B%G%#%l%/%F%#%V$G;XDj$5$l$?(B
  185.     $B%f!<%6$G$9!#$3$l$O!"%9%/%j%W%H%m%0$,=q$+$l$k%G%#%l%/%H%j$,$=$N%f!<%6$G(B
  186.     $B=q$-9~$_2DG=$+!"%9%/%j%W%H%U%!%$%k$,<jF0$G:n@.$5$l!"$=$N%f!<%6$G(B
  187.     $B=q$-9~$_2DG=$K$J$C$F$$$kI,MW$,$"$k$H$$$&$3$H$G$9!#%9%/%j%W%H%m%0$r(B
  188.     $B%"%/%;%9%m%0$J$I$N$?$a$N%m%0%G%#%l%/%H%j$K=q$+$l$k$h$&$K$7$?$H$-$O!"(B
  189.     $B$=$N%G%#%l%/%H%j$r;R%W%m%;%9$r<B9T$7$F$$$k%f!<%6$N8"8B$G(B
  190.     $B=q$-9~$_2DG=$K$O(B<strong>$B$7$J$$(B</strong>$B$h$&$K$7$F$/$@$5$$!#(B</p>
  191.  
  192.     <p>$B%9%/%j%W%H$N%m%0<}=8$O(B CGI $B%9%/%j%W%H$r=q$/$H$-$N(B
  193.     $B%G%P%C%0MQ$N5!G=$H$7$F0U?^$5$l$F$$$F!"DL>o$N%5!<%P$G(B
  194.     $B>o$K;HMQ$5$l$k$h$&$K$O0U?^$5$l$F$$$J$$$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B
  195.     $BB.EY$d8zN($O:GE,2=$5$l$F$*$i$:!"@_7W$5$l$?0J30$NJ}K!$G;HMQ$5$l$k$H(B
  196.     $B%;%-%e%j%F%#$NLdBj$,$"$k$+$b$7$l$^$;$s!#(B</p>
  197. </usage>
  198. </directivesynopsis>
  199.  
  200. <directivesynopsis>
  201. <name>ScriptLogLength</name>
  202. <description>CGI $B%9%/%j%W%H$N%m%0%U%!%$%k$NBg$-$5$N>e8B(B</description>
  203. <syntax>ScriptLogLength <var>bytes</var></syntax>
  204. <default>ScriptLogLength 10385760</default>
  205. <contextlist><context>server config</context>
  206. <context>virtual host</context>
  207. </contextlist>
  208. <modulelist><module>mod_cgi</module><module>mod_cgid</module>
  209. </modulelist>
  210.  
  211. <usage>
  212.     <p><directive>ScriptLogLength</directive> $B$O(B CGI $B%9%/%j%W%H$N%m%0%U%!%$%k(B
  213.     $B$NBg$-$5$r@)8B$9$k$?$a$K;HMQ$9$k$3$H$,$G$-$^$9!#%m%0%U%!%$%k$O(B
  214.     CGI $B$N%(%i!<Kh$KBgNL$N>pJs(B ($B%j%/%(%9%H$N$9$Y$F$N%X%C%@!"(B
  215.     $B$9$Y$F$N=PNO(B)$B$r%m%0$7$^$9$N$G!"$9$0$KBg$-$J%U%!%$%k$K$J$j$^$9!#(B
  216.     $B$3$NBg$-$5$N@)8B$,$J$$$3$H$K$h$kLdBj$rKI$0$?$a$K!"(B
  217.     $B$3$N%G%#%l%/%F%#%V$r;H$C$F(B CGI $B$N%m%0%U%!%$%k$N(B
  218.     $B:GBg$N%U%!%$%k%5%$%:$r@_Dj$9$k$3$H$,$G$-$^$9!#(B
  219.     $B%U%!%$%k$,$3$NBg$-$5$rD6$($?>l9g$O!"$=$l0J>e$O=q$-9~$^$l$^$;$s!#(B</p>
  220. </usage>
  221. </directivesynopsis>
  222.  
  223. <directivesynopsis>
  224. <name>ScriptLogBuffer</name>
  225. <description>$B%9%/%j%W%H%m%0$K5-O?$5$l$k(B PUT $B$d(B POST $B%j%/%(%9%H$NFbMF$N>e8B(B</description>
  226. <syntax>ScriptLogBuffer <em>bytes</em></syntax>
  227. <default>ScriptLogBuffer 1024</default>
  228. <contextlist><context>server config</context>
  229. <context>virtual host</context>
  230. </contextlist>
  231. <modulelist><module>mod_cgi</module><module>mod_cgid</module>
  232. </modulelist>
  233.  
  234. <usage>
  235.     <p>$BBg$-$JK\BN$r<u$1<h$C$?$H$-$K%m%0%U%!%$%k$,$9$0$KBg$-$/$J$j$9$.$k(B
  236.     $BLdBj$rHr$1$k$?$a$K!"%U%!%$%k$K%m%0<}=8$5$l$k(B PUT $B$H(B POST
  237.     $B$NK\BN$NBg$-$5$O@)8B$5$l$F$$$^$9!#%G%U%)%k%H$G$O!"(B1024
  238.     $B%P%$%H$^$G$,%m%0<}=8$5$l$^$9$,!"(B
  239.     $B$3$N%G%#%l%/%F%#%V$O$=$l$rJQ99$9$k$3$H$,$G$-$^$9!#(B 
  240.     </p>
  241. </usage>
  242. </directivesynopsis>
  243.  
  244. </modulesynopsis>
  245.