Current Path : /usr/local/share/doc/apache/mod/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/doc/apache/mod/mod_cgi.html.ja.jis |
<?xml version="1.0" encoding="iso-2022-jp"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> <head> <title>Apache module mod_cgi</title> </head> <!-- English revision: 1.25 --> <!-- Background white, links blue (unvisited), navy (visited), red (active) --> <body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000080" alink="#ff0000"> <div align="CENTER"> <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> <h3>Apache HTTP Server Version 1.3</h3> <p><small><em>Is this the version you want? For more recent versions, check our <a href="/docs/">documentation index</a>.</em></small></p> </div> <h1 align="center">mod_cgi $B%b%8%e!<%k(B</h1> <p>$B$3$N%b%8%e!<%k$O(B CGI $B%9%/%j%W%H$r<B9T$9$k5!G=$rDs6!$7$^$9!#(B</p> <p><a href="module-dict.html#Status" rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> <a href="module-dict.html#SourceFile" rel="Help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_cgi.c<br /> <a href="module-dict.html#ModuleIdentifier" rel="Help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> cgi_module </p> <h2>$B35MW(B</h2> <!-- XXX: Should have references to CGI definition/RFC --> <p>Mime $B%?%$%W$,(B <code>application/x-httpd-cgi</code> $B$G$"$k$+!"%O%s%I%i(B <code>cgi-script</code> (Apache 1.1 $B0J9_(B) $B$,;XDj$5$l$F$$$k%U%!%$%k$O(B CGI $B%9%/%j%W%H$H$7$F07$o$l!"(B $B%5!<%P$K$h$j<B9T$5$l!"$=$N=PNO$,%/%i%$%"%s%H$KJV$5$l$^$9!#(B $B%U%!%$%k$O!"(B<a href="mod_mime.html#addtype">AddType</a> $B%G%#%l%/%F%#%V$K;XDj$5$l$?(B $B3HD%;R$rL>A0$K4^$`$+!"(B <a href="mod_alias.html#scriptalias">ScriptAlias</a> $B%G%#%l%/%H%j$KB8:_$9$k$3$H$K$h$j$3$N%?%$%W$K$J$j$^$9!#(B <a href="mod_alias.html#scriptalias">ScriptAlias</a> $B%G%#%l%/%H%j$K$J$/!"(B<code>AddType</code> $B%G%#%l%/%F%#%V$K$h$j(B <code>application/x-httpd-cgi</code> $B$N%?%$%W$r;}$D%U%!%$%k$O!"(B<code>Options ExecCGI</code> $B$,;XDj$5$l$F$$$J$1$l$P%5!<%P$K$h$j<B9T$5$l$k$3$H$O$"$j$^$;$s!#(B $B>\:Y$O(B <a href="core.html#options"><code>Options</code></a> $B%G%#%l%/%F%#%V$r(B $B;2>H$7$F$/$@$5$$!#(B </p> <p>$B%5!<%P$,(B CGI $B%9%/%j%W%H$r<B9T$9$k$H$-$K$O!"(B <code>DOCUMENT_ROOT</code> $B$H8F$P$l$kJQ?t$r4D6-$KDI2C$7$^$9!#$3$NJQ?t$O(B <a href="core.html#documentroot">DocumentRoot</a> $B$NCM$rJ];}$7$^$9!#(B</p> <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 <a href="../howto/cgi.html">CGI $B$K$h$kF0E*%3%s%F%s%D(B</a> $B$r;2>H$7$F$/$@$5$$!#(B</p> <h2>$B%G%#%l%/%F%#%V(B</h2> <ul> <li><a href="#scriptlog">ScriptLog</a></li> <li><a href="#scriptloglength">ScriptLogLength</a></li> <li><a href="#scriptlogbuffer">ScriptLogBuffer</a></li> </ul> <p><a href="core.html#options">Options</a>, <a href="mod_alias.html#scriptalias">ScriptAlias</a>, <a href="mod_mime.html#addtype">AddType</a>, <a href="mod_mime.html#addhandler">AddHandler</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> <h2>CGI $B4D6-JQ?t(B</h2> <p>$B%5!<%P$O(B <a href="http://hoohoo.ncsa.uiuc.edu/cgi/">CGI $B5,3J(B</a> $B$G7h$a$i$l$F$$$k(B CGI $B4D6-JQ?t$r@_Dj$7$^$9!#0J2<$N$b$N$O!">r7oIU$-$G@_Dj$5$l$^$9!#(B</p> <dl> <dt>REMOTE_HOST</dt> <dd><a href="core.html#hostnamelookups"><code>HostnameLookups</code></a> $B$,(B <code>on</code> ($B%G%U%)%k%H$G$O(B off $B$G$9(B) $B$G!"%"%/%;%9$7$F$$$k%[%9%H$N%"%I%l%9$N(B DNS $B$N5U0z$-$,<B:]$K%[%9%HL>$r8+$D$1$?$H$-$K$N$_@_Dj$5$l$^$9!#(B</dd> <dt>REMOTE_IDENT</dt> <dd><a href="core.html#identitycheck">IdentityCheck</a> $B$,(B <code>on</code> $B$K@_Dj$5$l$F$$$F!"%"%/%;%9$7$F$$$k%[%9%H$,(B ident $B%W%m%H%3%k$r%5%]!<%H$7$F$$$k$H$-$K$N$_@_Dj$5$l$^$9!#(B $B$3$l$O4JC1$K56$k$3$H$,$G$-!"%/%i%$%"%s%H$H%5!<%P$N4V$K(B $B%W%m%-%7$,$"$l$P$^$C$?$/Lr$KN)$?$J$$$N$G!"(B $B$3$NJQ?t$NCM$O?.MQ$G$-$J$$$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B </dd> <dt>REMOTE_USER</dt> <dd>CGI $B%9%/%j%W%H$KG'>Z$,I,MW$J$H$-$K$N$_@_Dj$5$l$^$9!#(B</dd> </dl> <h2><a id="cgi_debug" name="cgi_debug">CGI $B$N%G%P%C%0(B</a></h2> <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 ($BI8=`=PNO$H%(%i!<(B) $B$rD4$Y$k$3$H$,$G$-$J$$$?$a$K!"Fq$7$$>uBV$,B3$$$F$$$^$7$?!#(B $B$3$l$i$N(B Apache 1.2 $B0J9_$K$"$k(B $B%G%#%l%/%F%#%V$O$h$j>\:Y$J%(%i!<$N%m%0<}=8$rDs6!$7$^$9!#(B</p> <h2>CGI $B%m%0%U%!%$%k$N=q<0(B</h2> <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 CGI $B$r%m%0<}=8$7$^$9!#$=$l$>$l$N@5$7$/F0:n$7$J$$(B CGI $B%9%/%j%W%H$O(B $BJ#?t$N9T$K$o$?$k>pJs$,%m%0<}=8$5$l$^$9!#:G=i$N(B 2 $B9T$O>o$K0J2<$N=q<0$G$9(B:</p> <pre> %% [<em>time</em>] <em>request-line</em> %% <em>HTTP-status</em> <em>CGI-script-filename</em> </pre> <p>$B%(%i!<$,!"(BCGI $B%9%/%j%W%H$,<B9T$G$-$J$$$H$$$&$b$N$G$"$k>l9g$O!"(B $B%m%0%U%!%$%k$O$5$i$K$b$&(B 2 $B9T=q$+$l$^$9(B:</p> <pre> %%error <em>error-message</em> </pre> <p>$B$=$&$G$O$J$/!"%(%i!<$,@5$7$/$J$$%X%C%@>pJs$rJV$97k2L$G$"$k>l9g(B ($B%9%/%j%W%H$N%P%0$G$"$k$3$H$,$h$/$"$j$^$9(B)$B!"(B $B0J2<$N>pJs$,%m%0<}=8$5$l$^$9(B:</p> <pre> %request <em>All HTTP request headers received</em> <em>POST or PUT entity (if any)</em> %response <em>All headers output by the CGI script</em> %stdout <em>CGI standard output</em> %stderr <em>CGI standard error</em> </pre> <p>($B%9%/%j%W%H$,I8=`=PNO$dI8=`%(%i!<$K2?$b=PNO$7$J$+$C$?>l9g$O!"(B %stdout $B$d(B %stderr $B$O$"$j$^$;$s(B)$B!#(B</p> <hr /> <h3><a id="scriptlog" name="scriptlog">ScriptLog</a> $B%G%#%l%/%F%#%V(B</h3> <a href="directive-dict.html#Syntax" rel="Help"><strong>$B9=J8(B:</strong></a> ScriptLog <em>filename</em><br /> <a href="directive-dict.html#Default" rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> none<br /> <a href="directive-dict.html#Context" rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> <a href="directive-dict.html#Status" rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> mod_cgi <p><tt>ScriptLog</tt> $B%G%#%l%/%F%#%V$O(B CGI $B%9%/%j%W%H$N(B $B%(%i!<%m%0%U%!%$%k$r@_Dj$7$^$9!#(BScriptLog $B$,@_Dj$5$l$F$$$J$$$H$-$O!"(B $B%(%i!<%m%0$O:n@.$5$l$^$;$s!#@_Dj$5$l$F$$$k$H$-$O!"(BCGI $B$N%(%i!<$O$9$Y$F0z?t$H$7$FM?$($i$l$F$$$k%U%!%$%kL>$K%m%0$5$l$^$9!#(B $BAjBP%Q%9$G;XDj$5$l$F$$$k$H$-$O!"(B $B%5!<%P%k!<%H$+$i$NAjBP%Q%9$H$7$F07$o$l$^$9!#(B</p> <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 $B$9$J$o$A!"(B<a href="core.html#user">User</a> $B%G%#%l%/%F%#%V$G;XDj$5$l$?(B $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 $B=q$-9~$_2DG=$+!"%9%/%j%W%H%U%!%$%k$,<jF0$G:n@.$5$l!"$=$N%f!<%6$G(B $B=q$-9~$_2DG=$K$J$C$F$$$kI,MW$,$"$k$H$$$&$3$H$G$9!#%9%/%j%W%H%m%0$r(B $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 $B$=$N%G%#%l%/%H%j$r;R%W%m%;%9$r<B9T$7$F$$$k%f!<%6$N8"8B$G(B $B=q$-9~$_2DG=$K$O(B<strong>$B$7$J$$(B</strong>$B$h$&$K$7$F$/$@$5$$!#(B</p> <p>$B%9%/%j%W%H$N%m%0<}=8$O(B CGI $B%9%/%j%W%H$r=q$/$H$-$N(B $B%G%P%C%0MQ$N5!G=$H$7$F0U?^$5$l$F$$$F!"DL>o$N%5!<%P$G(B $B>o$K;HMQ$5$l$k$h$&$K$O0U?^$5$l$F$$$J$$$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B $BB.EY$d8zN($O:GE,2=$5$l$F$*$i$:!"@_7W$5$l$?0J30$NJ}K!$G;HMQ$5$l$k$H(B $B%;%-%e%j%F%#$NLdBj$,$"$k$+$b$7$l$^$;$s!#(B</p> <hr /> <h3><a id="scriptloglength" name="scriptloglength">ScriptLogLength</a> $B%G%#%l%/%F%#%V(B</h3> <a href="directive-dict.html#Syntax" rel="Help"><strong>$B9=J8(B:</strong></a> ScriptLogLength <em>bytes</em><br /> <a href="directive-dict.html#Default" rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> 10385760<br /> <a href="directive-dict.html#Context" rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> <a href="directive-dict.html#Status" rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> mod_cgi <p><tt>ScriptLogLength</tt> $B$O(B CGI $B%9%/%j%W%H$N%m%0%U%!%$%k(B $B$NBg$-$5$r@)8B$9$k$?$a$K;HMQ$9$k$3$H$,$G$-$^$9!#%m%0%U%!%$%k$O(B CGI $B$N%(%i!<Kh$KBgNL$N>pJs(B ($B%j%/%(%9%H$N$9$Y$F$N%X%C%@!"(B $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 $B$3$NBg$-$5$N@)8B$,$J$$$3$H$K$h$kLdBj$rKI$0$?$a$K!"(B $B$3$N%G%#%l%/%F%#%V$r;H$C$F(B CGI $B$N%m%0%U%!%$%k$N(B $B:GBg$N%U%!%$%k%5%$%:$r@_Dj$9$k$3$H$,$G$-$^$9!#(B $B%U%!%$%k$,$3$NBg$-$5$rD6$($?>l9g$O!"$=$l0J>e$O=q$-9~$^$l$^$;$s!#(B</p> <hr /> <h3><a id="scriptlogbuffer" name="scriptlogbuffer">ScriptLogBuffer</a></h3> <a href="directive-dict.html#Syntax" rel="Help"><strong>$B9=J8(B:</strong></a> ScriptLogBuffer <em>bytes</em><br /> <a href="directive-dict.html#Default" rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> 1024<br /> <a href="directive-dict.html#Context" rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> <a href="directive-dict.html#Status" rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> mod_cgi <p>$BBg$-$JK\BN$r<u$1<h$C$?$H$-$K%m%0%U%!%$%k$,$9$0$KBg$-$/$J$j$9$.$k(B $BLdBj$rHr$1$k$?$a$K!"%U%!%$%k$K%m%0<}=8$5$l$k(B PUT $B$H(B POST $B$NK\BN$NBg$-$5$O@)8B$5$l$F$$$^$9!#%G%U%)%k%H$G$O!"(B1024 $B%P%$%H$^$G$,%m%0<}=8$5$l$^$9$,!"(B $B$3$N%G%#%l%/%F%#%V$O$=$l$rJQ99$9$k$3$H$,$G$-$^$9!#(B </p> <hr /> <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> <a href="./"><img src="../images/index.gif" alt="Index" /></a> <a href="../"><img src="../images/home.gif" alt="Home" /></a> </body> </html>