1 <?xml version="1.0" encoding="iso-2022-jp"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
4 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5 This file is generated from xml source: DO NOT EDIT
6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
8 <title>Apache Tutorial: CGI
\e$B$K$h$kF0E*%3%s%F%s%D
\e(B - Apache HTTP
\e$B%5!<%P
\e(B</title>
9 <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
10 <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
11 <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
12 <link href="../images/favicon.ico" rel="shortcut icon" /></head>
13 <body id="manual-page"><div id="page-header">
14 <p class="menu"><a href="../mod/">
\e$B%b%8%e!<%k
\e(B</a> | <a href="../mod/directives.html">
\e$B%G%#%l%/%F%#%V
\e(B</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">
\e$BMQ8l
\e(B</a> | <a href="../sitemap.html">
\e$B%5%$%H%^%C%W
\e(B</a></p>
15 <p class="apache">Apache HTTP
\e$B%5!<%P
\e(B
\e$B%P!<%8%g%s
\e(B 2.1</p>
16 <img alt="" src="../images/feather.gif" /></div>
17 <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
19 <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP
\e$B%5!<%P
\e(B</a> > <a href="http://httpd.apache.org/docs-project/">
\e$B%I%-%e%a%s%F!<%7%g%s
\e(B</a> > <a href="../">
\e$B%P!<%8%g%s
\e(B 2.1</a> > <a href="./">How-To /
\e$B%A%e!<%H%j%"%k
\e(B</a></div><div id="page-content"><div id="preamble"><h1>Apache Tutorial: CGI
\e$B$K$h$kF0E*%3%s%F%s%D
\e(B</h1>
21 <p><span>Available Languages: </span><a href="../en/howto/cgi.html" hreflang="en" rel="alternate" title="English"> en </a> |
22 <a href="../ja/howto/cgi.html" title="Japanese"> ja </a></p>
25 <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#intro">
\e$B$O$8$a$K
\e(B</a></li>
26 <li><img alt="" src="../images/down.gif" /> <a href="#configuring">CGI
\e$B$r5v2D$9$k$h$&$K
\e(B Apache
\e$B$r@_Dj$9$k
\e(B</a></li>
27 <li><img alt="" src="../images/down.gif" /> <a href="#writing">CGI
\e$B%W%m%0%i%`$r=q$/
\e(B</a></li>
28 <li><img alt="" src="../images/down.gif" /> <a href="#troubleshoot">
\e$B$7$+$7!"$^$@F0$+$J$$
\e(B !</a></li>
29 <li><img alt="" src="../images/down.gif" /> <a href="#behindscenes">
\e$BN"$G2?$,5/$3$C$F$$$k$N$+
\e(B?</a></li>
30 <li><img alt="" src="../images/down.gif" /> <a href="#libraries">CGI
\e$B%b%8%e!<%k
\e(B/
\e$B%i%$%V%i%j
\e(B</a></li>
31 <li><img alt="" src="../images/down.gif" /> <a href="#moreinfo">
\e$B99$J$k>pJs
\e(B</a></li>
33 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
35 <h2><a name="intro" id="intro">
\e$B$O$8$a$K
\e(B</a></h2>
38 <table class="related"><tr><th>
\e$B4XO"%b%8%e!<%k
\e(B</th><th>
\e$B4XO"%G%#%l%/%F%#%V
\e(B</th></tr><tr><td><ul><li><code class="module"><a href="../mod/mod_alias.html">mod_alias</a></code></li><li><code class="module"><a href="../mod/mod_cgi.html">mod_cgi</a></code></li></ul></td><td><ul><li><code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code></li><li><code class="directive"><a href="../mod/core.html#options">Options</a></code></li><li><code class="directive"><a href="../mod/mod_alias.html#scriptalias">ScriptAlias</a></code></li></ul></td></tr></table>
40 <p>CGI (Common Gateway Interface)
\e$B$O!"%&%'%V%5!<%P$,
\e(B
41 \e$B%3%s%F%s%D@8@.$r$9$k30It%W%m%0%i%`$H6(D4$7$FF0:n$9$k$?$a$NJ}K!$r
\e(B
42 \e$BDj5A$7$F$$$^$9!#$=$N%W%m%0%i%`$O$7$P$7$P
\e(B CGI
\e$B%W%m%0%i%`$d
\e(B
43 CGI
\e$B%9%/%j%W%H$H8F$P$l$^$9!#
\e(BCGI
\e$B$O!"%&%'%V%5%$%H$KF0E*$J
\e(B
44 \e$B%3%s%F%s%D$rCV$/$?$a$N:G$b4JC1$G0lHLE*$JJ}K!$G$9!#$3$N%I%-%e%a%s%H$O!"
\e(B
45 Apache
\e$B%&%'%V%5!<%P$G
\e(B CGI
\e$B$r@_Dj$7!"
\e(B
46 CGI
\e$B%W%m%0%i%`$r=q$-;O$a$k$?$a$NF~Lg=q$H$J$k$G$7$g$&!#
\e(B</p>
47 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
49 <h2><a name="configuring" id="configuring">CGI
\e$B$r5v2D$9$k$h$&$K
\e(B Apache
\e$B$r@_Dj$9$k
\e(B</a></h2>
52 <p>CGI
\e$B%W%m%0%i%`$r@5$7$/F0:n$5$;$k$K$O!"
\e(BCGI
\e$B$r5v2D$9$k$h$&$K
\e(B
53 Apache
\e$B$N@_Dj$r9T$&I,MW$,$"$j$^$9!#
\e(B
54 \e$B$3$l$r9T$J$&$?$a$NJ}K!$,$$$/$D$+$"$j$^$9!#
\e(B</p>
56 <h3><a name="scriptalias" id="scriptalias">ScriptAlias</a></h3>
59 <p><code class="directive"><a href="../mod/mod_alias.html#scriptalias">ScriptAlias</a></code>
60 \e$B%G%#%l%/%F%#%V$r;HMQ$7$F!"
\e(B
61 CGI
\e$B%W%m%0%i%`MQ$NFCJL$JJL%G%#%l%/%H%j$r
\e(B Apache
\e$B$K@_Dj$7$^$9!#
\e(B
62 Apache
\e$B$O!"$3$N%G%#%l%/%H%jCf$NA4$F$N%U%!%$%k$r
\e(B CGI
63 \e$B%W%m%0%i%`$G$"$k$H2>Dj$7$^$9!#
\e(B
64 \e$B$=$7$F!"$3$NFCJL$J%j%=!<%9$,%/%i%$%"%s%H$+$iMW5a$5$l$k$H!"
\e(B
65 \e$B$=$N%W%m%0%i%`$N<B9T$r;n$_$^$9!#
\e(B</p>
67 <p><code class="directive"><a href="../mod/mod_alias.html#scriptalias">ScriptAlias</a></code>
68 \e$B%G%#%l%/%F%#%V$O0J2<$N$h$&$K;HMQ$7$^$9
\e(B:</p>
70 <div class="example"><p><code>
71 ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/
74 <p>
\e$B%G%U%)%k%H0LCV$K
\e(B Apache
\e$B$r%$%s%9%H!<%k$7$?$J$i$P!"
\e(B
75 \e$B$3$NNc$O%G%U%)%k%H>uBV$N
\e(B <code>httpd.conf</code>
76 \e$B@_Dj%U%!%$%k$K4^$^$l$F$$$^$9!#
\e(B
77 <code class="directive"><a href="../mod/mod_alias.html#scriptalias">ScriptAlias</a></code>
78 \e$B%G%#%l%/%F%#%V$O!"
\e(BURL
\e$B$NA0$KIU2C$9$k%G%#%l%/%H%j$rDj5A$9$k
\e(B
79 <code class="directive"><a href="../mod/mod_alias.html#alias">Alias</a></code>
80 \e$B%G%#%l%/%F%#%V$H$+$J$j;w$F$$$^$9!#
\e(B
81 <code class="directive">Alias</code>
\e$B$H
\e(B <code class="directive">ScriptAlias</code>
82 \e$B$ODL>o!"
\e(B<code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code>
83 \e$B%G%#%l%/%H%j30$N%G%#%l%/%H%j$N$?$a$K;HMQ$5$l$^$9!#
\e(B
84 <code class="directive">Alias</code>
\e$B$H
\e(B <code class="directive">ScriptAlias</code>
85 \e$B$H$N:9$O!"
\e(B<code class="directive">ScriptAlias</code>
\e$B$,@\F,<-$G;O$^$k$9$Y$F$N
\e(B
86 URL
\e$B$O
\e(B CGI
\e$B%W%m%0%i%`$H$_$J$5$l$k$H$$$&DI2C$N0UL#$r4^$s$G$$$k$3$H$G$9!#
\e(B
87 \e$B=>$C$F!">e5-$NNc$G$O!"
\e(B<code>/cgi-bin/</code>
88 \e$B$G;O$^$k%j%=!<%9$X$N$"$i$f$k%j%/%(%9%H$KBP$7$F!"%G%#%l%/%H%j
\e(B
89 <code>/usr/local/apache/cgi-bin/</code>
\e$B$+$iDs6!$7!"$=$l$i$r
\e(B
90 CGI
\e$B%W%m%0%i%`$H$7$F07$&$h$&
\e(B Apache
\e$B$K<($7$^$9!#
\e(B</p>
92 <p>
\e$BNc$($P!"
\e(BURL <code>http://dev.rcbowen.com/cgi-bin/test.pl</code>
93 \e$B$,MW5a$5$l$?>l9g!"
\e(BApache
\e$B$O
\e(B
\e$B%U%!%$%k
\e(B
94 <code>/usr/local/apache/cgi-bin/test.pl</code>
95 \e$B$r<B9T$7!"$=$N=PNO$rJV$9$3$H$r;n$_$^$9!#
\e(B
96 \e$B$b$A$m$s!"%U%!%$%k$,B8:_$7!"<B9T2DG=$G$"$j!"7h$a$i$l$?J}K!$G=PNO$rJV$7$^$9!#
\e(B
97 \e$B$=$&$G$J$1$l$P!"
\e(BApache
\e$B$O%(%i!<%a%C%;!<%8$rJV$7$^$9!#
\e(B</p>
100 <h3><a name="nonscriptalias" id="nonscriptalias">ScriptAlias
\e$B%G%#%l%/%H%j30$N
\e(B CGI</a></h3>
103 <p>CGI
\e$B%W%m%0%i%`$O!"%;%-%e%j%F%#>e$NM}M3$+$i
\e(B
104 <code class="directive"><a href="../mod/mod_alias.html#scriptalias">ScriptAlias</a></code>
105 \e$B$5$l$?%G%#%l%/%H%j$K@)8B$5$l$k$3$H$,$7$P$7$P$"$j$^$9!#$3$NJ}K!$K$h$j!"
\e(B
106 CGI
\e$B%W%m%0%i%`$r;HMQ$G$-$k%f!<%6$r4IM}<T$,87$7$/@)8f$9$k$3$H$,$G$-$^$9!#
\e(B
107 \e$B$7$+$7$J$,$i!"E,@Z$J%;%-%e%j%F%#;vA0BP:v$,$H$i$l$k$J$i$P!"
\e(BCGI
108 \e$B%W%m%0%i%`$rG$0U$N%G%#%l%/%H%j$G<B9T$G$-$J$$$h$&$K$9$kM}M3$O$"$j$^$;$s!#
\e(B
109 \e$BNc$($P!"%f!<%6$K
\e(B <code class="directive"><a href="../mod/mod_userdir.html#userdir">UserDir</a></code>
110 \e$B%G%#%l%/%F%#%V$GH`$i$N%[!<%`%G%#%l%/%H%jG[2<$K%&%'%V%3%s%F%s%D$r;}$?$;$?$$$H$7$^$9!#
\e(B
111 \e$B$b$7!"H`$i$,
\e(B CGI
\e$B%W%m%0%i%`$r;}$D$3$H$rK>$s$G$$$F$b!"%a%$%s
\e(B
\e$B$N
\e(B
112 <code>cgi-bin</code>
\e$B%G%#%l%/%H%j$X$N%"%/%;%9$,$G$-$J$$>l9g!"
\e(B
113 CGI
\e$B%W%m%0%i%`$r<B9T$9$k$3$H$,$G$-$kB>$N>l=j$,I,MW$K$J$j$^$9!#
\e(B</p>
116 <h3><a name="options" id="options">CGI
\e$B$N<B9T$r2DG=$K$9$k$?$a$K
\e(B Options
\e$B$rL@<(E*$K;HMQ$9$k
\e(B</a></h3>
119 <p>
\e$B%5!<%P$N%a%$%s$N@_Dj%U%!%$%kCf$G
\e(B <code class="directive"><a href="../mod/core.html#options">Options</a></code>
120 \e$B%G%#%l%/%F%#%V$rL@<(E*$K;HMQ$9$k$3$H$G!"FCDj$N%G%#%l%/%H%jG[2<$G
\e(B
121 CGI
\e$B$N<B9T$r5v2D$9$k$h$&$K;XDj$9$k$3$H$,$G$-$^$9
\e(B:</p>
123 <div class="example"><p><code>
124 <Directory /usr/local/apache/htdocs/somedir><br />
125 <span class="indent">
126 Options +ExecCGI<br />
131 <p>
\e$B>e5-%G%#%l%/%F%#%V$O!"
\e(BCGI
\e$B%U%!%$%k$N<B9T$r2DG=$K$9$k$h$&
\e(B
132 Apache
\e$B$KEA$($^$9!#$^$?!"$I$N%U%!%$%k$,
\e(B CGI
\e$B%U%!%$%k$+$r
\e(B
133 \e$B%5!<%P$KEA$($kI,MW$,$"$j$^$9!#<!$N
\e(B
134 <code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code>
135 \e$B%G%#%l%/%F%#%V$NNc$G$O!"
\e(B<code>cgi</code>
\e$B$^$?$O
\e(B <code>pl</code>
136 \e$B$r3HD%;R$K;}$D$9$Y$F$N%U%!%$%k$r
\e(B CGI
137 \e$B%W%m%0%i%`$H$7$F$_$J$9$3$H$r%5!<%P$KEA$($^$9
\e(B:</p>
139 <div class="example"><p><code>
140 AddHandler cgi-script cgi pl
144 <h3><a name="htaccess" id="htaccess">.htaccess files</a></h3>
147 <p><a href="htaccess.html"><code>.htaccess</code>
148 \e$B%U%!%$%k
\e(B</a>
\e$B$O!"%G%#%l%/%H%jKh$K%G%#%l%/%F%#%V$r;XDj$9$kJ}K!$G$9!#
\e(B
149 Apache
\e$B$O!"%j%=!<%9$rDs6!$9$k$H$-$K!"
\e(B
150 \e$BDs6!$9$k%U%!%$%k$,CV$+$l$F$$$k%G%#%l%/%H%jCf$N
\e(B <code>.htaccess</code>
151 \e$B$H$$$&%U%!%$%k$r;2>H$7$^$9!#$=$N%U%!%$%k$rH/8+$7$?$i!"
\e(B
152 \e$B$=$NCf$GH/8+$5$l$?%G%#%l%/%F%#%V$,E,MQ$5$l$^$9!#
\e(B
154 <code>.htaccess</code>
\e$B%U%!%$%k$O!"
\e(B
155 <code class="directive"><a href="../mod/core.html#allowoverride">AllowOverride</a></code>
156 \e$B%G%#%l%/%F%#%V$N;XDj$K$h$j;H$($k$h$&$K$J$j$^$9!#
\e(B
157 <code class="directive"><a href="../mod/core.html#allowoverride">AllowOverride</a></code>
158 \e$B%G%#%l%/%F%#%V$O!"
\e(B<code>.htaccess</code>
159 \e$B%U%!%$%k$G!"$I$N%?%$%W$N%G%#%l%/%F%#%V$,@_Dj$G$-$k$+!"
\e(B
160 \e$B$"$k$$$OA4$/;XDj$G
\e(B
\e$B$-$J$$$+$r;XDj$7$^$9!#
\e(B
161 \e$B$3$NL\E*$KI,MW$K$J$k%G%#%l%/%F%#%V$r;HMQ$G$-$k$h$&$K$9$k$K$O!"
\e(B
162 \e$B%5!<%P$N%a%$%s$N@_Dj$G!"0J2<$N@_Dj$,I,MW$K$J$j$^$9
\e(B:</p>
164 <div class="example"><p><code>
165 AllowOverride Options
168 <p><code>.htaccess</code>
169 \e$B%U%!%$%k$G$O!"<!$N%G%#%l%/%F%#%V$,I,MW$H$J$j$^$9
\e(B:</p>
171 <div class="example"><p><code>
175 <p>
\e$B$3$N@_Dj$G$O!"$3$N%G%#%l%/%H%j$K$*$1$k
\e(B CGI
176 \e$B%W%m%0%i%`$N<B9T$r5v2D$9$k$h$&
\e(B Apache
\e$B$KEA$($^$9!#
\e(B</p>
178 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
179 <div class="section">
180 <h2><a name="writing" id="writing">CGI
\e$B%W%m%0%i%`$r=q$/
\e(B</a></h2>
183 <p>
\e$B!VDL>o$N!W%W%m%0%i%_%s%0$H
\e(B CGI
184 \e$B%W%m%0%i%_%s%0$N4V$K$O<g$KFs$D$N0c$$$,$"$j$^$9!#
\e(B</p>
186 <p>
\e$B0l$D$O!"
\e(BCGI
\e$B%W%m%0%i%`$N$9$Y$F$N=PNO$K$O
\e(B MIME-type
187 \e$B%X%C%@$rIU$1$J$1$l$P$J$j$^$;$s!#
\e(B
188 \e$B$3$l$O$I$N$h$&$J<oN`$N%3%s%F%s%D$r<u$1<h$C$F$$$k$+$r%/%i%$%"%s%H$K<($9
\e(B
189 HTTP
\e$B%X%C%@$G$9!#$[$H$s$I$N>l9g$G$O!"<!$N$h$&$K=PNO$7$^$9
\e(B:</p>
191 <div class="example"><p><code>
192 Content-type: text/html
195 <p>
\e$B$b$&0l$D$O!"=PNO$r
\e(B HTML
196 \e$B$+!"%V%i%&%6$,I=<($9$k$3$H$,$G$-$k2?$+B>$N7A<0$K$9$kI,MW$,$"$j$^$9!#
\e(B
197 \e$BBgDq$N>l9g$O
\e(B HTML
\e$B$G$7$g$&$,!"
\e(BGIF
\e$B%$%a!<%8$dB>$NHs
\e(B HTML
198 \e$B%3%s%F%s%D$r=PNO$9$k
\e(B CGI
\e$B%W%m%0%i%`$r=q$/$3$H$b$"$k$G$7$g$&!#
\e(B</p>
200 <p>
\e$B$3$l$iFsE@0J30$G$O!"
\e(BCGI
\e$B%W%m%0%i%`$r=q$/$3$H$O!"
\e(B
201 \e$B$"$J$?$,=q$$$F$$$kB>$N%W%m%0%i%`$H$h$/;w$F$$$k$G$7$g$&!#
\e(B</p>
203 <h3><a name="firstcgi" id="firstcgi">
\e$B:G=i$N
\e(B CGI
\e$B%W%m%0%i%`
\e(B</a></h3>
206 <p>
\e$B<!$K<($9$N$O!"%V%i%&%6$K
\e(B 1
\e$B9T0u;z$9$k
\e(B CGI
207 \e$B%W%m%0%i%`$NNc$G$9!#0J2<$rF~NO$7!"
\e(B<code>first.pl</code>
208 \e$B$H$$$&%U%!%$%k$KJ]B8$7!"$=$l$r
\e(B <code>cgi-bin</code>
209 \e$B%G%#%l%/%H%j$KCV$$$F$/$@$5$$!#
\e(B</p>
211 <div class="example"><p><code>
212 #!/usr/bin/perl<br />
213 print "Content-type: text/html\n\n";<br />
214 print "Hello, World.";
217 <p>Perl
\e$B$K@:DL$7$F$$$J$/$F$b!"
\e(B
218 \e$B2?$,5/$3$k$+$rM}2r$9$k$3$H$O$G$-$k$G$7$g$&!#
\e(B1
\e$B9TL\$O!"
\e(B
219 <code>/usr/bin/perl</code>
\e$B$G8+$D$1$i$l$k%$%s%?%W%j%?$K
\e(B
220 \e$B$3$N%U%!%$%k$r6!5k$9$k$3$H$G$3$N%W%m%0%i%`$,<B9T$5$l$k$3$H$r
\e(B
221 Apache
\e$B$K
\e(B (
\e$B%7%'%k>e$G<B9T$7$h$&$H$7$F$$$k$J$i$P!"$=$N%7%'%k$K
\e(B )
222 \e$B<($7$^$9!#
\e(B2
\e$B9TL\$O!"A0=R$7$?$H$*$j
\e(B content-type
\e$B$NDj5A$r0u;z$7$^$9!#
\e(B
223 \e$B$3$l$K$OI|5"2~9T$NFs$D$NAH$r8e$KIU2C$7$^$9!#
\e(B
224 \e$B$3$l$K$h$j!"%X%C%@$N=*$j$K6u9T$,CV$+$l!"
\e(BHTTP
225 \e$B%X%C%@$N=*$j$H%\%G%#$N;O$^$j$r<($7$^$9!#
\e(B3
\e$B9TL\$O!"
\e(B"Hello, World."
226 \e$B$H$$$&J8;zNs$r0u;z$7!"$3$l$G=*$j$H$J$j$^$9!#
\e(B</p>
228 <p>
\e$B9%$_$N%V%i%&%6$r3+$-!"%"%I%l%9
\e(B</p>
230 <div class="example"><p><code>
231 http://www.example.com/cgi-bin/first.pl
234 <p>
\e$B$"$k$$$O%U%!%$%k$rCV$$$?%m%1!<%7%g%s$r;XDj$9$k$H!"
\e(B
235 <code>Hello, World.</code>
236 \e$B$H$$$&
\e(B 1
\e$B9T$,%V%i%&%6%&%#%s%I$K8=$l$k$G$7$g$&!#
\e(B
237 \e$B$=$l$O$"$^$j%(%-%5%$%F%#%s%0$J$3$H$G$O$"$j$^$;$s!#
\e(B
238 \e$B$7$+$7!"$3$l$,$&$^$/F0$1$P!"
\e(B
239 \e$BB>$N$I$N$h$&$J$b$N$G$bF0$+$9$3$H$,$G$-$k$h$&$K$J$j$^$9!#
\e(B</p>
241 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
242 <div class="section">
243 <h2><a name="troubleshoot" id="troubleshoot">
\e$B$7$+$7!"$^$@F0$+$J$$
\e(B !</a></h2>
246 <p>
\e$B%&%'%V$+$i
\e(B CGI
\e$B%W%m%0%i%`$X$N%"%/%;%9$r9T$J$C$?$H$-!"
\e(B
247 \e$B%V%i%&%6$G8+$k2DG=@-$,$"$k;M$D$N4pK\E*$J$3$H$,$"$j$^$9
\e(B:</p>
250 <dt>CGI
\e$B%W%m%0%i%`$N=PNO
\e(B</dt>
251 <dd>
\e$BAG@2$i$7$$
\e(B !
\e$B$=$l$O$9$Y$F$,$&$^$/F0$$$?$3$H$r0UL#$7$^$9!#
\e(B</dd>
253 <dt>CGI
\e$B%W%m%0%i%`$N%=!<%9%3!<%I!"$^$?$O
\e(B "POST Method Not Allowed"
254 \e$B$H$$$&%a%C%;!<%8
\e(B</dt>
255 <dd>
\e$B$3$l$O!"
\e(BCGI
\e$B%W%m%0%i%`$r=hM}$G$-$k$h$&
\e(B Apache
256 \e$B$rE,@Z$K@_Dj$7$F$$$J$+$C$?$3$H$r0UL#$7$^$9!#
\e(B<a href="#configuringapachetopermitcgi">
\e$B!V
\e(BCGI
\e$B$r5v2D$9$k$h$&$K
\e(B
257 Apache
\e$B$r@_Dj$9$k!W
\e(B</a>
\e$B$N>O$rFI$_D>$7!"
\e(B
258 \e$B$"$J$?$,2?$r4V0c$($?$+$rC5$7$F$_$F$/$@$5$$!#
\e(B
261 <dt>
\e$B%a%C%;!<%8$,
\e(B "Forbidden"
\e$B$G;O$^$C$F$$$k
\e(B</dt>
262 <dd>
\e$B$3$l$O%Q!<%_%C%7%g%s$NLdBj$H$$$&
\e(B
\e$B$3$H$r0UL#$7$^$9!#
\e(B
263 <a href="#errorlogs">Apache
\e$B$N%(%i!<%m%0
\e(B</a>
\e$B$H!"8e=R$N
\e(B<a href="#filepermissions">
\e$B!V%U%!%$%k$N%Q!<%_%C%7%g%s!W
\e(B</a>
264 \e$B$N>O$r%A%'%C%/$7$F$/$@$5$$!#
\e(B
267 <dt>"Internal Server Error"
\e$B$H$$$&%a%C%;!<%8
\e(B</dt>
268 <dd><a href="#errorlogs">Apache
269 \e$B$N%(%i!<%m%0
\e(B</a>
\e$B$r%A%'%C%/$9$k$H!"
\e(B"Premature end of script headers"
270 \e$B$H$$$&%m%0$,5-O?$5$l$F$$$k$H;W$$$^$9!#$=$7$F!"$*$=$i$/
\e(B CGI
271 \e$B%W%m%0%i%`$K$h$C$F@8@.$5$l$?%(%i!<%a%C%;!<%8$b5-O?$5$l$F$$$k$G$7$g$&!#
\e(B
272 \e$B$3$N>l9g!"
\e(BCGI
\e$B%W%m%0%i%`$,E,@Z$J
\e(B
273 HTTP
\e$B%X%C%@$r=PNO$G$-$J$$860x$rCN$k$?$a$K!"
\e(B
274 \e$B0J2<$N3F>O$G%A%'%C%/$7$F$_$F$/$@$5$$!#
\e(B</dd>
277 <h3><a name="permissions" id="permissions">
\e$B%U%!%$%k$N%Q!<%_%C%7%g%s
\e(B</a></h3>
280 <p>
\e$B%5!<%P$O$"$J$?$N8"8B$G<B9T$5$l$F$$$J$$$N$rK:$l$J$$$h$&$K!#
\e(B
281 \e$B$D$^$j!"5/F0$9$k$H$-!"%5!<%P$OFC8"$r$b$?$J$$%f!<%6
\e(B -
\e$BDL>o
\e(B <code>nobody</code>
282 \e$B$d
\e(B <code>www</code>
\e$B$N8"8B$G<B9T$5$l$^$9!#$7$?$,$C$F!"$"$J$?$,=jM-$9$k
\e(B
283 \e$B%U%!%$%k$r<B9T$9$k$K$OJL$N%Q!<%_%C%7%g%s$,I,MW$H$J$j$^$9!#
\e(B
284 \e$BDL>o!"
\e(B<code>nobody</code>
\e$B$,<B9T$9$k$N$K==J,$J%Q!<%_%C%7%g%s$rM?$($kJ}K!$O!"
\e(B
285 \e$B%U%!%$%k$KC/$G$b<B9T2DG=$H$9$k%Q!<%_%C%7%g%s$rM?$($k$3$H$G$9
\e(B:</p>
287 <div class="example"><p><code>
291 <p>
\e$B$^$?!"$b$7$"$J$?$N%W%m%0%i%`$,B>$N%U%!%$%k$rFI$_=q$-$9$k$J$i$P!"
\e(B
292 \e$B$=$l$i$N%U%!%$%k$O!"$3$l$,2DG=$H$J$k@5$7$$%Q!<%_%C%7%g%s
\e(B
293 \e$B$r;}$C$F$$$kI,MW$,$"$j$^$9!#
\e(B</p>
295 <p>
\e$B$3$l$KBP$9$kNc30$O!"%5!<%P$,
\e(B <a href="../suexec.html">suexec</a>
296 \e$B$r;HMQ$9$k$h$&@_Dj$5$l$F$$$k>l9g$G$9!#
\e(Bsuexec
\e$B$O!"
\e(BCGI
297 \e$B%W%m%0%i%`$,CV$+$l$F$$$k%P!<%A%c%k%[%9%H$^$?$O%f!<%6$N
\e(B
298 \e$B%[!<%`%G%#%l%/%H%j$K$h$C$F!"0[$J$k%f!<%68"8B$G<B9T$5$l$k$h$&$K$7$^$9!#
\e(B
299 suexec
\e$B$O$H$F$b87$7$$%Q!<%_%C%7%g%s$N%A%'%C%/$,$"$j!"
\e(B
300 \e$B$=$N%A%'%C%/$rDL2a$G$-$J$$$H
\e(B "Internal Server Error"
\e$B$H$J$j!"$=$N
\e(B
301 CGI
\e$B%W%m%0%i%`$N<B9T$O<:GT$7$^$9!#
\e(B
302 \e$B$3$N>l9g!"$I$N%;%-%e
\e(B
\e$B%j%F%#%A%'%C%/$,<:GT$7$F$$$k$N$+$rCN$k$?$a$K
\e(B
303 suexec
\e$B%m%0%U%!%$%k$r%A%'%C%/$9$kI,MW$,$"$j$^$9!#
\e(B</p>
306 <h3><a name="pathinformation" id="pathinformation">
\e$B%Q%9>pJs
\e(B</a></h3>
309 <p>
\e$B%3%^%s%I%i%$%s$+$i%W%m%0%i%`$r<B9T$9$k$H$-!"
\e(B
310 \e$B0U<1$7$J$/$F$b%7%'%k$KEO$5$l$k>pJs$,$"$j$^$9!#
\e(B
311 \e$BNc$($P!";2>H$9$k%U%!%$%k$N$?$a$K$I$3$r8!:w$7$?$i$h$$$+$r
\e(B
312 \e$B%7%'%k$KEA$($k%Q%9$,$"$j$^$9!#
\e(B</p>
314 <p>
\e$B%W%m%0%i%`$,
\e(B CGI
\e$B%W%m%0%i%`$H$7$F%&%'%V%5!<%P$K$h$C$F<B9T$5$l$k$H$-!"
\e(B
315 \e$B$=$l$O%Q%9$r;}$A$^$;$s!#
\e(BCGI
\e$B%W%m%0%i%`Fb$G8F$S=P$9$"$i$f$k%W%m%0%i%`
\e(B
316 (
\e$BNc$($P!"
\e(B'sendmail'
\e$B$N$h$&$J$b$N
\e(B)
\e$B$O!"
\e(B
317 \e$B%U%k%Q%9$G;XDj$9$kI,MW$,$"$k$G$7$g$&!#$=$l$K$h$j!"
\e(BCGI
318 \e$B%W%m%0%i%`$r<B9T$7$h$&$H$7$?$H$-!"
\e(B
319 \e$B%7%'%k$O$=$N$h$&$J%W%m%0%i%`$r8+$D$1$k$3$H$,$G$-$^$9!#
\e(B</p>
321 <p>
\e$BF1MM$J$3$H$O!"%9%/%j%W%H$N%$%s%?%W%j%?
\e(B (
\e$B$7$P$7$P
\e(B <code>perl</code>)
322 \e$B$X$N%Q%9$G!"
\e(BCGI
\e$B%W%m%0%i%`$N
\e(B 1
\e$B9TL\$K<!$N$h$&$K<($5$l$^$9
\e(B:</p>
324 <div class="example"><p><code>
328 <p>
\e$B$3$l$,%$%s%?!<%W%j%?$X$N<B:]$N%Q%9$G$"$k$3$H$r3N<B$K$7$F$*$-$^$9!#
\e(B</p>
331 <h3><a name="syntaxerrors" id="syntaxerrors">
\e$B9=J8%(%i!<
\e(B</a></h3>
335 \e$B%W%m%0%i%`$,<:GT$9$k$N$OBgDq!"%W%m%0%i%`<+?H$KLdBj$,$"$k>l9g$G$9!#
\e(B
336 \e$B0lEY
\e(B CGI
\e$B$N;H$$J}$rM}2r$7!"A0=R$NFs$D$N8m$j$rHH$7$F$$$J$$$J$i$P!"
\e(B
337 \e$B$^$:4V0c$$$J$/$=$&$G$7$g$&!#%V%i%&%6$rDL$7$F%F%9%H$r9T$&A0$KI,$:!"
\e(B
338 \e$B%3%^%s%I%i%$%s$+$i%W%m%0%i%`$N<B9T$r;n$7$J$5$$!#
\e(B
339 \e$B$3$l$K$h$j!"BgDq$NLdBj$,5/$3$i$J$/$J$j$^$9!#
\e(B</p>
342 <h3><a name="errorlogs" id="errorlogs">
\e$B%(%i!<%m%0
\e(B</a></h3>
345 <p>
\e$B%(%i!<%m%0$OM'C#$G$9!#
\e(B
346 \e$BA4$F$N$&$^$/$$$+$J$$$3$H$O!"%(%i!<%m%0$K%a%C%;!<%8$r@8@.$7$^$9!#
\e(B
347 \e$BI,$:$=$l$r:G=i$K8+$k$Y$-$G$9!#
\e(B
348 \e$B$b$7!"$"$J$?$,%&%'%V%5%$%H$r<g:E$7$F$$$k>l=j$,
\e(B
349 \e$B%(%i!<%m%0$N;2>H$r5v$7$F$$$J$$$J$i$P!"$-$C$HB>$N%5%$%H$G<g:E$9$k$Y$-$G$9!#
\e(B
350 \e$B%(%i!<%m%0$NFI$_J}$r3X$V$3$H$G!"$[$H$s$IA4$F$NLdBj$,?WB.$K3NG'$5$l!"
\e(B
351 \e$B?WB.$K2r7h$5$l$k$H$$$&$3$H$,
\e(B
\e$BJ,$+$k$G$7$g$&!#
\e(B</p>
353 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
354 <div class="section">
355 <h2><a name="behindscenes" id="behindscenes">
\e$BN"$G2?$,5/$3$C$F$$$k$N$+
\e(B?</a></h2>
358 <p>CGI
\e$B%W%m%0%i%_%s%0$K=,=O$9$k$H!"
\e(B
359 \e$BN"$G5/$3$C$F$$$k$3$H$K$D$$$F99$KM}2r$9$k$3$HLr$KN)$A$^$9!#
\e(B
360 \e$B%V%i%&%6$H%5!<%P$,$I$N$h$&$KAj8_DL?.$9$k$+$K$D$$$F$OFC$K$=$&$G$9!#
\e(B
361 \e$B$J$<$J$i!"
\e(B"Hello, World."
362 \e$B$r0u;z$9$k%W%m%0%i%`$r=q$/$3$H$O$*$*$$$K7k9=$G$9$,!"
\e(B
363 \e$B$=$l$OFC$KM-1W$G$O$"$j$^$;$s!#
\e(B</p>
365 <h3><a name="env" id="env">
\e$B4D6-JQ?t
\e(B</a></h3>
368 <p>
\e$B4D6-JQ?t$O!"
\e(B
369 \e$B$"$J$?$,%3%s%T%e!<%?$r;H$&$H$-$KJU$j$KB8:_$7$F$$$kCM$G$9!#
\e(B
370 \e$B$=$l$i$O!"%Q%9
\e(B
371 (
\e$B%3%^%s%I$r%?%$%W$7$?$H$-$K<B9T$9$k<B:]$N%U%!%$%k$rC5$7=P$9$H$3$m
\e(B)
\e$B!"
\e(B
372 \e$B%f!<%6L>!"C<Kv7?$J$I$N$h$&$JJXMx$J$b$N$G$9!#
\e(B
373 \e$BDL>o!"IaCJ;HMQ$7$F$$$k4D6-JQ?t$N40A4$J%j%9%H$rD4$Y$k$K$O!"
\e(B
374 \e$B%3%^%s%I%W%m%s%W%H$G
\e(B <code>env</code>
\e$B$rF~NO$7$^$9!#
\e(B</p>
376 <p>CGI
\e$B$N=hM}Cf!"%5!<%P$H%V%i%&%6$b4D6-JQ?t$r@_Dj$7!"
\e(B
377 \e$B$=$l$K$h$jAj8_$KDL?.$9$k$3$H$,$G$-$k$h$&$K$J$j$^$9!#
\e(B
378 \e$B$=$N4D6-JQ?t$O!"%V%i%&%6%?%$%W
\e(B (Netscape, IE, Lynx)
\e$B!"%5!<%P%?%$%W
\e(B
379 (Apache, IIS, WebSite)
\e$B!"<B9T$5$l$F$$$k
\e(B CGI
380 \e$B%W%m%0%i%`$NL>A0$J$I$G$9!#
\e(B</p>
382 <p>
\e$B$3$l$i$NJQ?t$O
\e(B CGI
\e$B%W%m%0%i%^$,;HMQ$G$-$^$9!#
\e(B
383 \e$B$=$7$F!"$=$l$O%/%i%$%"%s%H$H%5!<%P$NDL?.$NOC$NH>J,$G$9!#
\e(B
384 \e$BI,MW$JJQ?t$N40A4$J%j%9%H$O
\e(B <a href="http://hoohoo.ncsa.uiuc.edu/cgi/env.html">http://hoohoo.ncsa.uiuc.edu/cgi/env.html</a>
\e$B$K$"$j$^$9!#
\e(B</p>
386 <p>
\e$B0J2<$NC1=c$J
\e(B Perl CGI
387 \e$B%W%m%0%i%`$O!"EO$5$l$kA4$F$N4D6-JQ?t$rI=<($7$^$9!#F1MM$N%W%m%0%i%`$O!"
\e(B
388 Apache
\e$B%G%#%9%H%j%S%e!<%7%g%s$N
\e(B <code>cgi-bin</code>
389 \e$B%G%#%l%/%H%j$KFs$D4^$^$l$F$$$^$9!#
\e(B
390 \e$B$$$/$D$+$NJQ?t$,I,?\$G$"$j!"$$$/$D$+$OG$0U$G$"$k$3$H$KCm0U$7$F$/$@$5$$!#
\e(B
391 \e$B$=$7$F!"8x<0$N%j%9%H$K$O$J$$$$$/$D$+$NJQ?t$,I=<($5$l$F$$$k$+$b$7$l$^$;$s!#
\e(B
392 \e$B$5$i$K!"
\e(BApache
\e$B$O%G%U%)%k%H$GMQ0U$5$l$F$$$k4pK\E*$J$b$N$K
\e(B
393 <a href="../env.html">
\e$B$"$J$?<+?H$N4D6-JQ?t$r2C$($k
\e(B</a>
\e$B$?$a$N!"
\e(B
394 \e$BB?
\e(B
\e$B$/$N0[$J$kJ}K!$rMQ0U$7$F$7$^$9!#
\e(B</p>
396 <div class="example"><p><code>
397 #!/usr/bin/perl<br />
398 print "Content-type: text/html\n\n";<br />
399 foreach $key (keys %ENV) {<br />
400 <span class="indent">
401 print "$key --> $ENV{$key}<br>";<br />
407 <h3><a name="stdin" id="stdin">STDIN
\e$B$H
\e(B STDOUT</a></h3>
410 <p>
\e$B%5!<%P$H%/%i%$%"%s%H4V$N$b$&0l$D$NDL?.$O!"I8=`F~NO
\e(B
411 (<code>STDIN</code>)
\e$B$HI8=`=PNO
\e(B (<code>STDOUT</code>)
412 \e$B$rDL$8$F9T$J$o$l$^$9!#DL>o$NJ8L.$K$*$$$F!"
\e(B<code>STDIN</code>
413 \e$B$O%-!<%\!<%I$d%W%m%0%i%`$,F0:n$9$k$?$a$KM?$($i$l$k%U%!%$%k$r0UL#$7!"
\e(B
414 <code>STDOUT</code>
\e$B$ODL>o%3%s%=!<%k$^$?$O%9%/%j!<%s$r0UL#$7$^$9!#
\e(B</p>
416 <p>
\e$B%&%'%V%U%)!<%`$+$i
\e(B CGI
\e$B%W%m%0%i%`$X
\e(B<code>POST</code>
417 \e$B$7$?$H$-!"%U%)!<%`$N%G!<%?$OFCJL$J%U%)!<%^%C%H$GB+$M$i$l!"
\e(B
418 <code>STDIN</code>
\e$B$rDL$7$F!"
\e(BCGI
\e$B%W%m%0%i%`$K0z$-EO$5$l$^$9!#
\e(B
419 \e$B%W%m%0%i%`$O%G!<%?$,%-!<%\!<%I
\e(B
420 \e$B$b$7$/$O%U%!%$%k$+$iMh$F$$$?$+$N$h$&$K=hM}$9$k$3$H$,$G$-$^$9!#
\e(B</p>
422 <p>
\e$B!VFCJL$J%U%)!<%^%C%H!W$O$H$F$bC1=c$G$9!#%U%#!<%k%IL>$HCM$O%$%3!<%k
\e(B
423 (=)
\e$B$G7k$P$l$^$9!#$=$7$FCM$NAH$O%"%s%Q%5%s%I
\e(B (&)
\e$B$G7k$P$l$^$9!#
\e(B
424 \e$B%9%Z!<%9!"%"%s%Q%5%s%I!"%$%3!<%k$N$h$&$JLLE]$JJ8;z$O!"
\e(B
425 \e$B$=$l$i$,F0:n$rBLL\$K$7$J$$$h$&$K$=$NJ8;z$KAjEv$9$k
\e(B 16
\e$B?J$KJQ49$5$l$^$9!#
\e(B
426 \e$BA4%G!<%?J8;zNs$O!"0J2<$N$h$&$K$J$j$^$9
\e(B:
429 <div class="example"><p><code>
430 name=Rich%20Bowen&city=Lexington&state=KY&sidekick=Squirrel%20Monkey
433 <p>
\e$B;~!9!"$3$N$h$&$JJ8;zNs$,
\e(B URL
434 \e$B$KIU2C$5$l$k$N$r8+$k$G$7$g$&!#$=$N>l9g!"%5!<%P$O
\e(B
435 <code>QUERY_STRING</code>
\e$B$H$$$&4D6-JQ?t$K$=$NJ8;zNs$rF~$l$^$9!#$=$l$O
\e(B
436 <code>GET</code>
\e$B%j%/%(%9%H$H8F$P$l$^$9!#
\e(B
437 HTML
\e$B%U%)!<%`$G$O!"%G!<%?$rEO$9$?$a$K
\e(B <code>GET</code>
\e$B$H
\e(B
438 <code>POST</code>
\e$B$N$I$A$i$r;HMQ$9$k$+$r!"
\e(B<code>FORM</code>
\e$B%?%0$N
\e(B
439 <code>METHOD</code>
\e$BB0@-$N@_Dj$G;XDj$7$^$9!#
\e(B</p>
441 <p>CGI
\e$B%W%m%0%i%`$O!"$=$NJ8;zNs$rLr$KN)$D>pJs$KJ,3d$9$k@UG$$,$"$j$^$9!#
\e(B
442 \e$B9,$$$K$b!"$=$N%G!<%?=hM}$r=u$1$k%i%$%V%i%j$d%b%8%e!<%k$,B8:_$7$^$9!#
\e(B
443 \e$B$3$l$i$O!"
\e(BCGI
\e$B%W%m%0%i%`$NB>$NLL$G$bF1MM$KLr$KN)$A$^$9!#
\e(B</p>
445 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
446 <div class="section">
447 <h2><a name="libraries" id="libraries">CGI
\e$B%b%8%e!<%k
\e(B/
\e$B%i%$%V%i%j
\e(B</a></h2>
450 <p>CGI
\e$B%W%m%0%i%`$r=q$/$H$-!"LLE]$J;E;v$NBgItJ,$r$7$F$/$l$k
\e(B
451 \e$B%3!<%I%i%$%V%i%j$^$?$O%b%8%e!<%k$r;H$&$3$H$r8!F$$9$Y$-$G$9!#
\e(B
452 \e$B$3$l$O%(%i!<$r8:$i$7!"Aa$$3+H/$K$D$J$,$j$^$9!#
\e(B</p>
454 <p>Perl
\e$B$G
\e(B CGI
\e$B%W%m%0%i%`$r=q$$$F$$$k$J$i!"%b%8%e!<%k$O
\e(B <a href="http://www.cpan.org/">CPAN</a>
\e$B$GDs6!$5$l$F$$$^$9!#
\e(B
455 \e$B$3$NL\E*$N$?$a$N:G$bIa5Z$7$F$$$k%b%8%e!<%k$O
\e(B <code>CGI.pm</code>
\e$B$G$9!#
\e(B
456 <code>CGI::Lite</code>
\e$B$b8!F$$7$^$7$g$&!#$3$l$O!"$[$H$s$I$N%W%m%0%i%`
\e(B
457 \e$B$K$*$$$FI,MW$H$9$k$9$Y$F$N5!G=$N:G>.%;%C%H$N<BAu$G$9!#
\e(B</p>
459 <p>C
\e$B$G
\e(B CGI
\e$B%W%m%0%i%`$r=q$$$F$$$k$J$i!"$$$m$$$m$J
\e(B
460 \e$B%*%W%7%g%s$,$"$j$^$9!#$3$l$i$NFb$N0l$D$O
\e(B <a href="http://www.boutell.com/cgic/">http://www.boutell.com/cgic/</a>
461 \e$B$GDs6!$5$l$F$$$k
\e(B <code>CGIC</code>
\e$B%i%$%V%i%j$G$9!#
\e(B</p>
462 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
463 <div class="section">
464 <h2><a name="moreinfo" id="moreinfo">
\e$B99$J$k>pJs
\e(B</a></h2>
467 <p>CGI
\e$B$K4X$9$k>pJs$O%&%'%V$G?tB?$/Ds6!$5$l$F$$$^$9!#
\e(BCGI
468 \e$B$NLdBj$K$D$$$F$O
\e(B Usenet
\e$B$N
\e(B <a href="news:comp.infosystems.www.authoring.cgi">comp.infosystems.www.authoring.cgi</a>
\e$B$G!"
\e(B
469 \e$BB>$N%f!<%6$HO@5D$9$k$3$H$,$G$-$^$9!#
\e(BHTML Writers Guide
\e$B$N
\e(B
470 -servers
\e$B%a!<%j%s%0%j%9%H$O!"$"$J$?$N<ALd$K2sEz$7$F$/$l$k0NBg$J%j%=!<%9$G$9!#
\e(B
471 <a href="http://www.hwg.org/lists/hwg-servers/">http://www.hwg.org/lists/hwg-servers/</a>
472 \e$B$G99$KB?$/$rC5$7=P$9$3$H$,$G$-$^$9!#
\e(B</p>
474 <p>
\e$B$=$7$F$b$A$m$s!"$*$=$i$/
\e(B CGI
475 \e$B%W%m%0%i%`$NF0:n$K4X$9$k>\:Y$NA4$F$,5-=R$5$l$F$$$k
\e(B
476 CGI
\e$B$N;EMM$rFI$`$Y$-$G$9!#%*%j%8%J%k%P!<%8%g%s$r
\e(B
477 <a href="http://hoohoo.ncsa.uiuc.edu/cgi/interface.html">NCSA</a>
478 \e$B$G!"%"%C%W%G!<%H$5$l$?%I%i%U%H$r
\e(B
479 <a href="http://web.golux.com/coar/cgi/">Common Gateway Interface RFC
480 \e$B%W%m%8%'%/%H
\e(B</a>
\e$B$G;2>H$9$k$3$H$,$G$-$^$9!#
\e(B</p>
482 <p>CGI
\e$B$NLdBj$K$D$$$F!"2C$o$C$F$$$k%a!<%j%s%0%j%9%H$^$?$O%K%e!<%9
\e(B
483 \e$B%0%k!<%W$K<ALd$rAw$k$H$-!"5/$3$C$?$b$N!"5/$3$C$F$[$7$$$3$H!"
\e(B
484 \e$B<B:]$K5/$3$C$?$3$H$,$I$&0c$&$+!";HMQ$7$F$$$k%5!<%P!"
\e(B
485 CGI
\e$B%W%m%0%i%`$r5-=R$7$F$$$k8@8l$K4X$9$k==J,$J>pJs$H!"
\e(B
486 \e$B2DG=$G$"$l$PLdBj$N%3!<%I$rDs6!$9$k$h$&$K$7$F$/$@$5$$!#
\e(B
487 \e$B$=$&$9$k$3$H$G!"LdBj$,$h$j4VC1$K8+$D$+$k$h$&$K$J$j$^$9!#
\e(B</p>
489 <p>Apache
\e$B$N%=!<%9%3!<%I$K$*$$$FLdBj$rH/8+$7$?$3$H$r3N?.$7$F$$$J$$8B$j!"
\e(B
490 CGI
\e$B$NLdBj$K4X$9$k<ALd$r
\e(B Apache
491 \e$B%P%0%G!<%?%Y!<%9$K
\e(B<strong>
\e$BAw$k$Y$-$G$J$$
\e(B</strong>
492 \e$B$3$H$KCmL\$7$F$/$@$5$$!#
\e(B</p>
494 <div class="bottomlang">
495 <p><span>Available Languages: </span><a href="../en/howto/cgi.html" hreflang="en" rel="alternate" title="English"> en </a> |
496 <a href="../ja/howto/cgi.html" title="Japanese"> ja </a></p>
497 </div><div id="footer">
498 <p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
499 <p class="menu"><a href="../mod/">
\e$B%b%8%e!<%k
\e(B</a> | <a href="../mod/directives.html">
\e$B%G%#%l%/%F%#%V
\e(B</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">
\e$BMQ8l
\e(B</a> | <a href="../sitemap.html">
\e$B%5%$%H%^%C%W
\e(B</a></p></div>