home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 May / Gamestar_62_2004-05_dvd.iso / Programy / apache_2.0.48-win32-x86-no_ssl.msi / Data.Cab / F252354_ssi.html.ja.jis < prev    next >
Extensible Markup Language  |  2003-05-29  |  26KB  |  479 lines

  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
  7.       -->
  8. <title>Apache $B%A%e!<%H%j%"%k(B: Server Side Includes $BF~Lg(B - Apache HTTP $B%5!<%P(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/">$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">$BMQ8l(B</a> | <a href="../sitemap.html">$B%5%$%H%^%C%W(B</a></p>
  15. <p class="apache">Apache HTTP $B%5!<%P(B $B%P!<%8%g%s(B 2.0</p>
  16. <img alt="" src="../images/feather.gif" /></div>
  17. <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
  18. <div id="path">
  19. <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.0</a></div><div id="page-content"><div id="preamble"><h1>Apache $B%A%e!<%H%j%"%k(B: Server Side Includes $BF~Lg(B</h1>
  20. <div class="toplang">
  21. <p><span>Available Languages: </span><a href="../en/howto/ssi.html" hreflang="en" rel="alternate" title="English"> en </a> |
  22. <a href="../ja/howto/ssi.html" title="Japanese"> ja </a></p>
  23. </div>
  24.  
  25. <p>$B%5!<%P%5%$%I%$%s%/%k!<%I$K$h$C$F!"4{B8$N(B HTML
  26. $B%I%-%e%a%s%H$KF0E*$J%3%s%F%s%D$rDI2C$9$k$3$H$,$G$-$^$9!#(B</p>
  27. </div>
  28. <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#related">$B$O$8$a$K(B</a></li>
  29. <li><img alt="" src="../images/down.gif" /> <a href="#what">SSI $B$H$O(B ?</a></li>
  30. <li><img alt="" src="../images/down.gif" /> <a href="#configuring">SSI $B$r5v2D$9$k$?$a$N%5!<%P$N@_Dj(B</a></li>
  31. <li><img alt="" src="../images/down.gif" /> <a href="#basic">$B4pK\E*$J(B SSI $B%G%#%l%/%F%#%V(B</a></li>
  32. <li><img alt="" src="../images/down.gif" /> <a href="#additionalexamples">$BDI2C$NNc(B</a></li>
  33. <li><img alt="" src="../images/down.gif" /> <a href="#config">$BB>$K2?$,@_Dj$G$-$k$N$+(B ?</a></li>
  34. <li><img alt="" src="../images/down.gif" /> <a href="#exec">$B%3%^%s%I$N<B9T(B</a></li>
  35. <li><img alt="" src="../images/down.gif" /> <a href="#advanced">$B9bEY$J(B SSI $B%F%/%K%C%/(B</a></li>
  36. <li><img alt="" src="../images/down.gif" /> <a href="#conclusion">$B=*$o$j$K(B</a></li>
  37. </ul></div>
  38. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  39. <div class="section">
  40. <h2><a name="related" id="related">$B$O$8$a$K(B</a></h2>
  41.  <table class="related"><tr><th>$B4XO"%b%8%e!<%k(B</th><th>$B4XO"%G%#%l%/%F%#%V(B</th></tr><tr><td><ul><li><code class="module"><a href="../mod/mod_include.html">mod_include</a></code></li><li><code class="module"><a href="../mod/mod_cgi.html">mod_cgi</a></code></li><li><code class="module"><a href="../mod/mod_expires.html">mod_expires</a></code></li></ul></td><td><ul><li><code class="directive"><a href="../mod/core.html#options">Options</a></code></li><li><code class="directive"><a href="../mod/mod_include.html#xbithack">XBitHack</a></code></li><li><code class="directive"><a href="../mod/mod_mime.html#addtype">AddType</a></code></li><li><code class="directive"><a href="../mod/core.html#setoutputfilter">SetOutputFilter</a></code></li><li><code class="directive"><a href="../mod/mod_setenvif.html#browsermatchnocase">BrowserMatchNoCase</a></code></li></ul></td></tr></table>
  42.  
  43.     <p>$B$3$N5-;v$O!"DL>o$OC1$K(B SSI $B$H8F$P$l$k(B Server Side Includes
  44.     $B$r07$$$^$9!#$3$N5-;v$K$*$$$F$O!"%5!<%P$G$N(B SSI $B$r5v2D$9$k$?$a$N@_Dj$H!"(B
  45.     $B8=:_$N(B HTML $B%Z!<%8$KF0E*$J%3%s%F%s%D$r2C$($k$?$a$N$$$/$D$+$N4pK\E*$J(B
  46.     SSI $B5;=Q$r>R2p$7$^$9!#(B</p>
  47.  
  48.     <p>$B5-;v$N8eH>$G$O!"(BSSI $B%G%#%l%/%F%#%V$G(B SSI
  49.     $B$H6&$K<B9T$9$k$3$H$,$G$-$k>r7oJ8$N$h$&$J(B
  50.     $B4vJ,9bEY$J;vJA$K$D$$$F=R$Y$F$$$^$9!#(B</p>
  51.  
  52. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  53. <div class="section">
  54. <h2><a name="what" id="what">SSI $B$H$O(B ?</a></h2>
  55.  
  56.     <p>SSI (Server Side Includes) $B$O!"(BHTML
  57.     $B%Z!<%8Cf$KG[CV$5$l$k%G%#%l%/%F%#%V$G$"$j!"(B
  58.     $B%5!<%P$G%Z!<%8$rDs6!$9$k;~$KI>2A$5$l$^$9!#(BSSI $B$O!"(BCGI
  59.     $B%W%m%0%i%`$d$=$NB>$NF0E*$J5;=Q$GA4$F$N%Z!<%8$rDs6!$;$:$K!"(B
  60.     $BF0E*$K@8@.$5$l$?%3%s%F%s%D$r8=:_$N(B HTML $B%Z!<%8$K2C$($^$9!#(B</p>
  61.  
  62.     <p>$B$I$&$$$&>l9g$K(B SSI $B$r;H$$!"$I$&$$$&>l9g$K%W%m%0%i%`$G(B
  63.     $B%Z!<%8$r40A4$K@8@.$9$k$+$O!"%Z!<%8$N$&$A$I$NDxEY$,@EE*$G$"$j!"(B
  64.     $B%Z!<%8$,Ds6!$5$l$k$?$S$K:F7W;;$9$kI,MW$,$I$NDxEY$"$k$+$GDL>o$O7hDj$7$^$9!#(B
  65.     SSI $B$O8=:_;~9o$N$h$&$J>.$5$$>pJs$r2C$($k$K$O$&$C$F$D$1$NJ}K!$G$9!#(B
  66.     $B$7$+$7!"$=$N%Z!<%8$N$[$H$s$I$NItJ,$,Ds6!;~$K@8@.$5$l$k>l9g$O!"(B
  67.     $BB>$NJ}K!$rC5$9I,MW$,$"$j$^$9!#(B</p>
  68. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  69. <div class="section">
  70. <h2><a name="configuring" id="configuring">SSI $B$r5v2D$9$k$?$a$N%5!<%P$N@_Dj(B</a></h2>
  71.  
  72.  
  73.     <p>$B%5!<%P$G(B SSI $B$r5v2D$9$k$K$O!"(B<code>httpd.conf</code>
  74.     $B%U%!%$%k$^$?$O(B <code>.htaccess</code>
  75.     $B%U%!%$%k$K<!$N%G%#%l%/%F%#%V$r;XDj$9$kI,MW$,$"$j$^$9(B:</p>
  76. <div class="example"><p><code>
  77.         Options +Includes
  78. </code></p></div>
  79.  
  80.     <p>$B$3$N;XDj$O!"(B$B%U%!%$%k$r(B SSI
  81.     $B%G%#%l%/%F%#%V$G2r@O$5$;$k$3$H$r5v2D$9$k$H$$$&$3$H$r(B Apache
  82.     $B$KEA$($^$9!#$[$H$s$I$N@_Dj$G$O$*8_$$$r>e=q$-$G$-$k!"J#?t$N(B
  83.     <code class="directive"><a href="../mod/core.html#options">Options</a></code> $B$,$"$k$3$H$K(B
  84.     $BCm0U$7$F$/$@$5$$!#$*$=$i$/!"@_Dj$,:G8e$KI>2A$5$l$k$3$H$r(B
  85.     $BJ]>Z$5$l$k$?$a$K!"(BSSI $B$r;HMQ$7$?$$%G%#%l%/%H%j$K(B <code>Options</code>
  86.     $B%G%#%l%/%F%#%V$rE,MQ$9$kI,MW$,$"$k$G$7$g$&!#(B</p>
  87.  
  88.     <p>$BA4$F$N%U%!%$%k$,(B SSI
  89.     $B%G%#%l%/%F%#%V$G2r@O$5$l$k$H$$$&$o$1$G$O$"$j$^$;$s!#(B
  90.     $B$I$N%U%!%$%k$,2r@O$5$l$k$+$r(B Apache $B$KEA$($kI,MW$,$"$j$^$9!#(B
  91.     $B$3$l$r9T$J$&$K$OFs$DJ}K!$,$"$j$^$9!#(B
  92.     $B<!$N%G%#%l%/%F%#%V$r;H$&$3$H$G!"Nc$($P(B <code>.shtml</code>
  93.     $B$N$h$&$JFCJL$J%U%!%$%k3HD%;R$r;}$D%U%!%$%k$r2r@O$9$k$h$&(B
  94.     Apache $B$KEA$($k$3$H$,$G$-$^$9(B:</p>
  95. <div class="example"><p><code>
  96.         AddType text/html .shtml<br />
  97.     AddOutputFilter INCLUDES .shtml
  98. </code></p></div>
  99.  
  100.     <p>$B$3$NJ}K!$N7gE@$O!"$b$78=:_$N%Z!<%8$K(B SSI $B%G%#%l%/%F%#%V$r2C$($?$$>l9g!"(B
  101.     $B$=$l$i$N%G%#%l%/%F%#%V$,<B9T$5$l$k$h$&$K(B 
  102.     <code>.shtml</code> $B3HD%;R$K$9$k$?$a!"$=$N%Z!<%8$NL>A0$H!"(B
  103.     $B$=$N%Z!<%8$X$NA4$F$N%j%s%/$rJQ99$7$J$1$l$P$J$i$J$$$3$H$G$9!#(B</p>
  104.  
  105.     <p>$B$b$&0l$D$NJ}K!$O!"(B<code class="directive"><a href="../mod/mod_include.html#xbithack">XBitHack</a></code>
  106.     $B%G%#%l%/%F%#%V$r;HMQ$9$k$3$H$G$9(B:</p>
  107. <div class="example"><p><code>
  108.         XBitHack on
  109. </code></p></div>
  110.  
  111.     <p><code class="directive"><a href="../mod/mod_include.html#xbithack">XBitHack</a></code> 
  112.     $B$O!"%U%!%$%k$N<B9T%S%C%H$,N)$C$F$$$k>l9g!"(B
  113.     SSI $B%G%#%l%/%F%#%V$K$h$j2r@O$9$k$3$H$r(B Apache $B$KEA$($^$9!#(B
  114.     $B=>$C$F!"(BSSI $B%G%#%l%/%F%#%V$r8=:_$N%Z!<%8$K2C$($k$?$a$K$O!"(B
  115.     $B%U%!%$%kL>$rJQ99$7$J$/$F$b$h$/!"C1$K(B <code>chmod</code>
  116.     $B$r;HMQ$7$F%U%!%$%k$r<B9T2DG=$K$9$k$@$1$G:Q$_$^$9!#(B</p>
  117. <div class="example"><p><code>
  118.         chmod +x pagename.html
  119. </code></p></div>
  120.  
  121.     <p>$B9T$J$&$Y$-$G$O$J$$$3$H$K4X$9$kC;$$%3%a%s%H!#;~!9C/$+$,!"A4$F$N(B
  122.     <code>.html</code> $B%U%!%$%k$r(B SSI $B$G2r@O$9$k$h$&(B Apache $B$KEA$($l$P!"(B
  123.     $B$o$6$o$6(B <code>.shtml</code> $B$H$$$&%U%!%$%kL>$K$9$kI,MW$,$J$$$H$$$C$F(B
  124.     $BA&$a$k$N$r8+$k$3$H$G$7$g$&!#$3$&$$$&?M$?$A$O!"$*$=(B$B$i$/(B
  125.     <code class="directive"><a href="../mod/mod_include.html#xbithack">XBitHack</a></code>
  126.     $B$K$D$$$FJ9$$$?$3$H$,$J$$$N$G$7$g$&!#(B
  127.     $B$3$NJ}K!$K$D$$$FCm0U$9$k$3$H$O!"$?$H$((B SSI
  128.     $B%G%#%l%/%F%#%V$rA4$/4^$^$J$$>l9g$G$b!"(BApache $B$,%/%i%$%"%s%H$K(B
  129.     $BAw$kA4$F$N%U%!%$%k$r:G8e$^$GFI$_9~$^$;$k$3$H$K$J$j$^$9!#(B
  130.     $B$3$NJ}K!$O$+$J$j=hM}$rCY$/$9$k$b$N$G$"$j!"NI$/$J$$%"%$%G%"$G$9!#(B</p>
  131.  
  132.     <p>$B$b$A$m$s!"(BWindows $B$G$O$=$N$h$&$J<B9T%S%C%H$r%;%C%H(B
  133.     $B$9$k$h$&$J$b$N$O$"$j$^$;$s$N$G%*%W%7%g%s$,>/$7@)8B$5$l$F$$$^$9!#(B</p>
  134.  
  135.     <p>$B%G%U%)%k%H$N@_Dj$G$O!"(BApache $B$O(B SSI $B%Z!<%8$K$D$$$F:G=*JQ99;~9o$d(B
  136.     $B%3%s%F%s%D$ND9$5$r(B HTTP $B%X%C%@$KAw$j$^$;$s!#(B
  137.     $BF0E*$J%3%s%F%s%D$G$"$k$?$a!"$=$l$i$NCM$r7W;;$9$k$N$,Fq$7$$$+$i$G$9!#(B
  138.     $B$3$N$?$a%I%-%e%a%s%H$,%-%c%C%7%e$5$l$J$/$J$j!"(B
  139.     $B7k2L$H$7$F%/%i%$%"%s%H$N@-G=$,CY$/$J$C$?$h$&$K46$8$5$;$k$3$H$K$J$j$^$9!#(B
  140.     $B$3$l$r2r7h$9$kJ}K!$,Fs$D$"$j$^$9(B:</p>
  141.  
  142.     <ol>
  143.       <li><code>XBitHack Full</code> $B@_Dj$r;HMQ$9$k!#(B
  144.       $B$3$N@_Dj$K$h$j!"$b$H$b$HMW5a$5$l$?%U%!%$%k$N;~9o$r;2>H$7!"(B
  145.       $BFI$_9~$^$l$k%U%!%$%k$NJQ99;~9o$rL5;k$7$F:G=*JQ99;~9o$r7hDj$9$k$h$&(B
  146.       Apache $B$KEA$($^$9!#(B</li>
  147.  
  148.       <li><a href="../mod/mod_expires.html">mod_expires</a>
  149.       $B$GDs6!$5$l$F$$$k%G%#%l%/%F%#%V$r;HMQ$7$F!"(B
  150.       $B%U%!%$%k$,L58z$K$J$k;~9o$rL@<($7$^$9!#$3$l$K$h$j!"(B
  151.       $B%V%i%&%6$H%W%m%-%7$K%-%c%C%7%e$,M-8z$G$"$k$3$H$rDLCN$7$^$9!#(B</li>
  152.     </ol>
  153. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  154. <div class="section">
  155. <h2><a name="basic" id="basic">$B4pK\E*$J(B SSI $B%G%#%l%/%F%#%V(B</a></h2>
  156.  
  157.     <p>SSI $B%G%#%l%/%F%#%V$O0J2<$NJ8K!$G5-=R$7$^$9(B:</p>
  158. <div class="example"><p><code>
  159.         <!--#element attribute=value attribute=value ... -->
  160. </code></p></div>
  161.  
  162.     <p>HTML $B$N%3%a%s%H$N$h$&$J=q<0$r$7$F$$$k$N$G!"$b$7(B SSI
  163.     $B$r@5$7$/F0:n2DG=$K$7$J$1$l$P!"%V%i%&%6$O$=$l$rL5;k$9$k$G$7$g$&!#(B
  164.     $B$7$+$7!"(BHTML $B%=!<%9Cf$G$O8+$($^$9!#$b$7(B SSI $B$r@5$7$/@_Dj$7$?$J$i!"(B
  165.     $B%G%#%l%/%F%#%V$O$=$N7k2L$HCV$-49$($i$l$^$9!#(B</p>
  166.  
  167.     <p>element $B$O$?$/$5$s$"$k$b$N$+$i0l$D;XDj$9$k$3$H$,$G$-$^$9!#(B
  168.     $B;XDj$G$-$k$b$N$NBgB??t$K$D$$$F$O!"<!2s$b$&>/(B$B$7>\$7$/@bL@$7$^$9!#(B
  169.     $B$3$3$G$O!"(BSSI $B$G9T$J$&$3$H$,$G$-$kNc$r$$$/$D$+<($7$^$9!#(B</p>
  170.  
  171. <h3><a name="todaysdate" id="todaysdate">$B:#F|$NF|IU(B</a></h3>
  172.  
  173. <div class="example"><p><code>
  174.         <!--#echo var="DATE_LOCAL" -->
  175. </code></p></div>
  176.  
  177.     <p><code>echo</code> $BMWAG$OC1$KJQ?t$NCM$r=PNO$7$^$9!#(B
  178.     CGI $B%W%m%0%i%`$KMxMQ2DG=$J4D6-JQ?t$NA4$F$N(B
  179.     $B%;%C%H$r4^$`B?$/$NI8=`JQ?t$,$"$j$^$9!#$^$?!"(B<code>set</code>
  180.     $BMWAG$rMQ$$$k$3$H$G!"FH<+$NJQ?t$rDj5A$9$k$3$H$,$G$-$^$9!#(B
  181.     </p>
  182.  
  183.     <p>$B=PNO$5$l$kF|IU$N=q<0$,9%$-$G$O$J$$>l9g!"$=$N=q<0$r=$@5$9$k$?$a$K!"(B
  184.     <code>config</code> $BMWAG$K(B <code>timefmt</code>
  185.     $BB0@-$r;HMQ$9$k$3$H$,$G$-$^$9!#(B</p>
  186.  
  187. <div class="example"><p><code>
  188.         <!--#config timefmt="%A %B %d, %Y" --><br />
  189.         Today is <!--#echo var="DATE_LOCAL" -->
  190. </code></p></div>
  191.  
  192.  
  193. <h3><a name="lastmodified" id="lastmodified">$B%U%!%$%k$NJQ99F|(B</a></h3>
  194.  
  195. <div class="example"><p><code>
  196.         This document last modified <!--#flastmod file="index.html" -->
  197. </code></p></div>
  198.  
  199.     <p>$B$3$NMWAG$b(B <code>timefmt</code>
  200.     $B%U%)!<%^%C%H$N@_Dj$K=>$$$^$9!#(B</p>
  201.  
  202.  
  203. <h3><a name="cgi" id="cgi">CGI $B%W%m%0%i%`$N7k2L$r<h$j9~$`(B</a></h3>
  204.  
  205.     <p>$B$3$l$O!"A4$F$N?M$N$*5$$KF~$j$G$"$k(B ``$B%R%C%H%+%&%s%?(B'' $B$N$h$&$J(B
  206.     CGI $B%W%m%0%i%`$N7k2L$r=PNO$9$k(B SSI
  207.     $B$N$h$j0lHLE*$J;HMQ$N$&$A$N0l$D$G$9!#(B</p>
  208.  
  209. <div class="example"><p><code>
  210.         <!--#include virtual="/cgi-bin/counter.pl" -->
  211. </code></p></div>
  212.  
  213.  
  214. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  215. <div class="section">
  216. <h2><a name="additionalexamples" id="additionalexamples">$BDI2C$NNc(B</a></h2>
  217.  
  218.  
  219.     <p>$B0J2<$O!"(BSSI $B$r;HMQ$7$F(B HTML
  220.     $B%I%-%e%a%s%H$K$*$$$F$G$-$k$3$H$N$$$/$D$+$NFCJL$JNc$G$9!#(B</p>
  221.  
  222. <h3><a name="docmodified" id="docmodified">$B$$$D$3$N%I%-%e%a%s%H$O=$@5$5$l$?$N$+(B
  223. ?</a></h3>
  224.  
  225.     <p>$B@h$K!"%I%-%e%a%s%H$,:G8e$KJQ99$5$l$?$N$O$$$D$+$r(B
  226.     $B%f!<%6$KDLCN$9$k$?$a$K(B SSI $B$r;HMQ$9$k$3$H$,$G$-$k$3$H$r=R$Y$^$7$?!#(B
  227.     $B$7$+$7$J$,$i!"<B:]$NJ}K!$O!"$$$/$V$sLdBj$N$^$^$K$7$F$*$-$^$7$?!#(B
  228.     HTML $B%I%-%e%a%s%H$KG[CV$5$l$?<!$N%3!<%I$O!"%Z!<%8$K$=$N$h$&$J(B
  229.     $B%?%$%`%9%?%s%W$rF~$l$k$G$7$g$&!#$b$A$m$s!">e=R$N$h$&$K!"(B
  230.     SSI $B$r@5$7$/F0:n2DG=$K$7$F$*$/I,MW$,$"$j$^$9!#(B</p>
  231. <div class="example"><p><code>
  232.         <!--#config timefmt="%A %B %d, %Y" --><br />
  233.         This file last modified <!--#flastmod file="ssi.shtml" -->
  234. </code></p></div>
  235.  
  236.     <p>$B$b$A$m$s!"(B<code>ssi.shtml</code>
  237.     $B$NItJ,$r<B:]$NEv3:%U%!%$%kL>$HCV$-49$($kI,MW$,$"$j$^$9!#(B
  238.     $B$b$7!"$"$i$f$k%U%!%$%k$KD%$k$3$H$,$G$-$k0lHLE*$J%3!<%I$rC5$7$F$$$k$J$i!"(B
  239.     $B$3$l$OITJX$G$"$k$+$b$7$l$^$;$s!#$*$=$i$/$=$N>l9g$O!"(B
  240.     $B$=$&$9$kBe$o$j$KJQ?t(B <code>LAST_MODIFIED</code>
  241.     $B$r;HMQ$7$?$$$H9M$($k$G$7$g$&(B:</p>
  242. <div class="example"><p><code>
  243.         <!--#config timefmt="%D" --><br />
  244.         This file last modified <!--#echo var="LAST_MODIFIED" -->
  245. </code></p></div>
  246.  
  247.     <p><code>timefmt</code>
  248.     $B=q<0$K$D$$$F$N$h$j>\:Y$K$D$$$F$O!"$*9%$_$N8!:w%5%$%H$K9T$-!"(B
  249.     <code>strftime</code> $B$G8!:w$7$F$_$F$/$@$5$$!#J8K!$OF1$8$G$9!#(B</p>
  250.  
  251.  
  252. <h3><a name="standard-footer" id="standard-footer">$BI8=`$N%U%C%?$rA^F~$9$k(B</a></h3>
  253.  
  254.  
  255.     <p>$B$b$7?t%Z!<%8$rD6$($k%Z!<%8$r;}$D%5%$%H$r4IM}$7$F$$$k$J$i$P!"(B
  256.     $BA4%Z!<%8$KBP$7$FJQ9`$r9T$J$&$3$H$,K\Ev$K6lDK$H$J$jF@$k$3$H$,(B
  257.     $BJ,$+$k$G$7$g$&!#A4$F$N%Z!<%8$KEO$C$F$"$k<o$NI8=`E*$J304Q$r(B
  258.     $B0];}$7$h$&$H$7$F$$$k$J$i$PFC$K$=$&$G$7$g$&!#(B</p>
  259.  
  260.     <p>$B%X%C%@$d%U%C%?MQ$NA^F~MQ%U%!%$%k$r;HMQ$9$k$3$H$G!"(B
  261.     $B$3$N$h$&$J99?7$K$+$+$kIiC4$r8:$i$9$3$H$,$G$-$^$9!#(B
  262.     $B0l$D$N%U%C%?%U%!%$%k$r:n@.$7!"$=$l$r(B <code>include</code>
  263.     SSI $B%3%^%s%I$G3F%Z!<%8$KF~$l$k$@$1$G:Q$_$^$9!#(B<code>include</code>
  264.     $BMWAG$O!"(B<code>file</code> $BB0@-$^$?$O(B <code>virtual</code>
  265.     $BB0@-$N$$$:$l$+$r;HMQ$7$F$I$N%U%!%$%k$rA^F~$9$k$+$r7h$a$k$3$H$,$G$-$^$9!#(B
  266.     <code>file</code> $BB0@-$O!"(B<em>$B%+%l%s%H%G%#%l%/%H%j$+$i$NAjBP%Q%9$G<($5$l$?(B
  267.     </em>$B%U%!%$%k%Q%9$G$9!#(B
  268.     $B$=$l$O(B / $B$G;O$^$k@dBP%U%!%$%k%Q%9$K$O$G$-$:!"$^$?!"$=$N%Q%9$N0lIt$K(B ../
  269.     $B$r4^$`$3$H$,$G$-$J$$$3$H$r0UL#$7$^$9!#(B<code>virtual</code>
  270.     $BB0@-$O!"$*$=$i$/$h$jJXMx$@$H;W$$$^$9$,!"Ds6!$9$k%I%-%e%a%s%H$+$i$NAjBP(B
  271.     URL $B$G;XDj$9$Y$-$G$9!#$=$l$O(B / $B$G;O$a$k$3$H$,$G$-$^$9$,!"(B
  272.     $BDs6!$9$k%U%!%$%k$HF1$8%5!<%P>e$KB8:_$7$J$/$F$O$J$j$^$;$s!#(B</p>
  273. <div class="example"><p><code>
  274.         <!--#include virtual="/footer.html" -->
  275. </code></p></div>
  276.  
  277.     <p>$B;d$O:G8e$NFs$D$rAH$_9g$o$;$F!"(B<code>LAST_MODIFIED</code>
  278.     $B%G%#%l%/%F%#%V$r%U%C%?%U%!%$%k$NCf$KCV$/$3$H$,$h$/$"$j$^$9!#(B
  279.     SSI $B%G%#%l%/%F%#%V$O!"A^F~MQ$N%U%!%$%k$K4^$^$;$?$j!"(B
  280.     $BA^F~%U%!%$%k$N%M%9%H$r$7$?$j$9$k$3$H$,$G$-$^$9!#$9$J$o$A!"(B
  281.     $BA^F~MQ$N%U%!%$%k$OB>$N%U%!%$%k$r:F5"E*$KA^F~$9$k$3$H$,$G$-$^$9!#(B</p>
  282.  
  283.  
  284. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  285. <div class="section">
  286. <h2><a name="config" id="config">$BB>$K2?$,@_Dj$G$-$k$N$+(B ?</a></h2>
  287.  
  288.  
  289.     <p>$B;~9o=q<0$r(B <code>config</code> $B$G@_Dj$G$-$k$3$H$K2C$($F!"(B
  290.     $B99$KFs$D(B <code>config</code> $B$G@_Dj$9$k$3$H$,$G$-$^$9!#(B</p>
  291.  
  292.     <p>$BDL>o!"(BSSI $B%G%#%l%/%F%#%V$G2?$+$,$&$^$/$$$+$J$$$H$-$O!"(B
  293.     $B<!$N%a%C%;!<%8$,=PNO$5$l$^$9!#(B</p>
  294. <div class="example"><p><code>
  295.         [an error occurred while processing this directive]
  296. </code></p></div>
  297.  
  298.     <p>$B$3$N%a%C%;!<%8$rB>$N$b$N$K$7$?$$>l9g!"(B<code>config</code>
  299.     $BMWAG$N(B <code>errmsg</code> $BB0@-$GJQ99$9$k$3$H$,$G$-$^$9(B:</p>
  300. <div class="example"><p><code>
  301.         <!--#config errmsg="[It appears that you don't know how to use SSI]" -->
  302. </code></p></div>
  303.  
  304.     <p>$B$*$=$i$/!"%(%s%I%f!<%6$O$3$N%a%C%;!<%8$r7h$7$F8+$k$3$H$O$"$j$^$;$s!#(B
  305.     $B$J$<$J$i!"$=$N%5%$%H$,@8$-$?>uBV$K$J$kA0$K(B SSI $B%G%#%l%/%F%#%V$K4X$9$k(B
  306.     $BA4$F$NLdBj$r2r7h$7$F$$$k$O$:$@$+$i$G$9!#(B($B$=$&$G$9$h$M(B?)</p>
  307.  
  308.     <p>$B$=$7$F!"(B<code>config</code> $B$K$*$$$F(B <code>sizefmt</code>
  309.     $BB0@-$r;HMQ$9$k$3$H$G!"(B
  310.     $BJV$5$l$k%U%!%$%k%5%$%:$N=q<0$r@_Dj$9$k$3$H$,$G$-$^$9!#(B
  311.     $B%P%$%H?t$K$O(B <code>bytes</code> $B$r!"E,Ev$K(B Kb $B$d(B Mb
  312.     $B$KC;=L$5$;$k$K$O(B <code>abbrev</code> $B$r;XDj$9$k$3$H$,$G$-$^$9!#(B</p>
  313.     </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  314. <div class="section">
  315. <h2><a name="exec" id="exec">$B%3%^%s%I$N<B9T(B</a></h2>
  316.     
  317.  
  318.     <p>$B:#8e?t%v7n$N$&$A$K!">.$5$J(B CGI $B%W%m%0%i%`$H(B SSI
  319.     $B$r;HMQ$9$k5-;v$r=P$7$?$$$H9M$($F$$$^$9!#$3$3$G$O$=$l$H$OJL$K!"(B
  320.     <code>exec</code> $BMWAG$K$h$C$F9T$J$&$3$H$,$G$-$k$3$H$r<($7$^$9!#(B
  321.     SSI $B$K%7%'%k(B ($B@53N$K$O(B <code>/bin/sh</code>$B!#(BWin32 $B$J$i$P(B DOS $B%7%'%k(B)
  322.     $B$r;HMQ$7$F%3%^%s%I$r<B9T$5$;$k$3$H$,$G$-$^$9!#(B
  323.     $B2<5-$N(B$BNc$G$O!"%G%#%l%/%H%j%j%9%H=PNO$r9T$J$$$^$9!#(B</p>
  324. <div class="example"><p><code>
  325.         <pre><br />
  326.         <!--#exec cmd="ls" --><br />
  327.         </pre>
  328. </code></p></div>
  329.  
  330.     <p>Windows $B>e$G$O!"(B</p>
  331. <div class="example"><p><code>
  332.         <pre><br />
  333.         <!--#exec cmd="dir" --><br />
  334.         </pre>
  335. </code></p></div>
  336.  
  337.     <p>Windows $B>e$G$O!"$3$N%G%#%l%/%F%#%V$K$h$C$F$$$/$D$+$N4qL/$J(B
  338.     $B=q<0$K5$$E$/$G$7$g$&!#$J$<$J$i(B <code>dir</code> $B$N=PNO$,J8;zNs(B
  339.     ``<<code>dir</code>>'' $B$r4^$_!"%V%i%&%6$r:.Mp$5$;$k$+$i$G$9!#(B</p>
  340.  
  341.     <p>$B$3$N5!G=$OHs>o$K4m81$G$"$j!"$I$s$J%3!<%I$G$b(B <code>exec</code>
  342.     $B%?%0$KKd$a9~$^$l$F$7$^$($P<B9T$9$k$3$H$KCm0U$7$F$/$@$5$$!#Nc$($P(B 
  343.     `` $B%2%9%H%V%C%/(B '' $B$N$h$&$K!"$b$7!"(B
  344.     $B%f!<%6$,%Z!<%8$NFbMF$rJT=8$G$-$k>u67$K$"$k$J$i$P!"(B
  345.     $B$3$N5!G=$r3N<B$KM^@)$7$F$/$@$5$$!#(B<code>Options</code>
  346.     $B%G%#%l%/%F%#%V$N(B <code>IncludesNOEXEC</code> $B0z?t$r;XDj$9$k$3$H$G!"(B
  347.     SSI $B$O5v2D$9$k$1$l$I(B <code>exec</code>
  348.     $B5!G=$O5v2D$7$J$$$h$&$K$9$k$3$H$,$G$-$^$9!#(B</p>
  349.     </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  350. <div class="section">
  351. <h2><a name="advanced" id="advanced">$B9bEY$J(B SSI $B%F%/%K%C%/(B</a></h2>
  352.  
  353.  
  354.     <p>$B%3%s%F%s%D$r=PNO$9$k$3$H$K2C$(!"(BApache SSI $B$OJQ?t$r@_Dj$7!"(B
  355.     $B$=$7$FHf3S$H>r7oJ,4t$K$=$NJQ?t$r;HMQ$G$-$k5!G=$rDs6!$7$F$$$^$9!#(B
  356.     </p>
  357.  
  358. <h3><a name="caveat" id="caveat">$B7Y9p(B</a></h3>
  359.  
  360.     <p>$B$3$N5-;v$G=R$Y$?BgItJ,$N5!G=$O!"(BApache 1.2
  361.     $B0J9_$r;HMQ$7$F$$$k>l9g$N$_MxMQ2DG=$G$9!#$b$A$m$s!"$b$7(B Apache 1.2
  362.     $B0J9_$r;HMQ$7$F$J$$>l9g!"D>$A$K%"%C%W%0%l!<%I$9$kI,MW$,$"$j$^$9!#(B
  363.     $B$5$!!":#$=$l$r9T$J$$$J$5$$!#$=$l$^$GBT$C$F$$$^$9!#(B</p>
  364.  
  365.  
  366. <h3><a name="variables" id="variables">$BJQ?t$r@_Dj$9$k(B</a></h3>
  367.  
  368.     <p><code>set</code> $B%G%#%l%/%F%#%V$r;HMQ$7$F!"(B
  369.     $B8e$G;HMQ$9$k$?$a$KJQ?t$r@_Dj$9$k$3$H$,$G$-$^$9!#(B
  370.     $B$3$l$O8e$N@bL@$GI,MW$K$J$k$N$G!"$3$3$G$=$l$K$D$$$F=R$Y$F$$$^$9!#(B
  371.     $BJ8K!$O0J2<$N$H$*$j$G$9(B:</p>
  372. <div class="example"><p><code>
  373.         <!--#set var="name" value="Rich" -->
  374. </code></p></div>
  375.  
  376.     <p>$B$3$N$h$&$KC1=c$KJ8;z$I$*$j$K@_Dj$9$k$3$H$K2C$(!"(B
  377.     $BNc$($P4D6-JQ?t$dA0$N5-;v$G=R$Y$?JQ?t(B
  378.     ($BNc$($P(B <code>LAST_MODIFIED</code> $B$N$h$&$J(B)
  379.     $B$r4^$`B>$N$"$i$f$kJQ(B$B?t$rCM$r@_Dj$9$k$N$K;HMQ$9$k$3$H$,$G$-$^$9!#(B
  380.     $BJQ?tL>$NA0$K%I%k5-9f(B ($) $B$r;HMQ$9$k$3$H$G!"(B
  381.     $B$=$l$,%j%F%i%kJ8;zNs$G$O$J$/$FJQ?t$G$"$k$3$H$r<($7$^$9!#(B</p>
  382. <div class="example"><p><code>
  383.         <!--#set var="modified" value="$LAST_MODIFIED" -->
  384. </code></p></div>
  385.  
  386.     <p>$B%I%k5-9f(B ($) $B$rJ8;z$H$7$FJQ?t$NCM$KF~$l$k$K$O!"(B
  387.     $B%P%C%/%9%i%C%7%e$K$h$C$F%I%k5-9f$r%(%9%1!<%W$9$kI,MW$,$"$j$^$9!#(B</p>
  388. <div class="example"><p><code>
  389.         <!--#set var="cost" value="\$100" -->
  390. </code></p></div>
  391.  
  392.     <p>$B:G8e$K$J$j$^$9$,!"D9$$J8;zNs$NCf$KJQ?t$rCV$-$?$$>l9g$G!"(B
  393.     $BJQ?tL>$,B>$NJ8;z$H$V$D$+$k2DG=@-$,$"$j!"(B
  394.     $B$=$l$i$NJ8;z$K$D$$$F:.Mp$7$F$7$^$&>l9g!"$3$N:.Mp$r<h$j=|$/$?$a!"(B
  395.     $BJQ?tL>$rCf3g8L$G0O$`$3$H$,$G$-$^$9(B
  396.     ($B$3$l$K$D$$$F$NNI$$Nc$r<($9$N$OFq$7$$$N$G$9$,!"(B
  397.     $B$*$=$i$/J,$+$C$F$$$?$@$1$k$G$7$g$&(B)$B!#(B
  398.     </p>
  399. <div class="example"><p><code>
  400.         <!--#set var="date" value="${DATE_LOCAL}_${DATE_GMT}" -->
  401. </code></p></div>
  402.  
  403.  
  404. <h3><a name="conditional" id="conditional">$B>r7o<0(B</a></h3>
  405.  
  406.  
  407.     <p>$B$5$F!"JQ?t$r;}$C$F$$$F!"(B
  408.     $B$=$l$i$NCM$r@_Dj$7$FHf3S$9$k$3$H$,$G$-$k$N$G$9$+$i!"(B
  409.     $B>r7o$rI=$9$?$a$K$=$l$i$r;HMQ$9$k$3$H$,$G$-$^$9!#$3$l$K$h$j(B
  410.     SSI $B$O$"$k<o$N>.$5$J%W%m%0%i%_%s%08@8l$K$J$C$F$$$^$9!#(B
  411.     <code class="module"><a href="../mod/mod_include.html">mod_include</a></code> $B$O>r7o$rI=8=$9$k$?$a$K(B <code>if</code>,
  412.     <code>elif</code>, <code>else</code>, <code>endif</code>
  413.     $B9=B$$rDs6!$7$F$$$^$9!#$3$l$K$h$C$F!"(B
  414.     $B0l$D$N<B:]$N%Z!<%8$+$iJ#?t$NO@M}%Z!<%8$r8z2LE*$K@8@.$9$k$3$H$,$G$-$^$9!#(B</p>
  415.  
  416.     <p>$B>r7o9=B$$O0J2<$N$H$*$j$G$9(B:</p>
  417. <div class="example"><p><code>
  418.     <!--#if expr="test_condition" --><br />
  419.     <!--#elif expr="test_condition" --><br />
  420.     <!--#else --><br />
  421.     <!--#endif -->
  422. </code></p></div>
  423.  
  424.     <p><em>test_condition</em>
  425.     $B$O$"$i$f$k<oN`$NO@M}E*Hf3S$r$9$k$3$H$,$G$-$^$9!#(B
  426.     $BCM$rHf3S$7$?$j!"$=$NCM$,(B ``$B??(B'' $B$+$I$&$+$rI>2A$7$^$9(B
  427.     ($B6u$G$J$$$J$iM?$($i$l$?J8;zNs$O??$G$9(B)$B!#(B
  428.     $BMxMQ2DG=$JHf3S1i;;;R$NA4$F$N%j%9%H$K$D$$$F$O!"(B
  429.     <code class="module"><a href="../mod/mod_include.html">mod_include</a></code> $B%I%-%e%a%s%F!<%7%g%s$r;2>H$7$F$/$@$5$$!#(B
  430.     $B$3$3$G$O!"$3$N9=B$$r$I$&;HMQ$9$k$+$NNc$r$$$/$D$+<($7$^$9!#(B</p>
  431.  
  432.     <p>$B@_Dj%U%!%$%k$G<!$N9T$r5-=R$7$^$9(B:</p>
  433. <div class="example"><p><code>
  434.         BrowserMatchNoCase macintosh Mac<br />
  435.         BrowserMatchNoCase MSIE InternetExplorer
  436. </code></p></div>
  437.  
  438.     <p>$B$3$l$O%/%i%$%"%s%H$,(B Macintosh
  439.     $B>e$G%$%s%?!<%M%C%H%(%/%9%W%m!<%i$,F0$$$F$$$k>l9g!"4D6-JQ?t(B
  440.     ``Mac'' $B$H(B ``InternetExplorer'' $B$r??$H@_Dj$7$^$9!#(B</p>
  441.  
  442.     <p>$B<!$K!"(BSSI $B$,2DG=$K$J$C$?%I%-%e%a%s%H$G0J2<$r9T$J$$$^$9(B:
  443.     </p>
  444. <div class="example"><p><code>
  445.         <!--#if expr="${Mac} && ${InternetExplorer}" --><br />
  446.         Apologetic text goes here<br />
  447.         <!--#else --><br />
  448.         Cool JavaScript code goes here<br />
  449.         <!--#endif -->
  450. </code></p></div>
  451.  
  452.     <p>Mac $B>e$N(B IE $B$KBP$7$F2?$+;W$&$H$3$m$,$"$k$o$1$G$"$j$^$;$s!#(B
  453.     $BB>$G$O<B9T$G$-$F$$$k$$$/$D$+$N(B JavaScript $B$r(B Mac $B>e$N(B IE
  454.     $B$G<B9T$5$;$k$N$K!"@h=5?t;~4V6lO+$7$?$H$$$&$@$1$N$3$H$G$9!#(B
  455.     $B>e$NNc$O$=$N;CDjE*$JBP=hJ}K!$G$9!#(B</p>
  456.  
  457.     <p>$BB>$N$I$s$JJQ?t(B ($B$"$J$?$,Dj5A$9$k$b$N!"(B
  458.     $B$^$?$OIaDL$N4D6-JQ?t$N$$$:$l$+(B) $B$b!">r7oJ8$K;HMQ$9$k$3$H$,$G$-$^$9!#(B
  459.     Apache $B$O(B <code>SetEnvIf</code> $B%G%#%l%/%F%#%V$dB>$N4XO"(B
  460.     $B%G%#%l%/%F%#%V$r;HMQ$7$F4D6-JQ?t$r@_Dj$9$k$3$H$,$G$-$^$9!#(B
  461.     $B$3$N5!G=$K$h$j!"(BCGI
  462.     $B$KMj$k$3$H$J$/$+$J$jJ#;($JF0E*$J$3$H$r$5$;$k$3$H$,$G$-$^$9!#(B</p>
  463.  
  464. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  465. <div class="section">
  466. <h2><a name="conclusion" id="conclusion">$B=*$o$j$K(B</a></h2>
  467.  
  468.     <p>SSI $B$O3N$+$K(B CGI
  469.     $B$dF0E*$J%&%'%V%Z!<%8$r@8@.$9$kB>$N5;=Q$KBe$o$k$b$N$G$O$"$j$^$;$s!#(B
  470.     $B$7$+$7!"$?$/$5$s$NM>J,$J:n6H$r$;$:$K!"(B
  471.     $B>/NL$NF0E*$J%3%s%F%s%D$r2C$($k$K$O$9$0$l$?J}K!$G$9!#(B</p>
  472. </div></div>
  473. <div class="bottomlang">
  474. <p><span>Available Languages: </span><a href="../en/howto/ssi.html" hreflang="en" rel="alternate" title="English"> en </a> |
  475. <a href="../ja/howto/ssi.html" title="Japanese"> ja </a></p>
  476. </div><div id="footer">
  477. <p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
  478. <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">$BMQ8l(B</a> | <a href="../sitemap.html">$B%5%$%H%^%C%W(B</a></p></div>
  479. </body></html>