mod_include.html.ja.jis revision 47725827c01921d77eb1c00451310e623c85a9fc
<?xml version="1.0" encoding="ISO-2022-JP"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>mod_include - Apache HTTP $B%5!<%P(B</title>
<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<body>
<div id="page-header">
<p class="menu"><a href="/mod/">$B%b%8%e!<%k(B</a> | <a href="/mod/directives.html">$B%G%#%l%/%F%#%V(B</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">$BMQ(B$B8l(B</a> | <a href="/sitemap.html">$B%5%$%H%^%C%W(B</a></p>
<p class="apache">Apache HTTP $B%5!<%P(B $B%P!<%8%g%s(B 2.1</p>
<div id="path">
<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP $B%5!<%P(B</a> > <a href="http://httpd.apache.org/docs-project/">$B%I%-%e%a%s%F!<%7%g%s(B</a> > <a href="../">$B%P!<%8%g%s(B 2.1</a> > <a href="./">$B%b%8%e!<%k(B</a></div>
<div id="page-content">
<div id="preamble"><h1>Apache $B%b%8%e!<%k(B mod_include</h1>
<div class="toplang">
<p><span>Available Languages: </span><a href="/en/mod/mod_include.html" hreflang="en" rel="alternate" title="English"> en </a> |
</div>
<table class="module"><tr><th><a href="module-dict.html#Description">$B@bL@(B:</a></th><td>$B%5!<%P$,%Q!<%9$9$k(B html $B%I%-%e%a%s%H(B (Server Side Includes)</td></tr>
<tr><th><a href="module-dict.html#ModuleIdentifier">$B%b%8%e!<%k<1JL;R(B:</a></th><td>include_module</td></tr>
<tr><th><a href="module-dict.html#SourceFile">$B%=!<%9%U%!%$%k(B:</a></th><td>mod_include.c</td></tr>
<tr><th><a href="module-dict.html#Compatibility">$B8_49@-(B:</a></th><td>Apache 2.0 $B$+$i=PNO%U%#%k%?$H$7$F<BAu$5$l$^$7$?!#(B</td></tr></table>
<h3>$B35MW(B</h3>
<p>$B$3$N%b%8%e!<%k$O%U%!%$%k$,%/%i%$%"%s%H$KAw$i$l$kA0$K=hM}$9$k%U%#%k%?$r(B
$BDs6!$7$^$9!#=hM}$NFbMF$O(B<dfn>$BMWAG(B</dfn>$B$H8F$P$l$kFCJL$J7A<0$N(B SGML $B%3%a%s%H$K$h$j(B
$B@)8f$5$l$^$9!#$3$l$i$NMWAG$O>r7oJ,4t$d!"B>$N%U%!%$%k$d(B
$B%W%m%0%i%`$N=PNO$N<h$j9~$_!"4D6-JQ?t$N@_Dj$dI=<($r9T$J$&$3$H$,(B
$B$G$-$^$9!#(B</p>
</div>
<div id="quickview"><h3 class="directives">$B%G%#%l%/%F%#%V(B</h3>
<ul id="toc">
</ul>
<h3>$B%H%T%C%/(B</h3>
<ul id="topics">
<li><img alt="" src="/images/down.gif" /> <a href="#enabling">Server-Side Includes $B$rM-8z$K$9$k(B</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#pathinfo">$B%5!<%P%5%$%I%$%s%/%k!<%I(B (SSI) $B$G$N(B PATH_INFO</a></li>
</ul><h3>$B;2>H(B</h3>
<ul class="seealso">
</ul></div>
<div class="section">
<h2><a name="enabling" id="enabling">Server-Side Includes $B$rM-8z$K$9$k(B</a></h2>
<p>Server Side Includes $B$O(B <code>INCLUDES</code>
Server-side include $B$N%G%#%l%/%F%#%V$r4^$`%I%-%e%a%s%H$N3HD%;R$,(B
.shtml $B$N>l9g!"0J2<$N%G%#%l%/%F%#%V$G$O(B Apache $B$,$=$l$i$r(B
MIME $B%?%$%W$r3d$jEv$F$^$9(B:</p>
<div class="example"><p><code>
AddOutputFilter INCLUDES .shtml
</code></p></div>
<p>$B0J2<$N%G%#%l%/%F%#%V$O(B shtml $B%U%!%$%k$N$"$k%G%#%l%/%H%j$G;XDj$5$l$F$$$k(B
$BI,MW$,$"$j$^$9(B ($BDL>o$O(B <code class="directive"><a href="/mod/core.html#directory"><Directory></a></code> $B%;%/%7%g%s$G;XDj$7$^$9$,!"(B
<code class="directive"><a href="/mod/core.html#allowoverride">AllowOverride</a></code> <code>Options</code>
$B$,@_Dj$5$l$F$$$k$H!"(B<code>.htaccess</code> $B%U%!%$%k$K=q$/$3$H$b$G$-$^$9(B):</p>
<div class="example"><p><code>
Options +Includes
</code></p></div>
<p>$B8_49@-$rJ]$D$?$a$K!"(B<code>server-parsed</code>
Apache $B$O(B INCLUDES $B%U%#%k%?$rM-8z$K$7$^$9(B ($B=PNO$5$l$k$b$N(B$B$O(B
<div class="section">
<h2><a name="pathinfo" id="pathinfo">$B%5!<%P%5%$%I%$%s%/%k!<%I(B (SSI) $B$G$N(B PATH_INFO</a></h2>
<p>SSI $B$G=hM}$5$l$k%U%!%$%k$O%G%U%)%k%H$G$O(B <code>PATH_INFO</code>
($B8eB3$N%Q%9L>>pJs(B)
$BIU$-$N%j%/%(%9%H$r<u$1F~$l$J$/$J$j$^$7$?!#(B<code class="directive"><a href="/mod/core.html#acceptpathinfo">AcceptPathInfo</a></code> $B%G%#%l%/%F%#%V$G(B
<code>PATH_INFO</code> $BIU$-$N%j%/%(%9%H$r<u$1F~$l$k$h$&$K%5!<%P$r(B
$B@_Dj$G$-$^$9!#(B</p>
<div class="section">
<h2><a name="elements" id="elements">$B4pK\MWAG(B</a></h2>
<p>$B%I%-%e%a%s%H$O!"(BSGML $B$N%3%a%s%H$H$7$FFCJL$J%3%^%s%I$,Kd$a9~$^$l$?(B
HTML $B%I%-%e%a%s%H$H$7$F%Q!<%9$5$l$^$9!#%3%^%s%I$N9=J8$O<!$N$h$&$K(B
$B$J$C$F$$$^$9(B:</p>
<div class="example"><p><code>
<!--#<var>element</var> <var>attribute</var>=<var>value</var>
<var>attribute</var>=<var>value</var> ... -->
</code></p></div>
<p>$BCM(B ($BLuCm(B: value) $B$OFs=E0zMQId$G0O$`$N$,0lHLE*$G$9$,!"(B
$B%7%s%0%k%/%*!<%H(B (') $B$H%P%C%/%/%*!<%H(B (`) $B$b;HMQ$G$-$^$9!#(B
$BB?$/$N%3%^%s%I$OB0@-(B-$BCM(B ($BLuCm(B: attribute-value) $B$NAH$r0l$D$@$1;XDj$G$-$^$9!#(B
$B%3%a%s%H$N=*$o$j(B (<code>--></code>)
$B$NA0$K$O!"(BSSI $B$N6g$N0lIt$@$H2r<a$5$l$J$$$h$&$K$9$k$?$a$K6uGr$r(B
$BF~$l$F$/$@$5$$!#:G=i$N(B <code><!--#</code> $B$O$^$H$a$F(B<em>$B0l$D(B</em>$B$N(B
$B6g$G!"6uGr$r$U$/$s$G$O$$$1$J$$$3$HCm0U$7$F$/$@$5$$!#(B</p>
<p>$BMWAG(B ($BLuCm(B: element) $B$r0J2<$NI=$K<($7$^$9!#(B</p>
<table class="bordered">
<tr><th>$BMWAG(B</th><th>$B@bL@(B</th></tr>
<tr><td><code><a href="#element.config">config</a></code></td>
<td>configure output formats</td></tr>
<tr><td><code><a href="#element.echo">echo</a></code></td>
<td>print variables</td></tr>
<tr><td><code><a href="#element.exec">exec</a></code></td>
<td>execute external programs</td></tr>
<tr><td><code><a href="#element.fsize">fsize</a></code></td>
<td>print size of a file</td></tr>
<tr><td><code><a href="#element.flastmod">flastmod</a></code></td>
<td>print last modification time of a file</td></tr>
<tr><td><code><a href="#element.include">include</a></code></td>
<td>include a file</td></tr>
<tr><td><code><a href="#element.printenv">printenv</a></code></td>
<td>print all available variables</td></tr>
<tr><td><code><a href="#element.set">set</a></code></td>
<td>set a value of a variable</td></tr>
</table>
<p>SSI $BMWAG$O(B <code class="module"><a href="/mod/mod_include.html">mod_include</a></code> $B0J30$N%b%8%e!<%k$G(B
$BDj5A$5$l$k$3$H$b$"$j$^$9!#<B:]!"(B
<code><a href="#element.exec">exec</a></code> $BMWAG$O(B
<code class="module"><a href="/mod/mod_cgi.html">mod_cgi</a></code> $B$GDs6!$5$l$F$$$F!"$3$N%b%8%e!<%k$,(B
$B%m!<%I$5$l$k>l9g$K$N$_MxMQ2DG=$H$J$j$^$9!#(B</p>
<h3><a name="element.config" id="element.config">config $BMWAG(B</a></h3>
<p>$B<!$N%3%^%s%I$O2r@O$NMM!9$JB&LL$r@)8f$7$^$9!#B0@-$O<!$NDL$j$G$9!#(B</p>
<dl>
<dt><code>echomsg</code> (<em>Apache 2.1 $B0J9_(B</em>)</dt>
<dd>$B;XDj$5$l$kCM$O!"(B<code><a href="#element.echo">echo</a></code>
$BMWAG$,L$Dj5A$NJQ?t$r%(%3!<$7$h$&$H$7$?:]$K!"(B
$B%/%i%$%"%s%H$KAw$i$l$k%a%C%;!<%8$K$J$j$^$9!#(B
<code class="directive"><a href="#ssiundefinedecho">SSIUndefinedEcho</a></code>
$B%G%#%l%/%F%#%V$r>e=q$-$7$^$9!#(B</dd>
<dt><code>errmsg</code></dt>
<dd>$B$3$NCM$,!"%I%-%e%a%s%H$N2r@OCf$K%(%i!<$,H/@8$7$?;~$K(B
$B%/%i%$%"%s%H$KAw?.$5$l$k%a%C%;!<%8$K$J$j$^$9!#(B
<code class="directive"><a href="#ssierrormsg">SSIErrorMsg</a></code>
$B%G%#%l%/%F%#%V$r>e=q$-$7$^$9!#(B</dd>
<dt><code>sizefmt</code></dt>
<dd>$B$3$NCM$O!"%U%!%$%k$N%5%$%:$rI=<($9$k:]$K;HMQ$9$k(B
$B%U%)!<%^%C%H$r@_Dj$7$^$9!#CM$O(B $B%P%$%H%+%&%s%H$N(B
<code>bytes</code>$B$+!"(BKb $B$d(B Mb $B$rM%@hE*$K;HMQ$9$k(B
<code>abbrec</code> ($BNc$($P(B 1024 $B%P%$%H$O(B "1K" $B$HI=<($5$l$^$9(B)
$B$G$9!#(B</dd>
<dt><code>timefmt</code></dt>
<dd>$B$3$NCM$O(B <code>strftime(3)</code> $B%i%$%V%i%j%k!<%A%s$,(B
$BF|;~$r%W%j%s%H$9$k:]$KMQ$$$i$l$^$9!#(B</dd>
</dl>
<h3><a name="element.echo" id="element.echo">echo $BMWAG(B</a></h3>
<p>$B$3$N%3%^%s%I$O0J2<$GDj5A$5$l$F$$$k(B <a href="#includevars">include
$BJQ?t(B</a> $B$rI=<($7$^$9!#JQ?t$,@_Dj$5$l$F$$$J$$>l9g$O(B <code class="directive"><a href="#ssiundefinedecho">SSIUndefinedEcho</a></code> $B%G%#%l%/%F%#%V$G(B
$B7hDj$5$l$k7k2L$H$J$j$^$9!#F|IU$O$=$N;~E@$G$N(B <code>timefmt</code> $B$K=>$C$F(B
$BI=<($5$l$^$9!#B0@-$O<!$NDL$j$G$9!#(B</p>
<dl>
<dt><code>var</code></dt>
<dd>$BCM$OI=<($9$kJQ?t$NL>A0$G$9!#(B</dd>
<dt><code>encoding</code></dt>
<dd><p>$BJQ?t$r=PNO$9$kA0$K!"JQ?tCf$NFCJLJ8;z$r(B$B$I$N$h$&$K%(%s%3!<%I$9$k$+$r(B
$B;XDj$7$^$9!#(B<code>none</code> $B$K@_Dj$5$l$F$$$k$H!"%(%s%3!<%I$O9T$J$o$l$^$;$s!#(B
<code>url</code> $B$K@_Dj$5$l$F$$$k$H!"(BURL $B%(%s%3!<%I(B (%-$B%(%s%3!<%I$H$b(B
$B8F$P$l$F$$$^$9!#$3$l$O%j%s%/Ey$N(B URL $B$N;HMQ$KE,@Z$G$9(B) $B$,(B
$B9T$J$o$l$^$9!#(B<code>echo</code> $BMWAG$N3+;O;~$O!"%G%U%)%k%H$O(B
<code>entity</code> $B$K@_Dj$5$l$F$$$^$9!#$3$l$O%(%s%F%#%F%#%(%s%3!<%I(B
($BCJMn$d%F%-%9%H$J$I$N%V%m%C%/%l%Y%k$N(B HTML $B%(%l%a%s%H$N%3%s%F%-%9%H$K(B
$BE,$7$F$$$^$9(B) $B$r9T$J$$$^$9!#$3$l$O(B <code>encoding</code> $BB0@-(B
$B$r2C$($k$3$H$GJQ99$G$-$^$9!#JQ99$O<!$N(B <code>encoding</code> $BB0@-$+!"(B
$BMWAG$N=*N;$^$G8zNO$r;}$A$^$9!#(B</p>
<p><code>encoding</code> $BB0@-$O%(%s%3!<%I$NJQ99$r$7$?$$(B <code>var</code>
$B$N(B<em>$BA0$K(B</em> $B$"$kI,MW$,$"$k$3$H$KCm0U$7$F$/$@$5$$!#(B
$B$^$?!"(BISO-8859-1 $B%(%s%3!<%G%#%s%0$G(B
$BDj5A$5$l$F$$$kFCJL$JJ8;z$@$1$,%(%s%3!<%I$5$l$^$9!#(B
$BJL$NJ8;z$N%(%s%3!<%G%#%s%0$N>l9g$O!"$3$N%(%s%3!<%G%#%s%0$O(B
$BK>$_$N7k2L$K$J$i$J$$$+$b$7$l$^$;$s!#(B</p>
<div class="warning">
$B%/%m%9%5%$%H%9%/%j%W%F%#%s%0$NLdBj$rHr$1$k$?$a$K!"(B
<em>$B>o$K(B</em>$B%f!<%6$+$i$N%G!<%?$r%(%s%3!<%I$9$Y$-$G$9!#(B
</div>
</dd>
</dl>
<h3><a name="element.exec" id="element.exec">exec $BMWAG(B</a></h3>
<p><code>exec</code> $B%3%^%s%I$O;XDj$5$l$?%7%'%k%3%^%s%I$d(B CGI $B%9%/%j%W%H$r(B
$B<B9T$7$^$9!#(B<code class="module"><a href="/mod/mod_cgi.html">mod_cgi</a></code> $B$,%5!<%P$KAH$_9~$^$l$F$$$k$$$J$1$l$P(B
<code>IncludesNOEXEC</code> $B$O$3$N%3%^%s%I$rL58z$K$7$^$9!#(B
$B;HMQ2DG=$JB0@-$O<!$NDL$j$G$9!#(B</p>
<dl>
<dt><code>cgi</code></dt>
<dd><p>$BCM$O(B (%-$B%(%s%3!<%I$5$l$?(B) URL $B$r;XDj$7$^$9!#%Q%9$,(B
$B%9%i%C%7%e(B (/) $B$G;O$^$i$J$$$H$-$O!"%I%-%e%a%s%H$+$i$N(B
$BAjBP%Q%9$H$7$F07$o$l$^$9!#$3$N%Q%9$G;2>H$5$l$F$$$k%I%-%e%a%s%H$O(B
$B%5!<%P$,(B CGI $B%9%/%j%W%H$H$7$F07$C$F$$$J$/$F$b(B CGI $B%9%/%j%W%H$H$7$F(B
$B$d(B <code class="directive"><a href="/mod/core.html#option">Option</a></code> <code>ExecCGI</code>
$B$K$h$C$F(B) CGI $B%9%/%j%W%H$N;HMQ$,5v2D$5$l$F$$$kI,MW$,$"$j$^$9!#(B</p>
<p>CGI $B%9%/%j%W%H$K$O!"%/%i%$%"%s%H$+$i$N85!9$N%j%/%(%9%H$N(B
<code>PATH_INFO</code> $B$H%/%(%j!<J8;zNs(B (<code>QUERY_STRING</code>) $B$,EO$5$l$^$9!#(B
$B$3$l$i$O(B URL $B%Q%9$H$7$FFCDj(B<em>$B$G$-$J$$(B</em>$B$b$N$G$9!#(B
$B;HMQ$9$k$3$H$,$G$-$^$9!#(B</p>
<div class="example"><h3>$BNc(B</h3><p><code>
<!--#exec cgi="/cgi-bin/example.cgi" -->
</code></p></div>
<p>$B%9%/%j%W%H$,!"=PNO$NBe$o$j$K(B <code>Location:</code> $B%X%C%@$rJV$9$H!"(B
HTML $B$N%"%s%+!<(B ($BLuCm!'%j%s%/(B) $B$KJQ49$5$l$^$9!#(B</p>
<p><code>exec cgi</code> $B$h$j$b!"(B
<code><a href="#includevirtual">include virtual</a></code>
$B$NJ}$r;H$&$h$&$K$7$F$/$@$5$$!#FC$K!"(BCGI $B$X$NDI2C$N0z?t$r(B
$B%/%(%j!<J8;zNs$r;H$C$FEO$9$3$H$O(B <code>exec cgi</code> $B$O(B
$B$G$-$^$;$s$,!"(B<code>include virtual</code> $B$O0J2<$N$h$&$K$7$F(B
$B2DG=$G$9!#(B</p>
<div class="example"><p><code>
<!--#include virtual="/cgi-bin/example.cgi?argument=value" -->
</code></p></div>
</dd>
<dt><code>cmd</code></dt>
$B<B9T$7$^$9!#%3%^%s%I$ODL>o$N(B CGI $BJQ?t$K2C$($F(B <a href="#includevars">include $BJQ?t(B</a>$B$b;H$&$3$H$,$G$-$^$9!#(B</p>
<p>$B$[$H$s$I$N>l9g!"(B<code><a href="#includevirtual">#include
virtual</a></code> $B$r;H$&J}$,(B <code>#exec cgi</code> $B$d(B <code>#exec
cmd</code> $B$r;H$&$h$j$bNI$$$G$9!#A0<T(B (<code>#include virtual</code>)
$B$OI8=`$N(B Apache $B$N%5%V%j%/%(%9%H5!9=$r;H$C$F%U%!%$%k$d%9%/%j%W%H$N(B
$B=PNO$r<h$j9~$_$^$9!#(B
$B$3$A$i$NJ}$,$h$/%F%9%H$5$l%a%s%F%J%s%9$5$l$?J}K!$G$9!#(B</p>
<p>$B$5$i$K!"(BWin32 $B$N$h$&$J$$$/$D$+$N%W%i%C%H%U%)!<%`$d!"(B<a href="/suexec.html">suexec</a> $B$r;H$C$F$$$k(B unix $B$G$O!"(B
<code>exec</code> $B%G%#%l%/%F%#%V$N%3%^%s%I$K(B
$B0z?t$rEO$7$?$j!"%3%^%s%I$K6uGr$rF~$l$k$3$H$O$G$-$^$;$s!#(B
$B$G$9$+$i!"0J2<$N$b$N$O(B unix $B$N(B suexec $B$G$J$$@_Dj$G$OF0:n$7$^$9$,!"(B
Win32 $B$d(B suexec $B$r;H$C$F$$$k(B unix $B$G$O4|BT$7$?7k2L$K$O$J$j$^$;$s(B:</p>
<div class="example"><p><code>
<!--#exec cmd="perl /path/to/perlscript arg1 arg2" -->
</code></p></div>
</dd>
</dl>
<h3><a name="element.fsize" id="element.fsize">fsize $BMWAG(B</a></h3>
<p>$B$3$N%3%^%s%I$O;XDj$5$l$?%U%!%$%k$NBg$-$5$r(B <code>sizefmt</code> $B$N(B
$B=q<0;XDj$K4p$E$$$F=PNO$7$^$9!#B0@-$O<!$NDL$j$G$9!#(B</p>
<dl>
<dt><code>file</code></dt>
<dd>$BCM$O2r@O$5$l$F$$$k%I%-%e%a%s%H$NB8:_$9$k%G%#%l%/%H%j$+$i$N(B
$BAjBP%Q%9$G$9!#(B</dd>
<dt><code>virtual</code></dt>
<dd> $BCM$O(B (% $B%(%s%3!<%I$5$l$?(B) URL-path $B$G$9!#%9%i%C%7%e(B (/) $B$G(B
$B;O$^$i$J$$$H$-$O%I%-%e%a%s%H$+$i$NAjBP%Q%9$H$7$F07$o$l$^$9!#(B
CGI $B$N=PNO$N%5%$%:$O%W%j%s%H(B<em>$B$5$l$^$;$s(B</em>$B!#(BCGI
$B%9%/%j%W%H<+BN$N%5%$%:$,%W%j%s%H$5$l$k$3$H$KCm0U$7$F$/$@$5$$!#(B</dd>
</dl>
<h3><a name="element.flastmod" id="element.flastmod">flastmod $BMWAG(B</a></h3>
<p>$B$3$N%3%^%s%I$O;XDj$5$l$?%U%!%$%k$N:G=*=$@5;~9o$r(B
<code>timefmt</code> $B=q<0;XDj$K=>$C$FI=<($7$^$9!#(B
$B;XDj2DG=$JB0@-$O(B <code>fsize</code> $B%3%^%s%I$HF1$8$G$9!#(B</p>
<h3><a name="element.include" id="element.include">include $BMWAG(B</a></h3>
<p>$B$3$N%3%^%s%I$OJL$NJ8=q$d%U%!%$%k$N%F%-%9%H$r2r@O$7$F$$$k%U%!%$%k$K(B
$BA^F~$7$^$9!#A^F~$5$l$k%U%!%$%k$O%"%/%;%9@)8f$N4IM}2<$K$"$j$^$9!#(B
$B2r@O$7$F$$$k%U%!%$%k$NB8:_$9$k%G%#%l%/%H%j$K(B
<a href="core.html#options">Option</a> <code>IncludesNOEXEC</code>
$B$=$NB>$N>l9g$O!"%/%(%j!<J8;zNs$b4^$a!"%3%^%s%I$G;XDj$5$l$?(B
$B40A4$J(B URL $B$r;H$C$FIaDL$K(B CGI $B%9%/%j%W%H$,8F$S=P$5$l$^$9!#(B</p>
<p>$BB0@-$,J8=q(B$B$N0LCV$r;XDj$7$^$9!#(Binclude $B%3%^%s%I$KM?$($i$l$?$=$l$>$l$N(B
$BB0@-$KBP$7$FA^F~:n6H$,9T$J$o$l$^$9!#M-8z$JB0@-$O<!$NDL$j$G$9!#(B</p>
<dl>
<dt><code>file</code></dt>
<dd>$BCM$O2r@O$5$l$F$$$k%I%-%e%a%s%H$NB8:_$9$k%G%#%l%/%H%j$+$i$N(B
$BAjBP%Q%9$G$9!#(B
<code>../</code> $B$r4^$s$G$$$?$j!"@dBP%Q%9$r;XDj$7$?$j$O$G$-$^$;$s!#(B
$B$G$9$+$i!"%I%-%e%a%s%H%k!<%H$N30$K$"$k%U%!%$%k$d!"%G%#%l%/%H%j9=B$$G(B
$B>e0L$K$"$k%U%!%$%k$rA^F~$9$k$3$H$O$G$-$^$;$s!#(B
$B>o$K$3$NB0@-$h$j$O!"(B<code>virtual</code> $BB0@-$r;H$&$h$&$K$7$F$/$@$5$$!#(B
</dd>
<dt><code><a id="includevirtual" name="includevirtual">virtual</a></code></dt>
<dd><p>$BCM$O2r@O$5$l$F$$$k%I%-%e%a%s%H$+$i$N(B (% $B%(%s%3!<%I$5$l$?(B) URL
$B$G$9!#(BURL $B$K$O%9%-!<%`$d%[%9%HL>$r4^$a$k$3$H$O$G$-$^$;$s!#%Q%9$H!"(B
$B$b$7$"$l$P%/%(%j!<J8;zNs$r;XDj$G$-$k$@$1$G$9!#%9%i%C%7%e(B (/) $B$+$i(B
$B;O$^$i$J$$>l9g$O!"%I%-%e%a%s%H$+$i$NAjBP%Q%9$H$7$F07$o$l$^$9!#(B</p>
<p>URL $B$OB0@-$+$i:n$i$l!"$=$N(B URL $B$r%/%i%$%"%s%H$,%"%/%;%9$7$?$H$-$K(B
$B=PNO$5$l$kFbMF$,2r@O8e$N=PNO$K4^$a$i$l$^$9!#$G$9$+$i!"A^F~$5$l$k(B
$B%U%!%$%k$OF~$l;R9=B$$K$9$k$3$H$,$G$-$^$9!#(B</p>
<p>$B;XDj$5$l$?(B URL $B$,(B CGI $B%W%m%0%i%`$G$"$C$?>l9g$O!"(B
$B%W%m%0%i%`$,<B9T$5$l!"$=$N=PNO$,2r@O$7$F$$$k%U%!%$%kCf$N(B
$B%G%#%l%/%F%#%V$,$"$C$?0LCV$KA^F~$5$l$^$9!#(BCGI $B$N(B url $B$K(B
$B%/%(%j!<(B URL $B$rF~$l$k$3$H$b$G$-$^$9!#(B</p>
<div class="example"><p><code>
<!--#include virtual="/cgi-bin/example.cgi?argument=value" -->
</code></p></div>
<p>HTML $B%I%-%e%a%s%H$K(B CGI $B%W%m%0%i%`$N=PNO$r4^$a$kJ}K!$H$7$F$O!"(B
<code>include virtual</code> $B$NJ}$,(B <code>exec cgi</code> $B$h$j$b(B
$B9%$^$7$$J}K!$G$9!#(B</p>
</dd>
</dl>
<h3><a name="element.printenv" id="element.printenv">printenv $BMWAG(B</a></h3>
<p>$B$3$l$O!"B8:_$9$k$9$Y$F$NJQ?t$H$=$NCM$rI=<($7$^$9!#(BApache 1.3.12 $B$+$i!"(B
$BFCJL$JJ8;z$O=PNO$5$l$kA0$K%(%s%F%#%F%#%(%s%3(B$B!<%I(B ($B>\:Y$O(B <a href="#element.echo"><code>echo</code></a> $BMWAG$r;2>H(B)
$B$5$l$k$h$&$K$J$j$^$7$?!#B0@-$O$"$j$^$;$s!#(B</p>
<div class="example"><h3>$BNc(B</h3><p><code>
<!--#printenv -->
</code></p></div>
<h3><a name="element.set" id="element.set">set $BMWAG(B</a></h3>
<p>$B$3$l$OJQ?t$NCM$r@_Dj$7$^$9!#B0@-$O<!$NDL$j$G$9!#(B</p>
<dl>
<dt><code>var</code></dt>
<dd>$B@_Dj$9$kJQ?t$NL>A0!#(B</dd>
<dt><code>value</code></dt>
<dd>$BJQ?t$K@_Dj$9$kCM!#(B</dd>
</dl>
<div class="example"><h3>$BNc(B</h3><p><code>
<!--#set var="category" value="help" -->
</code></p></div>
<div class="section">
<h2><a name="includevars" id="includevars">Include $BJQ?t(B</a></h2>
<p>$BI8=`(B CGI $B4D6-$NJQ?t$K2C$($F!"(B<code>echo</code> $B%3%^%s%I$d!"(B
<code>if</code> $B$d(B <code>elif</code>, $B$=$l$K%I%-%e%a%s%H$+$i8F$S=P$5$l$k(B
$B$9$Y$F$N%W%m%0%i%`$+$i;HMQ$G$-$kJQ?t$,$"$j$^$9!#(B</p>
<dl>
<dt><code>DATE_GMT</code></dt>
<dd>$B%0%j%K%C%8I8=`;~$K$h$k8=:_;~9o!#(B</dd>
<dt><code>DATE_LOCAL</code></dt>
<dd>$B%m!<%+%k$NI8=`;~$K$h$k8=:_;~9o!#(B</dd>
<dt><code>DOCUMENT_NAME</code></dt>
<dd>$B%f!<%6$,%j%/%(%9%H$7$?(B ($B%G%#%l%/%H%j$r=|$$$?(B) $B%U%!%$%kL>!#(B</dd>
<dt><code>DOCUMENT_URI</code></dt>
<dd>$B%f!<%6$,%j%/%(%9%H$7$?(B (% $B%(%s%3!<%I$5$l$?(B) URL-path$B!#(B
$BA^F~%U%!%$%k$,F~$l;R$K$J$C$F$$$k>l9g$O!"2r@O$5$l$F$$$k(B
$B%I%-%e%a%s%H$N(B URL $B$G$O(B<em>$B$J$$(B</em>$B$3$H$KCm0U$7$F$/$@$5$$!#(B</dd>
<dt><code>LAST_MODIFIED</code></dt>
<dd>$B%f!<%6$,%j%/%(%9%H$7$?%I%-%e%a%s%H$N:G=*=$@5;~9o!#(B</dd>
<dt><code>QUERY_STRING_UNESCAPED</code></dt>
<dd>$B%/%(%j!<J8;zNs$,$"$k>l9g!"$3$NJQ?t$K$O(B (%-$B%G%3!<%I$5$l$?(B)
$B%/%(%j!<J8;zNs$,BeF~$5$l$F$$$F!"(Bshell $B$G;HMQ$G$-$k$h$&$K(B
<em>$B%(%9%1!<%W(B</em>$B$5$l$F$$$^$9(B (<code>&</code>
$B$H$$$C$?FC<lJ8;z$K$O%P%C%/%9%i%C%7%e$,D>A0$KCV$+$l$^$9(B)$B!#(B</dd>
</dl>
<div class="section">
<h2><a name="substitution" id="substitution">$BJQ?tCV49(B</a></h2>
<p>$BJQ?tCV49$O$?$$$F$$$N>l9g(B SSI $B%G%#%l%/%F%#%V$N0z?t$H$7$FBEEv$J>l=j$K$"$k(B
$B0zMQId$G0O$^$l$?J8;zNsCf$G9T$J$o$l$^$9!#$3$l$K3:Ev$9$k$b$N$K$O!"(B
<code>config</code>,
<code>exec</code>, <code>flastmod</code>, <code>fsize</code>,
<code>include</code>, <code>echo</code>, <code>set</code> $B$N(B
$B3F%G%#%l%/%F%#%V$H!">r7oJ,4tMQ$N%*%Z%l!<%?$X$N0z?t$,$"$j$^$9!#(B
$B%I%k5-9f$O%P%C%/%9%i%C%7%e$r;H$&$3$H$G;H$&$3$H$,$G$-$^$9(B:</p>
<div class="example"><p><code>
<!--#if expr="$a = \$test" -->
</code></p></div>
<p>$BJQ?tL>$H$7$F$_$J$5$l$kJ8;zNs$NCf$GJQ?t$X$N;2>H$rCV49$9$kI,MW$,$"$k$H$-$O!"(B
$B%7%'%k$G$NJQ?tCV49$N$h$&$K!"Cf3g8L$G3g$k$3$H$G6hJL$9$k$3$H$,$G$-$^$9(B:</p>
<div class="example"><p><code>
<!--#set var="Zed" value="${REMOTE_HOST}_${REQUEST_METHOD}" -->
</code></p></div>
<p>$B$3$NNc$G$O!"(B<code>REMOTE_HOST</code> $B$,(B
"<code>X</code>" $B$G(B <code>REQUEST_METHOD</code> $B$,(B
"<code>Y</code>" $B$N$H$-$KJQ?t(B <code>Zed</code> $B$r(B "<code>X_Y</code>"
$B$K@_Dj$7$^$9!#(B</p>
$B$I$A$i$G$b$J$$$H$-$K$O(B "in neither" $B$rI=<($7$^$9!#(B</p>
<div class="example"><p><code>
<span class="indent">
in foo<br />
</span>
<span class="indent">
in bar<br />
</span>
<!--#else --><br />
<span class="indent">
in neither<br />
</span>
<!--#endif -->
</code></p></div>
<div class="section">
<h2><a name="flowctrl" id="flowctrl">$B%U%m!<@)8fMWAG(B</a></h2>
<p>$B4pK\E*$J%U%m!<%3%s%H%m!<%kMWAG$O<!$NDL$j$G$9!#(B</p>
<div class="example"><p><code>
<!--#if expr="<var>test_condition</var>" --><br />
<!--#elif expr="<var>test_condition</var>" --><br />
<!--#else --><br />
<!--#endif -->
</code></p></div>
<p><code>if</code> $BMWAG$O%W%m%0%i%_%s%08@8l$N(B
if $BJ8$HF1$8$h$&$KF0:n$7$^$9!#>r7o$,I>2A$5$l!"7k2L$,(B$B??$G$"$l$P<!$N(B
<code>elif</code> $B$+(B <code>else</code> $B$+(B <code>endif</code>
$BMWAG$^$G$NJ8;zNs$,=PNO$KA^F~$5$l$^$9!#(B</p>
<p><code>elif</code> $B$d(B <code>else</code> $BJ8$O(B <var>test_condition</var>
$B$,56$N$H$-$K%F%-%9%H$r=PNO$KA^F~$9$k$?$a$K;H$o$l$^$9!#(B
$B$3$l$i$NMWAG$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p>
<p><code>endif</code> $BMWAG$O(B <code>if</code>
$BMWAG$r=*N;$5$;$^$9!#$3$NMWAG$OI,?\$G$9!#(B</p>
<p><var>test_condition</var> $B$O0J2<$N$I$l$+$G$9(B:</p>
<dl>
<dt><code><var>string</var></code></dt>
<dd><var>string</var> $B$,6u$G$J$$>l9g$K??$G$9(B</dd>
<dt><code><var>string1</var> = <var>string2</var><br />
<var>string1</var> == <var>string2</var><br />
<var>string1</var> != <var>string2</var></code></dt>
<dd><p><var>string1</var> $B$H(B <var>string2</var> $B$rHf3S$7$^$9!#(B
<var>string2</var> $B$,(B <code>/<var>string</var>/</code>
$B$H$$$&7A<0$G$"$l$P!"@55,I=8=$H$7$FHf3S$5$l$^$9!#@55,I=8=$O(B
<code>==</code> $B$OC1$K(B <code>=</code> $B$NJLL>$G!"$^$C$?$/F1$8F0:n$r(B
$B$7$^$9!#(B</p>
<p>$B@5$N%^%C%A%s%0(B (<code>=</code> $B$^$?$O(B <code>==</code>) $B$N>l9g$O!"(B
$B@55,I=8=$G%0%k!<%WJ,$1$5$l$?%Q!<%D$r%-%c%W%A%c$9$k$3$H$,$G$-$^$9!#(B
$B%-%c%W%A%c$5$l$?ItJ,$OFC<lJQ?t(B <code>$1</code> .. <code>$9</code>
$B$K3JG<$5$l$^$9!#(B</p>
<div class="example"><h3>$BNc(B</h3><p><code>
<!--#if expr="$QUERY_STRING = /^sid=([a-zA-Z0-9]+)/" --><br />
<span class="indent">
<!--#set var="session" value="$1" --><br />
</span>
<!--#endif -->
</code></p></div>
</dd>
<dt><code><var>string1</var> < <var>string2</var><br />
<var>string1</var> <= <var>string2</var><br />
<var>string1</var> > <var>string2</var><br />
<var>string1</var> >= <var>string2</var></code></dt>
<dd><var>string1</var> $B$H(B <var>string2</var> $B$rHf3S$7$^$9!#(B
<em>$BJ8;zNs$H$7$F(B</em>$BHf3S$5$l$k(B (<code>strcmp(3)</code> $B$r;HMQ(B)
$B$3$H$KCm0U$7$F$/$@$5$$!#$G$9$+$i!"J8;zNs(B "100" $B$O(B "20"
$B$h$j$b>.$5$$$3$H$K$J$j$^$9!#(B</dd>
<dt><code>( <var>test_condition</var> )</code></dt>
<dd><var>test_condition</var> $B$,??$N$H$-!"??(B</dd>
<dt><code>! <var>test_condition</var></code></dt>
<dd><var>test_condition</var> $B$,56$N$H$-!"??(B</dd>
<dt><code><var>test_condition1</var> &&
<var>test_condition2</var></code></dt>
<dd><var>test_condition1</var> $B$+$D(B
<var>test_condition2</var> $B$,??$N$H$-!"??(B</dd>
<dt><code><var>test_condition1</var> ||
<var>test_condition2</var></code></dt>
<dd><var>test_condition1</var> $B$^$?$O(B
<var>test_condition2</var> $B$,??$N$H$-!"??(B</dd>
</dl>
<p>"<em>=</em>" $B$H(B "<em>!=</em>" $B$NJ}$,(B "<em>&&</em>" $B$h$j(B
$B$-$D$/B+G{$7$^$9!#(B"<em>!</em>" $B$NB+G{$,0lHV$-$D$/$J$C$F$$$^$9!#(B
$B$G$9$+$i0J2<$NFs$D$OEy2A$G$9(B:</p>
<div class="example"><p><code>
<!--#if expr="$a = test1 && $b = test2" --><br />
<!--#if expr="($a = test1) && ($b = test2)" -->
</code></p></div>
<p>$B??56CM%*%Z%l!<%?(B <code>&&</code> $B$H(B <code>||</code>
$B$OF1$8M%@hEY$G$9!#(B
$B$3$l$i$N%*%Z%l!<%?$G0lJ}$K$h$j6/$$M%@hEY$r$D$1$?$$>l9g$K$O!"(B
$B3g8L$r;H$&I,MW$,$"$j$^$9!#(B</p>
<p>$BJQ?t$d%*%Z%l!<%?$H$7$FG'<1$5$l$J$$$b$N$O$9$Y$FJ8;zNs$H$7$F(B
$B07$o$l$^$9!#J8;zNs$O0zMQId$G0O$`$3$H$b$G$-$^$9(B: <code>'string'</code>
$B$N$h$&$K!#0zMQId$G0O$^$l$F$$$J$$J8;zNs$K$O6uGr(B ($B%9%Z!<%9$H%?%V(B)
$B$r4^$a$k$3$H$O$G$-$^$;$s!#$=$l$i$OJQ?t$J$I$N6g$rJ,N%$9$k$?$a$K(B
$B;H$o$l$F$$$k$+$i$G$9!#J#?t$NJ8;zNs$,B3$$$F$$$k$H$-$O!"(B
$B6uGr$r4V$KF~$l$F0l$D$K$/$C$D$1$i$l$^$9!#$G$9$+$i!"(B</p>
<div class="example"><p><code><var>string1</var> <var>string2</var></code> $B$O(B <code><var>string1</var> <var>string2</var></code> $B$K$J$j$^$9!#(B<br />
<br />
$B$^$?!"(B<br />
<br />
<code>'<var>string1</var> <var>string2</var>'</code> $B$O(B <code><var>string1</var> <var>string2</var></code>
$B$K$J$j$^$9!#(B</p></div>
<div class="note"><h3>$B??56CMI=8=$N:GE,2=(B</h3>
$BI>2A%k!<%k$K=>$C$F:GE,2=$7$F$_$k$HNI$$$G$7$g$&!#(B</p>
<ul>
<li>$BI>2A$O:8$+$i1&$K8~$+$C$F9T$o$l$^$9!#(B</li>
<li>$BFsCM??56CM%*%Z%l!<%?(B (<code>&&</code> $B$H(B <code>||</code>)
$B$O!"=PMh$k8B$jC;MmI>2A$5$l$^$9!#$D$^$j7k2L$H$7$F>e5-$N%k!<%k$O!"(B
<code class="module"><a href="/mod/mod_include.html">mod_include</a></code> $B$,:8$NI>2A<0$rI>2A$7$^$9!#(B
$B:8B&$G7k2L$r==J,7hDj$G$-$k>l9g$O!"I>2A$O$=$3$GDd;_$7$^$9!#(B
$B$=$&$G$J$$>l9g$O1&B&$rI>2A$7$F!":8$H1&$NN>J}$+$i7k2L$r7W;;$7$^$9!#(B</li>
<li>$BC;MmI>2A$OI>2A$NBP>]$K@55,I=8=$,4^$^$l$k>l9g!"%*%U$K$J$j$^$9!#(B
$B8eJ};2>H$9$kJQ?t(B (<code>$1</code> .. <code>$9</code>)
$B$rKd$a$k$?$a$K!"<B:]$KI>2A$9$kI,MW$,$"$k$+$i$G$9!#(B</li>
</ul>
<p>$BFCDj$N<0$,$I$N$h$&$K07$o$l$k$+$rCN$j$?$$>l9g$O!"(B
<code>-DDEBUG_INCLUDE</code> $B%3%s%Q%$%i%*%W%7%g%s$rIU$1$F(B
<code class="module"><a href="/mod/mod_include.html">mod_include</a></code> $B$r%j%3%s%Q%$%k$9$k$HNI$$$G$7$g$&!#(B
$B$3$l$K$h$j!"A4$F$N%Q!<%9$5$l$?<0$KBP$7$F!";z6g2r@O>pJs!"(B
$B%Q!<%9%D%j!<$H!"(B
$B$=$l$,$I$N$h$&$K%/%i%$%"%s%H$KAw$i$l$?=PNO$^$GI>2A$5$l$?$+$r(B
$BA^F~$7$^$9!#(B</p>
</div>
</div>
<div class="directive-section"><h2><a name="SSIEndTag" id="SSIEndTag">SSIEndTag</a> <a name="ssiendtag" id="ssiendtag">$B%G%#%l%/%F%#%V(B</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">$B@bL@(B:</a></th><td>include $BMWAG$r=*N;$5$;$kJ8;zNs(B</td></tr>
<tr><th><a href="directive-dict.html#Syntax">$B9=J8(B:</a></th><td><code>SSIEndTag <var>tag</var></code></td></tr>
<tr><th><a href="directive-dict.html#Default">$B%G%U%)%k%H(B:</a></th><td><code>SSIEndTag "-->"</code></td></tr>
<tr><th><a href="directive-dict.html#Context">$B%3%s%F%-%9%H(B:</a></th><td>$B%5!<%P@_Dj%U%!%$%k(B, $B%P!<%A%c%k%[%9%H(B</td></tr>
<tr><th><a href="directive-dict.html#Compatibility">$B8_49@-(B:</a></th><td>2.0.30 $B0J9_$GMxMQ2DG=(B</td></tr>
</table>
<p>$B$3$N%G%#%l%/%F%#%V$O(B <code class="module"><a href="/mod/mod_include.html">mod_include</a></code> $B$,C5$9!"(B
include $BMWAG$N=*N;$r<($9J8;zNs$rJQ99$7$^$9!#(B</p>
<div class="example"><h3>$BNc(B</h3><p><code>
SSIEndTag "%>"
</code></p></div>
<h3>$B;2>H(B</h3>
<ul>
<li><code class="directive"><a href="#ssistarttag">SSIStartTag</a></code></li>
</ul>
</div>
<div class="directive-section"><h2><a name="SSIErrorMsg" id="SSIErrorMsg">SSIErrorMsg</a> <a name="ssierrormsg" id="ssierrormsg">$B%G%#%l%/%F%#%V(B</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">$B@bL@(B:</a></th><td>SSI $B$N%(%i!<$,$"$C$?$H$-$KI=<($5$l$k%(%i!<%a%C%;!<%8(B</td></tr>
<tr><th><a href="directive-dict.html#Syntax">$B9=J8(B:</a></th><td><code>SSIErrorMsg <var>message</var></code></td></tr>
<tr><th><a href="directive-dict.html#Default">$B%G%U%)%k%H(B:</a></th><td><code>SSIErrorMsg "[an error occurred while processing this
directive]"</code></td></tr>
<tr><th><a href="directive-dict.html#Context">$B%3%s%F%-%9%H(B:</a></th><td>$B%5!<%P@_Dj%U%!%$%k(B, $B%P!<%A%c%k%[%9%H(B, $B%G%#%l%/%H%j(B, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Compatibility">$B8_49@-(B:</a></th><td>$B%P!<%8%g%s(B 2.0.30 $B0J9_$G;HMQ2DG=(B</td></tr>
</table>
<p><code class="directive">SSIErrorMsg</code> $B%G%#%l%/%F%#%V$O(B <code class="module"><a href="/mod/mod_include.html">mod_include</a></code>
$B$,%(%i!<$,5/$3$C$?$H$-$KI=<($9$k%a%C%;!<%8$rJQ99$7$^$9!#%W%m%@%/%7%g%s%5!<%P$G$O(B
$B%a%C%;!<%8$,%f!<%6$KI=<($5$l$J$$$h$&$K$9$k$?$a$K(B
$B%G%U%)%k%H%(%i!<%a%C%;!<%8$r(B <code>"<!-- Error -->"</code>
$B$KJQ$($k$H$$$&$h$&$J$3$H$r9M$($k$+$b$7$l$^$;$s!#(B</p>
<p>$B$3$N%G%#%l%/%F%#%V$O(B <code><!--#config
errmsg=<var>message</var> --></code> $BMWAG$HF1$88z2L$K$J$j$^$9!#(B</p>
<div class="example"><h3>$BNc(B</h3><p><code>
SSIErrorMsg "<!-- Error -->"
</code></p></div>
</div>
<div class="directive-section"><h2><a name="SSIStartTag" id="SSIStartTag">SSIStartTag</a> <a name="ssistarttag" id="ssistarttag">$B%G%#%l%/%F%#%V(B</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">$B@bL@(B:</a></th><td>include $BMWAG$r3+;O$9$kJ8;zNs(B</td></tr>
<tr><th><a href="directive-dict.html#Syntax">$B9=J8(B:</a></th><td><code>SSIStartTag <var>tag</var></code></td></tr>
<tr><th><a href="directive-dict.html#Default">$B%G%U%)%k%H(B:</a></th><td><code>SSIStartTag "<!--#"</code></td></tr>
<tr><th><a href="directive-dict.html#Context">$B%3%s%F%-%9%H(B:</a></th><td>$B%5!<%P@_Dj%U%!%$%k(B, $B%P!<%A%c%k%[%9%H(B</td></tr>
<tr><th><a href="directive-dict.html#Compatibility">$B8_49@-(B:</a></th><td>$B%P!<%8%g%s(B 2.0.30 $B0J9_$G;HMQ2DG=(B</td></tr>
</table>
<p>$B$3$N%G%#%l%/%F%#%V$O(B <code class="module"><a href="/mod/mod_include.html">mod_include</a></code> $B$,C5$9!"(Binclude
$BMWAG$N3+;O$r<($9J8;zNs$rJQ99$7$^$9!#(B</p>
<p>2 $B$D$N%5!<%P$G(B ($B$b$7$+$9$k$HJL!9$NCJ3,$G(B) $B%U%!%$%k$N=PNO$r2r@O$7$F$$$F!"(B
$B$=$l$>$l$K0c$&%3%^%s%I$r=hM}$5$;$?$$!"(B
$B$H$$$&$h$&$J$H$-$K$3$N%*%W%7%g%s$r;H$$$^$9!#(B</p>
<div class="example"><h3>$BNc(B</h3><p><code>
SSIStartTag "<%"<br />
SSIEndTag "%>"
</code></p></div>
<p>$B>e$NNc$N$h$&$KBP1~$9$k(B
<code class="directive"><a href="#ssiendtag">SSIEndTag</a></code> $B$rJ;$;$F;H$&$H!"(B
$B2<$K<($9Nc$N$h$&$K(B SSI $B%G%#%l%/%F%#%V$r;H$($^$9(B:</p>
<div class="example"><h3>$B0c$&3+;O$H=*N;$N%?%0$r;H$C$?(B SSI $B%G%#%l%/%F%#%V(B</h3><p><code>
<%printenv %>
</code></p></div>
<h3>$B;2>H(B</h3>
<ul>
<li><code class="directive"><a href="#ssiendtag">SSIEndTag</a></code></li>
</ul>
</div>
<div class="directive-section"><h2><a name="SSITimeFormat" id="SSITimeFormat">SSITimeFormat</a> <a name="ssitimeformat" id="ssitimeformat">$B%G%#%l%/%F%#%V(B</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">$B@bL@(B:</a></th><td>$BF|IU$1$r8=$9J8;zNs$N=q<0$r@_Dj$9$k(B</td></tr>
<tr><th><a href="directive-dict.html#Syntax">$B9=J8(B:</a></th><td><code>SSITimeFormat <var>formatstring</var></code></td></tr>
<tr><th><a href="directive-dict.html#Default">$B%G%U%)%k%H(B:</a></th><td><code>SSITimeFormat "%A, %d-%b-%Y %H:%M:%S %Z"</code></td></tr>
<tr><th><a href="directive-dict.html#Context">$B%3%s%F%-%9%H(B:</a></th><td>$B%5!<%P@_Dj%U%!%$%k(B, $B%P!<%A%c%k%[%9%H(B, $B%G%#%l%/%H%j(B, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Compatibility">$B8_49@-(B:</a></th><td>2.0.30 $B0J9_$G;HMQ2DG=(B</td></tr>
</table>
<p>$B$3$N%G%#%l%/%F%#%V$O(B <code>DATE</code> $B4D6-JQ?t$r(B echo $B$7$FF|IU$r8=$9J8;zNs$,(B
$BI=<($5$l$k$H$-$N=q<0$rJQ99$7$^$9!#(B<var>formatstring</var> $B$O(B
C $BI8=`%i%$%V%i%j$N(B <code>strftime(3)</code> $B$HF1$87A<0$G$9!#(B</p>
<p>$B$3$N%G%#%l%/%F%#%V$O(B <code><!--#config
timefmt=<var>formatstring</var> --></code> $BMWAG$HF1$88z2L$K$J$j$^$9!#(B</p>
<div class="example"><h3>$BNc(B</h3><p><code>
SSITimeFormat "%R, %B %d, %Y"
</code></p></div>
<p>$B>e$N%G%#%l%/%F%#%V$G$O!"F|IU$O(B "22:26, June 14, 2002" $B$H$$$&(B
$B7A<0$GI=<($5$l$^$9!#(B</p>
</div>
<div class="directive-section"><h2><a name="SSIUndefinedEcho" id="SSIUndefinedEcho">SSIUndefinedEcho</a> <a name="ssiundefinedecho" id="ssiundefinedecho">$B%G%#%l%/%F%#%V(B</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">$B@bL@(B:</a></th><td>$BL$Dj5A$NJQ?t$,(B echo $B$5$l$?$H$-$KI=<($5$l$kJ8;zNs(B</td></tr>
<tr><th><a href="directive-dict.html#Syntax">$B9=J8(B:</a></th><td><code>SSIUndefinedEcho <var>string</var></code></td></tr>
<tr><th><a href="directive-dict.html#Default">$B%G%U%)%k%H(B:</a></th><td><code>SSIUndefinedEcho "(none)"</code></td></tr>
<tr><th><a href="directive-dict.html#Context">$B%3%s%F%-%9%H(B:</a></th><td>$B%5!<%P@_Dj%U%!%$%k(B, $B%P!<%A%c%k%[%9%H(B, $B%G%#%l%/%H%j(B, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Compatibility">$B8_49@-(B:</a></th><td>2.0.34 $B0J9_$GMxMQ2DG=(B</td></tr>
</table>
<p>$B$3$N%G%#%l%/%F%#%V$OJQ?t$,Dj5A$5$l$F$$$J$$$K$b4X$o$i$:(B
"echo" $B$5$l$?(B$B$H$-$K(B <code class="module"><a href="/mod/mod_include.html">mod_include</a></code>
$B$,I=<($9$kJ8;zNs$rJQ99$7$^$9!#(B</p>
<div class="example"><h3>$BNc(B</h3><p><code>
SSIUndefinedEcho "<!-- undef -->"
</code></p></div>
</div>
<div class="directive-section"><h2><a name="XBitHack" id="XBitHack">XBitHack</a> <a name="xbithack" id="xbithack">$B%G%#%l%/%F%#%V(B</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">$B@bL@(B:</a></th><td>$B<B9T%S%C%H$,@_Dj$5$l$?%U%!%$%k$N(B SSI $B%G%#%l%/%F%#%V$r(B
$B2r@O$9$k(B</td></tr>
<tr><th><a href="directive-dict.html#Syntax">$B9=J8(B:</a></th><td><code>XBitHack on|off|full</code></td></tr>
<tr><th><a href="directive-dict.html#Default">$B%G%U%)%k%H(B:</a></th><td><code>XBitHack off</code></td></tr>
<tr><th><a href="directive-dict.html#Context">$B%3%s%F%-%9%H(B:</a></th><td>$B%5!<%P@_Dj%U%!%$%k(B, $B%P!<%A%c%k%[%9%H(B, $B%G%#%l%/%H%j(B, .htaccess</td></tr>
</table>
<p><code class="directive">XBitHack</code> $B%G%#%l%/%F%#%V$ODL>o$N(B HTML
$B%I%-%e%a%s%H$N2r@O$r@)8f$7$^$9!#$3$N%G%#%l%/%F%#%V$O(B MIME $B%?%$%W(B
<code class="directive">XBitHack</code> $B$O0J2<$NCM$r$H$k$3$H$,$G$-$^$9!#(B</p>
<dl>
<dt><code>off</code></dt>
<dd>$B<B9T2DG=%U%!%$%k$KBP$7$FFCJL$J07$$$r$7$^$;$s!#(B</dd>
<dt><code>on</code></dt>
$B%U%!%$%k$OA4$F%5!<%P$G2r@O$9$k(B html $B%I%-%e%a%s%H$H$7$F07$o$l$^$9!#(B</dd>
<dt><code>full</code></dt>
<dd><code>on</code> $B$HF1MM$G$9$,!"%0%k!<%W<B9T%S%C%H$b%F%9%H$7$^$9!#(B
$B$b$7$=$l$,@_Dj$5$l$F$$$l$P!"JV$5$l$k%U%!%$%k$N(B <code>Last-modified</code> $B$N(B
$BF|IU$r%U%!%$%k$N:G=*=$@5;~9o$K$7$^$9!#$=$l$,(B$B@_Dj$5$l$F$$$J$$$H$-$O!"(B
last-modified $B$NF|IU$OAw$i$l$^$;$s!#$3$N%S%C%H$r@_Dj$9$k$H!"(B
$B%/%i%$%"%s%H$d%W%m%-%7$,%j%/%(%9%H$r%-%c%C%7%e$G$-$k$h$&$K$J$j$^$9!#(B
<div class="note"><strong>$BCm0U(B</strong> $BB>$N(B CGI $B$r(B <code>#include</code>
$B$9$k$+$b$7$l$J$$$b$N$d!"3F%"%/%;%9$KBP$7$F0c$&=PNO$r@8@.$9$k(B
($B$b$7$/$O8e$N%j%/%(%9%H$GJQ$o$k$+$b$7$l$J$$$b$N(B)
$B$9$Y$F$N(B SSI $B%9%/%j%W%H$KBP$7$F%0%k!<%W<B9T%S%C%H$,(B
$B@_Dj$5$l$F$$$J$$$3$H$r3NG'$G$-$J$$>l9g$O!"(Bfull $B$O;H$o$J$$J}$,NI$$(B
$B$G$7$g$&!#(B</div>
</dd>
</dl>
</div>
</div>
<div class="bottomlang">
<p><span>Available Languages: </span><a href="/en/mod/mod_include.html" hreflang="en" rel="alternate" title="English"> en </a> |
</div><div id="footer">
<p class="apache">Copyright 1999-2004 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="menu"><a href="/mod/">$B%b%8%e!<%k(B</a> | <a href="/mod/directives.html">$B%G%#%l%/%F%#%V(B</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">$BMQ(B$B8l(B</a> | <a href="/sitemap.html">$B%5%$%H%^%C%W(B</a></p></div>
</body></html>