mod_include.xml.ja revision a2652f3451528565db1f85db6953fc30799d7ead
<?xml version="1.0" encoding="iso-2022-jp"?>
<!DOCTYPE modulesynopsis SYSTEM "/style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="/style/manual.ja.xsl"?>
<!-- English Revision: 151408:290816 (outdated) -->
<!--
Copyright 2002-2006 The Apache Software Foundation or its licensors,
as applicable.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<modulesynopsis metafile="mod_include.xml.meta">
<name>mod_include</name>
<description>$B%5!<%P$,%Q!<%9$9$k(B html $B%I%-%e%a%s%H(B (Server Side Includes)</description>
<status>Base</status>
<sourcefile>mod_include.c</sourcefile>
<identifier>include_module</identifier>
<compatibility>Apache 2.0 $B$+$i=PNO%U%#%k%?$H$7$F<BAu$5$l$^$7$?!#(B</compatibility>
<summary>
<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>
</summary>
<seealso><directive module="core">Options</directive></seealso>
<seealso><directive module="core">AcceptPathInfo</directive></seealso>
<seealso><a href="/filter.html">$B%U%#%k%?(B</a></seealso>
<seealso><a href="/howto/ssi.html">SSI $B%A%e!<%H%j%"%k(B</a></seealso>
<section id="enabling">
<title>Server-Side Includes $B$rM-8z$K$9$k(B</title>
<p>Server Side Includes $B$O(B <code>INCLUDES</code>
<a href="/filter.html">$B%U%#%k%?(B</a> $B$K$h$j<BAu$5$l$F$$$^$9!#(B
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
$B%Q!<%9$7$F!"$=$N7k2L$G$-$k%I%-%e%a%s%H$K(B <code>text/html</code> $B$N(B
MIME $B%?%$%W$r3d$jEv$F$^$9(B:</p>
<example>
AddType text/html .shtml<br />
AddOutputFilter INCLUDES .shtml
</example>
<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 <directive module="core"
type="section">Directory</directive> $B%;%/%7%g%s$G;XDj$7$^$9$,!"(B
<directive module="core">AllowOverride</directive> <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>
<example>
Options +Includes
</example>
<p>$B8_49@-$rJ]$D$?$a$K!"(B<code>server-parsed</code>
<a href="/handler.html">$B%O%s%I%i(B</a> $B$b(B INCLUDES $B%U%#%k%?$r(B
$BM-8z$K$7$^$9!#(BMIME $B%?%$%W(B <code>text/x-server-parsed-html</code> $B$d(B
<code>text/x-server-parsed-html3</code> $B$N%I%-%e%a%s%H$KBP$7$F$b(B
Apache $B$O(B INCLUDES $B%U%#%k%?$rM-8z$K$7$^$9(B ($B=PNO$5$l$k$b$N$O(B
MIME $B%?%$%W(B <code>text/html</code> $B$K$J$j$^$9(B)$B!#(B</p>
<p>$B>\$7$$>pJs$O(B <a
href="/howto/ssi.html">Tutorial on Server Side Includes</a>.</p>
</section> <!-- /enabling -->
<section id="pathinfo">
<title>$B%5!<%P%5%$%I%$%s%/%k!<%I(B (SSI) $B$G$N(B PATH_INFO</title>
<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<directive
module="core">AcceptPathInfo</directive> $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>
</section> <!-- /pathinfo -->
<section id="elements"><title>$B4pK\MWAG(B</title>
<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>
<example>
&lt;!--#<var>element</var> <var>attribute</var>=<var>value</var>
<var>attribute</var>=<var>value</var> ... --&gt;
</example>
<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>--&gt;</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>&lt;!--#</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 border="1">
<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 <module>mod_include</module> $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
<module>mod_cgi</module> $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>
<section id="element.config"><title>config $BMWAG(B</title>
<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
<directive module="mod_include">SSIUndefinedEcho</directive>
$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
<directive module="mod_include">SSIErrorMsg</directive>
$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>
</section> <!-- /config -->
<section id="element.echo"><title>echo $BMWAG(B</title>
<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 <directive
module="mod_include">SSIUndefinedEcho</directive> $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$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>
<note type="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
</note>
</dd>
</dl>
</section> <!-- /echo -->
<section id="element.exec"><title>exec $BMWAG(B</title>
<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<module>mod_cgi</module> $B$,%5!<%P$KAH$_9~$^$l$F$$$k$$$J$1$l$P(B
$B$J$j$^$;$s!#(B<directive module="core">Option</directive>
<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
$B5/F0$5$l$^$9!#$?$@$7!"%9%/%j%W%H$N$"$k%G%#%l%/%H%j$G$O(B
(<directive module="mod_alias">ScriptAlias</directive>
$B$d(B <directive module="core">Option</directive> <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%9%/%j%W%H$OI8=`(B <a href="mod_cgi.html">CGI</a> $B4D6-$K2C$($F!"(Binclude $BJQ?t$r(B
$B;HMQ$9$k$3$H$,$G$-$^$9!#(B</p>
<example><title>$BNc(B</title>
&lt;!--#exec cgi="/cgi-bin/example.cgi" --&gt;
</example>
<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>
<example>
&lt;!--#include virtual="/cgi-bin/example.cgi?argument=value" --&gt;
</example>
</dd>
<dt><code>cmd</code></dt>
<dd><p>$B%5!<%P$O;XDj$5$l$?J8;zNs$r(B <code>/bin/sh</code> $B$r;H$C$F(B
$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>
<example>
&lt;!--#exec cmd="perl /path/to/perlscript arg1 arg2" --&gt;
</example>
</dd>
</dl>
</section> <!-- /exec -->
<section id="element.fsize"><title>fsize $BMWAG(B</title>
<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>
</section> <!-- /fsize -->
<section id="element.flastmod"><title>flastmod $BMWAG(B</title>
<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>
</section> <!-- /flastmod -->
<section id="element.include"><title>include $BMWAG(B</title>
<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$,@_Dj$5$l$F$$$k>l9g!"(Btext MIME $B%?%$%W(B (<code>text/plain</code>,
<code>text/html</code> $BEy(B) $B$N%I%-%e%a%s%H$N$_%$%s%/%k!<%I$,9T$J$o$l$^$9!#(B
$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$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>
<example>
&lt;!--#include virtual="/cgi-bin/example.cgi?argument=value" --&gt;
</example>
<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>
</section> <!-- /include -->
<section id="element.printenv"><title>printenv $BMWAG(B</title>
<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!<%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>
<example><title>$BNc(B</title>
&lt;!--#printenv --&gt;
</example>
</section> <!-- /printenv -->
<section id="element.set"><title>set $BMWAG(B</title>
<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>
<example><title>$BNc(B</title>
&lt;!--#set var="category" value="help" --&gt;
</example>
</section> <!-- /set -->
</section> <!-- /basic elements -->
<section id="includevars">
<title>Include $BJQ?t(B</title>
<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>&amp;</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>
</section>
<section id="substitution"><title>$BJQ?tCV49(B</title>
<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>
<example>
&lt;!--#if expr="$a = \$test" --&gt;
</example>
<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>
<example>
&lt;!--#set var="Zed" value="${REMOTE_HOST}_${REQUEST_METHOD}" --&gt;
</example>
<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>
<p>$B0J2<$NNc$G$O!"(B<code>DOCUMENT_URI</code> $B$,(B <code>/foo/file.html</code>
$B$N$H$-$K(B "in foo" $B$r!"(B<code>/bar/file.html</code> $B$N$H$-$K(B "in bar" $B$r!"(B
$B$I$A$i$G$b$J$$$H$-$K$O(B "in neither" $B$rI=<($7$^$9!#(B</p>
<example>
&lt;!--#if expr='"$DOCUMENT_URI" = "/foo/file.html"' --&gt;<br />
<indent>
in foo<br />
</indent>
&lt;!--#elif expr='"$DOCUMENT_URI" = "/bar/file.html"' --&gt;<br />
<indent>
in bar<br />
</indent>
&lt;!--#else --&gt;<br />
<indent>
in neither<br />
</indent>
&lt;!--#endif --&gt;
</example>
</section>
<section id="flowctrl">
<title>$B%U%m!<@)8fMWAG(B</title>
<p>$B4pK\E*$J%U%m!<%3%s%H%m!<%kMWAG$O<!$NDL$j$G$9!#(B</p>
<example>
&lt;!--#if expr="<var>test_condition</var>" --&gt;<br />
&lt;!--#elif expr="<var>test_condition</var>" --&gt;<br />
&lt;!--#else --&gt;<br />
&lt;!--#endif --&gt;
</example>
<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$,??$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
<a href="http://www.pcre.org">PCRE</a> $B%(%s%8%s$G<BAu$5$l$F$$$F!"(B
<a href="http://www.perl.com">perl 5</a> $B$HF1$89=J8$r;HMQ$7$^$9!#(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>
<example><title>$BNc(B</title>
&lt;!--#if expr="$QUERY_STRING = /^sid=([a-zA-Z0-9]+)/" --&gt;<br />
<indent>
&lt;!--#set var="session" value="$1" --&gt;<br />
</indent>
&lt;!--#endif --&gt;
</example>
</dd>
<dt><code><var>string1</var> &lt; <var>string2</var><br />
<var>string1</var> &lt;= <var>string2</var><br />
<var>string1</var> &gt; <var>string2</var><br />
<var>string1</var> &gt;= <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> &amp;&amp;
<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>&amp;&amp;</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>
<example>
&lt;!--#if expr="$a = test1 &amp;&amp; $b = test2" --&gt;<br />
&lt;!--#if expr="($a = test1) &amp;&amp; ($b = test2)" --&gt;
</example>
<p>$B??56CM%*%Z%l!<%?(B <code>&amp;&amp;</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>
<example>
<p><code><var>string1</var>&nbsp;&nbsp;&nbsp;&nbsp;<var
>string2</var></code> $B$O(B <code><var>string1</var>&nbsp;<var
>string2</var></code> $B$K$J$j$^$9!#(B<br />
<br />
$B$^$?!"(B<br />
<br />
<code>'<var>string1</var>&nbsp;&nbsp;&nbsp;&nbsp;<var
>string2</var>'</code> $B$O(B <code><var
>string1</var>&nbsp;&nbsp;&nbsp;&nbsp;<var>string2</var></code>
$B$K$J$j$^$9!#(B</p>
</example>
<note><title>$B??56CMI=8=$N:GE,2=(B</title>
<p>$B<0$,$b$C$HJ#;($K$J$j!"=hM}$NB.EYDc2<$,82Cx$K$J$C$?>l9g$O!"(B
$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>&amp;&amp;</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
<module>mod_include</module> $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
<module>mod_include</module> $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>
</note>
</section>
<directivesynopsis>
<name>SSIEndTag</name>
<description>include $BMWAG$r=*N;$5$;$kJ8;zNs(B</description>
<syntax>SSIEndTag <var>tag</var></syntax>
<default>SSIEndTag &quot;--&gt;&quot;</default>
<contextlist><context>server config</context><context>virtual host</context>
</contextlist>
<compatibility>2.0.30 $B0J9_$GMxMQ2DG=(B</compatibility>
<usage>
<p>$B$3$N%G%#%l%/%F%#%V$O(B <module>mod_include</module> $B$,C5$9!"(B
include $BMWAG$N=*N;$r<($9J8;zNs$rJQ99$7$^$9!#(B</p>
<example><title>$BNc(B</title>
SSIEndTag "%&gt;"
</example>
</usage>
<seealso><directive module="mod_include">SSIStartTag</directive></seealso>
</directivesynopsis>
<directivesynopsis>
<name>SSIUndefinedEcho</name>
<description>$BL$Dj5A$NJQ?t$,(B echo $B$5$l$?$H$-$KI=<($5$l$kJ8;zNs(B</description>
<syntax>SSIUndefinedEcho <var>string</var></syntax>
<default>SSIUndefinedEcho &quot;(none)&quot;</default>
<contextlist><context>server config</context><context>virtual host</context>
<context>directory</context><context>.htaccess</context></contextlist>
<override>All</override>
<compatibility>2.0.34 $B0J9_$GMxMQ2DG=(B</compatibility>
<usage>
<p>$B$3$N%G%#%l%/%F%#%V$OJQ?t$,Dj5A$5$l$F$$$J$$$K$b4X$o$i$:(B
&quot;echo&quot; $B$5$l$?$H$-$K(B <module>mod_include</module>
$B$,I=<($9$kJ8;zNs$rJQ99$7$^$9!#(B</p>
<example><title>$BNc(B</title>
SSIUndefinedEcho "&lt;!-- undef --&gt;"
</example>
</usage>
</directivesynopsis>
<directivesynopsis>
<name>SSIErrorMsg</name>
<description>SSI $B$N%(%i!<$,$"$C$?$H$-$KI=<($5$l$k%(%i!<%a%C%;!<%8(B</description>
<syntax>SSIErrorMsg <var>message</var></syntax>
<default>SSIErrorMsg &quot;[an error occurred while processing this
directive]&quot;</default>
<contextlist><context>server config</context><context>virtual host</context>
<context>directory</context><context>.htaccess</context></contextlist>
<override>All</override>
<compatibility>$B%P!<%8%g%s(B 2.0.30 $B0J9_$G;HMQ2DG=(B</compatibility>
<usage>
<p><directive>SSIErrorMsg</directive> $B%G%#%l%/%F%#%V$O(B <module>mod_include</module>
$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>&quot;&lt;!-- Error --&gt;&quot;</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>&lt;!--#config
errmsg=<var>message</var> --&gt;</code> $BMWAG$HF1$88z2L$K$J$j$^$9!#(B</p>
<example><title>$BNc(B</title>
SSIErrorMsg "&lt;!-- Error --&gt;"
</example>
</usage>
</directivesynopsis>
<directivesynopsis>
<name>SSIStartTag</name>
<description>include $BMWAG$r3+;O$9$kJ8;zNs(B</description>
<syntax>SSIStartTag <var>tag</var></syntax>
<default>SSIStartTag &quot;&lt;!--#&quot;</default>
<contextlist><context>server config</context><context>virtual host</context>
</contextlist>
<compatibility>$B%P!<%8%g%s(B 2.0.30 $B0J9_$G;HMQ2DG=(B</compatibility>
<usage>
<p>$B$3$N%G%#%l%/%F%#%V$O(B <module>mod_include</module> $B$,C5$9!"(Binclude
$BMWAG$N3+;O$r<($9J8;zNs$rJQ99$7$^$9!#(B</p>
<p>$BFs$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>
<example><title>$BNc(B</title>
SSIStartTag "&lt;%"<br />
SSIEndTag "%&gt;"
</example>
<p>$B>e$NNc$N$h$&$KBP1~$9$k(B
<directive module="mod_include">SSIEndTag</directive> $B$rJ;$;$F;H$&$H!"(B
$B2<$K<($9Nc$N$h$&$K(B SSI $B%G%#%l%/%F%#%V$r;H$($^$9(B:</p>
<example><title>$B0c$&3+;O$H=*N;$N%?%0$r;H$C$?(B SSI $B%G%#%l%/%F%#%V(B</title>
&lt;%printenv %&gt;
</example>
</usage>
<seealso><directive module="mod_include">SSIEndTag</directive></seealso>
</directivesynopsis>
<directivesynopsis>
<name>SSITimeFormat</name>
<description>$BF|IU$1$r8=$9J8;zNs$N=q<0$r@_Dj$9$k(B</description>
<syntax>SSITimeFormat <var>formatstring</var></syntax>
<default>SSITimeFormat &quot;%A, %d-%b-%Y %H:%M:%S %Z&quot;</default>
<contextlist>
<context>server config</context><context>virtual host</context>
<context>directory</context><context>.htaccess</context></contextlist>
<override>All</override>
<compatibility>2.0.30 $B0J9_$G;HMQ2DG=(B</compatibility>
<usage>
<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>&lt;!--#config
timefmt=<var>formatstring</var> --&gt;</code> $BMWAG$HF1$88z2L$K$J$j$^$9!#(B</p>
<example><title>$BNc(B</title>
SSITimeFormat "%R, %B %d, %Y"
</example>
<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>
</usage>
</directivesynopsis>
<directivesynopsis>
<name>XBitHack</name>
<description>$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</description>
<syntax>XBitHack on|off|full</syntax>
<default>XBitHack off</default>
<contextlist><context>server config</context><context>virtual host</context>
<context>directory</context><context>.htaccess</context></contextlist>
<override>Options</override>
<usage>
<p><directive>XBitHack</directive> $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>text/html</code> $B$H4XO"IU$1$i$l$F$$$k%U%!%$%k$K$N$_1F6A$7$^$9!#(B
<directive>XBitHack</directive> $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>
<dd>$B%f!<%6$N<B9T%S%C%H$,@_Dj$5$l$F$$$k(B <code>text/html</code>
$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$,@_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
<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</note>
</dd>
</dl>
</usage>
</directivesynopsis>
</modulesynopsis>