home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 May / Gamestar_62_2004-05_dvd.iso / Programy / apache_2.0.48-win32-x86-no_ssl.msi / Data.Cab / F252690_mod_cgi.xml.ja < prev    next >
Extensible Markup Language  |  2003-04-15  |  10KB  |  228 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. <modulesynopsis metafile="mod_cgi.xml.meta">
  5. <!-- English revision: 1.8 -->
  6.  
  7. <name>mod_cgi</name>
  8. <description>CGI $B%9%/%j%W%H$N<B9T(B</description>
  9. <status>Base</status>
  10. <sourcefile>mod_cgi.c</sourcefile>
  11. <identifier>cgi_module</identifier>
  12.  
  13. <summary>
  14.     <!-- XXX: Should mention Options ExecCGI
  15.           is the link to howto/cgi not sufficient? -nd
  16.     -->
  17.  
  18.     <p>Mime $B%?%$%W$,(B <code>application/x-httpd-cgi</code> 
  19.     $B$G$"$k$+!"%O%s%I%i(B <code>cgi-script</code> (Apache 1.1 $B0J9_(B)
  20.     $B$,;XDj$5$l$F$$$k%U%!%$%k$O(B CGI $B%9%/%j%W%H$H$7$F07$o$l!"(B
  21.     $B%5!<%P$K$h$j<B9T$5$l!"$=$N=PNO$,%/%i%$%"%s%H$KJV$5$l$^$9!#(B
  22.     $B%U%!%$%k$O!"(B<directive module="mod_mime">AddType</directive>
  23.     $B%G%#%l%/%F%#%V$K;XDj$5$l$?(B $B3HD%;R$rL>A0$K4^$`$+!"(B
  24.     <directive module="mod_alias">ScriptAlias</directive>
  25.     $B%G%#%l%/%H%j$KB8:_$9$k$3$H$K$h$j$3$N%?%$%W$K$J$j$^$9!#(B</p>
  26.  
  27.     <p>$B%5!<%P$,(B CGI $B%9%/%j%W%H$r<B9T$9$k$H$-$K$O!"(B
  28.     <code>DOCUMENT_ROOT</code>
  29.     $B$H8F$P$l$kJQ?t$r4D6-$KDI2C$7$^$9!#$3$NJQ?t$O(B
  30.     <directive module="core">DocumentRoot</directive>
  31.     $B$NCM$rJ];}$7$^$9!#(B</p>
  32.  
  33.     <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
  34.     <a href="../howto/cgi.html">CGI $B$K$h$kF0E*%3%s%F%s%D(B</a>
  35.     $B$r;2>H$7$F$/$@$5$$!#(B</p>
  36.  
  37.     <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
  38.     $BBe$o$j$K(B <module>mod_cgid</module> $B$r;H$&I,MW$,$"$j$^$9!#(B
  39.     $B%f!<%6%l%Y%k$G$O$3$NFs$D$N%b%8%e!<%k$OK\<AE*$K$OF10l$G$9!#(B</p>
  40. </summary>
  41.  
  42. <seealso><directive module="core">AcceptPathInfo</directive></seealso>
  43. <seealso><directive module="core">Options</directive></seealso>
  44. <seealso><directive module="mod_alias">ScriptAlias</directive></seealso>
  45. <seealso><directive module="mod_mime">AddHandler</directive></seealso>
  46. <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>
  47. <seealso><a href="http://hoohoo.ncsa.uiuc.edu/cgi/">CGI $B5,3J=q(B</a></seealso>
  48.  
  49. <section id="env"><title>CGI $B4D6-JQ?t(B</title>
  50.     <p>$B%5!<%P$O(B <a href="http://hoohoo.ncsa.uiuc.edu/cgi/">CGI
  51.     $B5,3J(B</a> $B$G7h$a$i$l$F$$$k(B CGI
  52.     $B4D6-JQ?t$r@_Dj$7$^$9!#0J2<$N$b$N$O!">r7oIU$-$G@_Dj$5$l$^$9!#(B</p>
  53.  
  54.     <dl>
  55.       <dt>PATH_INFO</dt>
  56.  
  57.       <dd>$B$3$l$O(B <directive module="core"
  58.       >AcceptPathInfo</directive> $B%G%#%l%/%F%#%V$,L@<(E*$K(B <code>off</code>
  59.       $B$K@_Dj$5$l$F$$$k>l9g$O@_Dj$5$l$^$;$s!#%G%U%)%k%H$N!"(B
  60.       <directive>AcceptPathInfo</directive> $B$,(B
  61.       $B;XDj$5$l$F$$$J$$$H$-$N?6$kIq$$$G$O!"(B<module>mod_cgi</module> $B$O%Q%9>pJs(B
  62.       (URI $B$N%9%/%j%W%H$N%U%!%$%kL>$N8e$KB3$/(B <code>/more/path/info</code>) $B$r(B
  63.       $B<u$1IU$1$^$9$,!"%3%"$O%5!<%P$O%Q%9>pJs$N$"$k%j%/%(%9%H$K(B
  64.       $BBP$7$F(B 404 NOT FOUND $B%(%i!<$rJV$7$^$9!#(B<directive>AcceptPathInfo</directive>
  65.       $B%G%#%l%/%F%#%V$r(B
  66.       $B>JN,$9$k$H!"(B<module>mod_cgi</module> $B$X$N%j%/%(%9%H$KBP$7$F(B
  67.       <code>On</code> $B$r(B
  68.       $B@_Dj$7$?$N$HF1$88z2L$K$J$j$^$9!#(B</dd>
  69.  
  70.       <dt>REMOTE_HOST</dt>
  71.  
  72.       <dd><directive module="core">HostnameLookups</directive>
  73.       $B$,(B <code>on</code> ($B%G%U%)%k%H$G$O(B off $B$G$9(B)
  74.       $B$G!"%"%/%;%9$7$F$$$k%[%9%H$N%"%I%l%9$N(B DNS
  75.       $B$N5U0z$-$,<B:]$K%[%9%HL>$r8+$D$1$?$H$-$K$N$_@_Dj$5$l$^$9!#(B</dd>
  76.  
  77.       <dt>REMOTE_IDENT</dt>
  78.  
  79.       <dd><directive module="core">IdentityCheck</directive>
  80.       $B$,(B <code>on</code> $B$K@_Dj$5$l$F$$$F!"%"%/%;%9$7$F$$$k%[%9%H$,(B
  81.       ident $B%W%m%H%3%k$r%5%]!<%H$7$F$$$k$H$-$K$N$_@_Dj$5$l$^$9!#(B
  82.       $B$3$l$O4JC1$K56$k$3$H$,$G$-!"%/%i%$%"%s%H$H%5!<%P$N4V$K(B
  83.       $B%W%m%-%7$,$"$l$P$^$C$?$/Lr$KN)$?$J$$$N$G!"(B
  84.       $B$3$NJQ?t$NCM$O?.MQ$G$-$J$$$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B
  85.       </dd>
  86.  
  87.       <dt>REMOTE_USER</dt>
  88.  
  89.       <dd>CGI
  90.       $B%9%/%j%W%H$KG'>Z$,I,MW$J$H$-$K$N$_@_Dj$5$l$^$9!#(B</dd>
  91.     </dl>
  92. </section>
  93.  
  94. <section id="cgi-debug"><title>CGI $B$N%G%P%C%0(B</title>
  95.     <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
  96.     ($BI8=`=PNO$H%(%i!<(B)
  97.     $B$rD4$Y$k$3$H$,$G$-$J$$$?$a$K!"Fq$7$$>uBV$,B3$$$F$$$^$7$?!#(B
  98.     $B$3$l$i$N(B Apache 1.2 $B0J9_$K$"$k(B
  99.     $B%G%#%l%/%F%#%V$O$h$j>\:Y$J%(%i!<$N%m%0<}=8$rDs6!$7$^$9!#(B</p>
  100.  
  101.     <section><title>CGI $B%m%0%U%!%$%k$N=q<0(B</title>
  102.     <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
  103.     CGI $B$r%m%0<}=8$7$^$9!#$=$l$>$l$N@5$7$/F0:n$7$J$$(B CGI
  104.     $B%9%/%j%W%H$O(B $BJ#?t$N9T$K$o$?$k>pJs$,%m%0<}=8$5$l$^$9!#:G=i$N(B
  105.     2 $B9T$O>o$K0J2<$N=q<0$G$9(B:</p>
  106.  
  107.       <example>
  108.         %% [<var>time</var>] <var>request-line</var><br />
  109.         %% <var>HTTP-status</var> <var>CGI-script-filename</var>
  110.       </example>
  111.  
  112.       <p>$B%(%i!<$,!"(BCGI $B%9%/%j%W%H$,<B9T$G$-$J$$$H$$$&$b$N$G$"$k>l9g$O!"(B
  113.       $B%m%0%U%!%$%k$O$5$i$K$b$&(B 2 $B9T=q$+$l$^$9(B:</p>
  114.  
  115.       <example>
  116.         %%error<br />
  117.         <var>error-message</var>
  118.       </example>
  119.  
  120.       <p>$B$=$&$G$O$J$/!"%(%i!<$,@5$7$/$J$$%X%C%@>pJs$rJV$97k2L$G$"$k>l9g(B
  121.       ($B%9%/%j%W%H$N%P%0$G$"$k$3$H$,$h$/$"$j$^$9(B)$B!"(B
  122.       $B0J2<$N>pJs$,%m%0<}=8$5$l$^$9(B:</p>
  123.  
  124.     <example>
  125.       %request<br />
  126.       <var>$B<u$1<h$C$?$9$Y$F$N(B HTTP $B%j%/%(%9%H%X%C%@(B</var><br />
  127.       <var>($B$b$7$"$l$P(B) POST $B$d(B PUT $B$NCf?H(B</var><br />
  128.       %response<br />
  129.       <var>CGI $B%9%/%j%W%H$K$h$j=PNO$5$l$?$9$Y$F$N%X%C%@(B</var><br />
  130.       %stdout<br />
  131.       <var>CGI $BI8=`=PNO(B</var><br />
  132.       %stderr<br />
  133.       <var>CGI $BI8=`%(%i!<(B</var><br />
  134.     </example>
  135.  
  136.     <p>($B%9%/%j%W%H$,I8=`=PNO$dI8=`%(%i!<$K2?$b=PNO$7$J$+$C$?>l9g$O!"(B
  137.     %stdout $B$d(B %stderr $B$O$"$j$^$;$s(B)$B!#(B</p>
  138. </section>
  139. </section>
  140.  
  141. <directivesynopsis>
  142. <name>ScriptLog</name>
  143. <description>CGI $B%9%/%j%W%H$N%(%i!<%m%0%U%!%$%k$N>l=j(B</description>
  144. <syntax>ScriptLog <var>file-path</var></syntax>
  145. <contextlist><context>server config</context>
  146. <context>virtual host</context>
  147. </contextlist>
  148. <modulelist><module>mod_cgi</module><module>mod_cgid</module>
  149. </modulelist>
  150.  
  151. <usage>
  152.     <p><directive>ScriptLog</directive> $B%G%#%l%/%F%#%V$O(B CGI $B%9%/%j%W%H$N(B
  153.     $B%(%i!<%m%0%U%!%$%k$r@_Dj$7$^$9!#(B<directive>ScriptLog</directive> $B$,(B
  154.     $B@_Dj$5$l$F$$$J$$$H$-$O!"(B
  155.     $B%(%i!<%m%0$O:n@.$5$l$^$;$s!#@_Dj$5$l$F$$$k$H$-$O!"(BCGI
  156.     $B$N%(%i!<$O$9$Y$F0z?t$H$7$FM?$($i$l$F$$$k%U%!%$%kL>$K%m%0$5$l$^$9!#(B
  157.     $BAjBP%Q%9$G;XDj$5$l$F$$$k$H$-$O!"(B
  158.     <directive module="core">ServerRoot</directive>$B$+$i$NAjBP%Q%9$H$7$F(B
  159.     $B07$o$l$^$9!#(B</p>
  160.  
  161.     <example><title>$BNc(B</title>
  162.       ScriptLog logs/cgi_log
  163.     </example>
  164.  
  165.     <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
  166.     <em>$B$9$J$o$A(B</em>$B!"(B<directive module="mpm_commmon"
  167.     >User</directive> $B%G%#%l%/%F%#%V$G;XDj$5$l$?(B
  168.     $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
  169.     $B=q$-9~$_2DG=$+!"%9%/%j%W%H%U%!%$%k$,<jF0$G:n@.$5$l!"$=$N%f!<%6$G(B
  170.     $B=q$-9~$_2DG=$K$J$C$F$$$kI,MW$,$"$k$H$$$&$3$H$G$9!#%9%/%j%W%H%m%0$r(B
  171.     $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
  172.     $B$=$N%G%#%l%/%H%j$r;R%W%m%;%9$r<B9T$7$F$$$k%f!<%6$N8"8B$G(B
  173.     $B=q$-9~$_2DG=$K$O(B<strong>$B$7$J$$(B</strong>$B$h$&$K$7$F$/$@$5$$!#(B</p>
  174.  
  175.     <p>$B%9%/%j%W%H$N%m%0<}=8$O(B CGI $B%9%/%j%W%H$r=q$/$H$-$N(B
  176.     $B%G%P%C%0MQ$N5!G=$H$7$F0U?^$5$l$F$$$F!"DL>o$N%5!<%P$G(B
  177.     $B>o$K;HMQ$5$l$k$h$&$K$O0U?^$5$l$F$$$J$$$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B
  178.     $BB.EY$d8zN($O:GE,2=$5$l$F$*$i$:!"@_7W$5$l$?0J30$NJ}K!$G;HMQ$5$l$k$H(B
  179.     $B%;%-%e%j%F%#$NLdBj$,$"$k$+$b$7$l$^$;$s!#(B</p>
  180. </usage>
  181. </directivesynopsis>
  182.  
  183. <directivesynopsis>
  184. <name>ScriptLogLength</name>
  185. <description>CGI $B%9%/%j%W%H$N%m%0%U%!%$%k$NBg$-$5$N>e8B(B</description>
  186. <syntax>ScriptLogLength <var>bytes</var></syntax>
  187. <default>ScriptLogLength 10385760</default>
  188. <contextlist><context>server config</context>
  189. <context>virtual host</context>
  190. </contextlist>
  191. <modulelist><module>mod_cgi</module><module>mod_cgid</module>
  192. </modulelist>
  193.  
  194. <usage>
  195.     <p><directive>ScriptLogLength</directive> $B$O(B CGI $B%9%/%j%W%H$N%m%0%U%!%$%k(B
  196.     $B$NBg$-$5$r@)8B$9$k$?$a$K;HMQ$9$k$3$H$,$G$-$^$9!#%m%0%U%!%$%k$O(B
  197.     CGI $B$N%(%i!<Kh$KBgNL$N>pJs(B ($B%j%/%(%9%H$N$9$Y$F$N%X%C%@!"(B
  198.     $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
  199.     $B$3$NBg$-$5$N@)8B$,$J$$$3$H$K$h$kLdBj$rKI$0$?$a$K!"(B
  200.     $B$3$N%G%#%l%/%F%#%V$r;H$C$F(B CGI $B$N%m%0%U%!%$%k$N(B
  201.     $B:GBg$N%U%!%$%k%5%$%:$r@_Dj$9$k$3$H$,$G$-$^$9!#(B
  202.     $B%U%!%$%k$,$3$NBg$-$5$rD6$($?>l9g$O!"$=$l0J>e$O=q$-9~$^$l$^$;$s!#(B</p>
  203. </usage>
  204. </directivesynopsis>
  205.  
  206. <directivesynopsis>
  207. <name>ScriptLogBuffer</name>
  208. <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>
  209. <syntax>ScriptLogBuffer <em>bytes</em></syntax>
  210. <default>ScriptLogBuffer 1024</default>
  211. <contextlist><context>server config</context>
  212. <context>virtual host</context>
  213. </contextlist>
  214. <modulelist><module>mod_cgi</module><module>mod_cgid</module>
  215. </modulelist>
  216.  
  217. <usage>
  218.     <p>$BBg$-$JK\BN$r<u$1<h$C$?$H$-$K%m%0%U%!%$%k$,$9$0$KBg$-$/$J$j$9$.$k(B
  219.     $BLdBj$rHr$1$k$?$a$K!"%U%!%$%k$K%m%0<}=8$5$l$k(B PUT $B$H(B POST
  220.     $B$NK\BN$NBg$-$5$O@)8B$5$l$F$$$^$9!#%G%U%)%k%H$G$O!"(B1024
  221.     $B%P%$%H$^$G$,%m%0<}=8$5$l$^$9$,!"(B
  222.     $B$3$N%G%#%l%/%F%#%V$O$=$l$rJQ99$9$k$3$H$,$G$-$^$9!#(B 
  223.     </p>
  224. </usage>
  225. </directivesynopsis>
  226.  
  227. </modulesynopsis>
  228.