home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 November / CMCD1104.ISO / Software / Complet / Apache / apache_2.0.52-win32-x86-no_ssl.msi / Data.Cab / F278297_mod_expires.xml.ja < prev    next >
Extensible Markup Language  |  2004-09-06  |  10KB  |  219 lines

  1. <?xml version="1.0" encoding="iso-2022-jp"?>
  2. <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
  3. <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
  4. <!-- English Revision: 1.3.2.5 -->
  5.  
  6. <!--
  7.  Copyright 2004 The Apache Software Foundation
  8.  
  9.  Licensed under the Apache License, Version 2.0 (the "License");
  10.  you may not use this file except in compliance with the License.
  11.  You may obtain a copy of the License at
  12.  
  13.      http://www.apache.org/licenses/LICENSE-2.0
  14.  
  15.  Unless required by applicable law or agreed to in writing, software
  16.  distributed under the License is distributed on an "AS IS" BASIS,
  17.  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18.  See the License for the specific language governing permissions and
  19.  limitations under the License.
  20. -->
  21.  
  22. <modulesynopsis metafile="mod_expires.xml.meta">
  23.  
  24. <name>mod_expires</name>
  25. <description>$B%f!<%6$N;XDj$7$?4p=`$K4p$E$$$?(B <code>Expires</code> $B$H(B
  26. <code>Cache-Control</code> HTTP $B%X%C%@$N@8@.(B</description>
  27. <status>Extension</status>
  28. <sourcefile>mod_expires.c</sourcefile>
  29. <identifier>expires_module</identifier>
  30.  
  31. <summary>
  32.     <p>$B$3$N%b%8%e!<%k$O%5!<%P1~Ez$N(B <code>Expires</code> HTTP $B%X%C%@(B
  33.     $B$H(B <code>Cache-Control</code> $B%X%C%@$N(B <code>max-age</code> $B%G%#%l%/%F%#%V$N(B
  34.     $B@_Dj$r@)8f$7$^$9!#85$N%U%!%$%k$,:n@.$5$l$?;~9o$^$?$O(B
  35.     $B%/%i%$%"%s%H$N%"%/%;%9;~9o$N$I$A$i$+$K4p$E$$$F4|8B@Z$lF|$r(B
  36.     $B@_Dj$9$k$3$H$,$G$-$^$9!#(B</p>
  37.  
  38.     <p>$B$3$l$i$N%X%C%@$O%/%i%$%"%s%H$KJ8=q$N(B
  39.     $BM-8z@-$H7QB3@-$r;X<($7$^$9!#J8=q$,%-%c%C%7%e$5$l$?>l9g$K$O!"(B
  40.     $B;XDj;~9o$KC#$9$k$^$G$O!"85$N>l=j$+$i<hF@$9$kBe$o$j$K(B
  41.     $B%-%c%C%7%e$5$l$F$$$k$b$N$r;H$&$3$H$,$G$-$^$9!#$=$N8e$O!"(B
  42.     $B%-%c%C%7%e$K$"$k%3%T!<$O4|8B@Z$l(B (expired) $B$GL58z$G$"$k$H$5$l!"(B
  43.     $B85$N>l=j$+$i?7$7$$$b$N$r<hF@$9$kI,MW$,$"$j$^$9!#(B</p>
  44.  
  45.     <p><code>max-age</code> $B0J30(B (<a
  46.     href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9">RFC
  47.     2616 section 14.9</a> $B;2>H(B) $B$N(B <code>Cache-Control</code> $B$N%G%#%l%/%F%#%V$r(B
  48.     $BA`:n$9$k$K$O(B <directive
  49.     module="mod_headers">Header</directive> $B%G%#%l%/%F%#%V$r(B
  50.     $B;H$&$3$H$,$G$-$^$9!#(B</p></summary>
  51.  
  52. <section id="AltSyn"><title>$BBeBX4|4V;XDj9=J8(B</title>
  53.    
  54.     <p><directive module="mod_expires">ExpiresDefault</directive> $B%G%#%l%/%F%#%V$H(B
  55.     <directive module="mod_expires">ExpiresByType</directive> $B%G%#%l%/%F%#%V$O(B
  56.     $B0J2<$N$h$jFI$_0W$$9=J8$r;H$C$FDj5A$9$k$3$H$,$G$-$^$9(B:</p>
  57.  
  58.     <example>
  59.       ExpiresDefault "<base> [plus] {<num>
  60.       <type>}*"<br />
  61.       ExpiresByType type/encoding "<base> [plus]
  62.       {<num> <type>}*"
  63.     </example>
  64.  
  65.     <p><base> $B$O0J2<$N$I$l$+$G$9(B:</p>
  66.  
  67.     <ul>
  68.       <li><code>access</code></li>
  69.  
  70.       <li><code>now</code> ('<code>access</code>' $B$HEy2A(B)</li>
  71.  
  72.       <li><code>modification</code></li>
  73.     </ul>
  74.  
  75.     <p><code>plus</code> $B%-!<%o!<%I$O>JN,2DG=$G$9!#(B<num>
  76.     $B$O(B (<code>atoi()</code> $B$,<u$1IU$1$k(B) $B@0?tCM!"(B
  77.     <type> $B$O0J2<$N$I$l$+$G$9(B:</p>
  78.  
  79.     <ul>
  80.       <li><code>years</code></li>
  81.       <li><code>months</code></li>
  82.       <li><code>weeks</code></li>
  83.       <li><code>days</code></li>
  84.       <li><code>hours</code></li>
  85.       <li><code>minutes</code></li>
  86.       <li><code>seconds</code></li>
  87.     </ul>
  88.  
  89.     <p>$BNc$($P!"0J2<$N%G%#%l%/%F%#%V$O$I$l$b%G%U%)%k%H$GJ8=q$,%"%/%;%9$N(B 1 $B%v7n8e$K(B
  90.     $B4|8B$,@Z$l$k$h$&$K$9$k$?$a$K;H$($^$9(B:</p>
  91.  
  92.     <example>
  93.       ExpiresDefault "access plus 1 month"<br />
  94.       ExpiresDefault "access plus 4 weeks"<br />
  95.       ExpiresDefault "access plus 30 days"
  96.     </example>
  97.  
  98.     <p>$B4|8B@Z$l;~9o$O$$$/$D$+(B
  99.     '<num> <type>' $B@a$rDI2C$9$k$3$H$G$h$j:Y$+$/(B
  100.     $B@)8f$9$k$3$H$,$G$-$^$9(B:</p>
  101.  
  102.     <example>
  103.       ExpiresByType text/html "access plus 1 month 15
  104.       days 2 hours"<br />
  105.       ExpiresByType image/gif "modification plus 5 hours 3
  106.       minutes"
  107.     </example>
  108.  
  109.     <p>$B=$@5;~9o$K4p$E$$$?@_Dj$r;HMQ$7$F$$$k>l9g!"(BExpires $B%X%C%@$O(B
  110.     $B%G%#%9%/$N%U%!%$%k0J30$N%3%s%F%s%D$K$O(B<strong>$BDI2C$5$l$J$$(B</strong>$B$3$H$KCm0U(B
  111.     $B$7$F$/$@$5$$!#$=$N$h$&$J%3%s%F%s%D$K$O=$@5;~9o$OB8:_$7$J$$$+$i$G$9!#(B</p>
  112. </section>
  113.  
  114. <directivesynopsis>
  115. <name>ExpiresActive</name>
  116. <description><code>Expires</code> $B%X%C%@$N@8@.$rM-8z$K$9$k(B</description>
  117. <syntax>ExpiresActive On|Off</syntax>
  118. <contextlist><context>server config</context>
  119. <context>virtual host</context><context>directory</context>
  120. <context>.htaccess</context></contextlist>
  121. <override>Indexes</override>
  122.  
  123. <usage>
  124.     <p>$B$3$N%G%#%l%/%F%#%V$OBP1~$9$k%I%-%e%a%s%H$NNN0h$G(B
  125.     <code>Expires</code> $B$H(B <code>Cache-Control</code>$B%X%C%@$r(B
  126.     $BM-8z$K$9$k$+L58z$K$9$k$+$r7h$a$^$9!#(B
  127.     ($BNc$($P!"(B<code>.htaccess</code> $B%U%!%$%k$G$O$=$N%G%#%l%/%H%j$N(B
  128.     $BJ8=q$N$_$KE,MQ$5$l$k$H$$$&$3$H$G$9!#(B) <code>Off</code> $B$K(B
  129.     $B@_Dj$5$l$?>l9g$OBP1~NN0h$G$=$l$i$N%X%C%@$O(B
  130.     $B@8@.$5$l$^$;$s(B (<code>.htaccess</code> $B$,%5!<%P@_Dj%U%!%$%k$N@_Dj$r(B
  131.     $B>e=q$-$9$k!"$H$$$&$h$&$J2<0L%l%Y%k$G$N>e=q$-$,$5$l$F$$$J$1$l$P(B)$B!#(B
  132.     <code>On</code> $B$K@_Dj$5$l$F$$$l$P!"%X%C%@$O(B <directive
  133.     module="mod_expires">ExpiresByType</directive> $B%G%#%l%/%F%#%V$H(B
  134.     <directive module="mod_expires">ExpiresDefault</directive> $B%G%#%l%/%F%#%V(B
  135.     $B$N4p=`$K=>$C$FJ8=q$K%X%C%@$rDI2C$7$^$9(B ($B3F%G%#%l%/%F%#%V;2>H(B)$B!#(B</p>
  136.  
  137.     <p>$B$3$N%G%#%l%/%F%#%V$O(B <code>Expires</code> $B$H(B
  138.     <code>Cache-Control</code> $B%X%C%@$NB8:_$r(B
  139.     $BJ]>Z$9$k$o$1$G$O$J$$$3$H$KCm0U$7$F$/$@$5$$!#4p=`$,K~$?$5$l$F(B
  140.     $B$$$J$$>l9g$O%X%C%@$ODI2C$5$l$:!"7k2L$H$7$F$3$N%G%#%l%/%F%#%V$,(B
  141.     $B;XDj$5$l$F$$$J$+$C$?$+$N$h$&$K$5$(8+$($k$3$H$K$J$j$^$9!#(B</p>
  142. </usage>
  143. </directivesynopsis>
  144.  
  145. <directivesynopsis>
  146. <name>ExpiresByType</name>
  147. <description>MIME $B%?%$%W$K$h$C$F@_Dj$5$l$k(B <code>Expires</code> $B%X%C%@$NCM(B</description>
  148. <syntax>ExpiresByType <var>MIME-type</var>
  149. <var><code>seconds</var></syntax>
  150. <contextlist><context>server config</context><context>virtual host</context>
  151. <context>directory</context><context>.htaccess</context></contextlist>
  152. <override>Indexes</override>
  153.  
  154. <usage>
  155.     <p>$B$3$N%G%#%l%/%F%#%V$O;XDj$5$l$?%?%$%W$N%I%-%e%a%s%H(B
  156.     (<em>$BNc$($P(B</em> <code>text/html</code>)
  157.     $B$KBP$7$F@8@.$5$l$k(B <code>Expires</code> $B%X%C%@$H(B <code>Cache-Control</code>
  158.     $B%X%C%@$N(B <code>max-age</code> $B%G%#%l%/%F%#%V$NCM$rDj5A$7$^$9!#(B
  159.     $BFs$DL\$N0z?t$O4|8B@Z$l$NF|;~$r@8@.$9$k$?$a$N4p=`;~9o$KDI2C$5$l$k(B
  160.     $BIC?t$r@_Dj$7$^$9!#(B<code>Cache-Control:
  161.     max-age</code> $B$O4|8B@Z$l$N;~9o$+$i%j%/%(%9%H;~9o$r0z$$$?$b$N$rIC$G(B
  162.     $BI=$9$3$H$G@8@.$5$l$^$9!#(B</p>
  163.  
  164.     <p>$B4p=`;~9o$O%U%!%$%k$N:G=*=$@5;~9o$+!"%/%i%$%"%s%H$N%I%-%e%a%s%H$X$N(B
  165.     $B%"%/%;%9;~9o$G$9!#$I$A$i$r;H$&$Y$-$+$O(B <code><var><code></var></code>
  166.     $B$K$h$C$F;XDj$7$^$9!#(B<code>M</code> $B$O4p=`;~9o$H$7$F(B
  167.     $B%U%!%$%k$N:G=*=$@5;~9o$r$H$$$&0UL#$G!"(B<code>A</code> $B$O%/%i%$%"%s%H$N(B
  168.     $B%"%/%;%9;~9o$r;H$&$H$$$&0UL#$K$J$j$^$9!#(B</p>
  169.  
  170.     <p>$B8z2L$K$OHyL/$J0c$$$,$"$j$^$9!#(B<code>M</code> $B$,;HMQ$5$l$?>l9g$O!"(B
  171.     $B$9$Y$F$N%-%c%C%7%e$K$"$k8=:_$N%I%-%e%a%s%H%-%c%C%7%e$OF1;~$K4|8B$,(B
  172.     $B@Z$l$^$9!#$3$l$OF1$8(B URL $B$KKh=5>o$KCV$+$l$kJs$;$N$h$&$J$b$N$K$O(B
  173.     $BHs>o$KM-8z$G$9!#(B<code>A</code> $B$,;HMQ$5$l$?>l9g$O!"4|8B@Z$l$N(B
  174.     $B;~4V$O3F%/%i%$%"%s%H$h$C$F0[$J$j$^$9!#$3$l$O$"$^$jJQ99$5$l$J$$(B
  175.     $B2hA|%U%!%$%k$J$I!"FC$K4XO"$9$k%I%-%e%a%s%H72$,$9$Y$FF1$82hA|$r(B
  176.     $B;2>H$9$k$H$-(B (<em>$B$9$J$o$A(B</em>$B2hA|$,Hf3SE*C;$$4|4VFb$K7+$jJV$7(B
  177.     $B%"%/%;%9$5$l$k$H$-(B) $B$KM-8z$G$9!#(B</p>
  178.  
  179.     <example><title>$BNc(B:</title>
  180.       # enable expirations<br />
  181.       ExpiresActive On<br />
  182.       # expire GIF images after a month in the client's cache<br />
  183.       ExpiresByType image/gif A2592000<br />
  184.       # HTML documents are good for a week from the<br />
  185.       # time they were changed<br />
  186.       ExpiresByType text/html M604800
  187.     </example>
  188.  
  189.     <p>$B$3$N%G%#%l%/%F%#%V$O(B <code>ExpiresActive On</code> $B$,;XDj$5$l$F$$$k(B
  190.     $B$H$-$N$_M-8z$G$"$k$3$H$KCm0U$7$F$/$@$5$$!#$3$l$O!"(B
  191.     $B;XDj$5$l$?(B MIME $B%?%$%W$KBP$7$F(B<em>$B$N$_(B</em> <directive
  192.     module="mod_expires">ExpiresDefault</directive> $B%G%#%l%/%F%#%V$G(B
  193.     $B@_Dj$5$l$?4|8B@Z$l4|F|$r>e=q$-$7$^$9!#(B</p>
  194.  
  195.     <p>$B$3$NJ8=q$NA0$NJ}$G@bL@$5$l$F$$$k(B<a href="#AltSyn">$BBeBX9=J8(B</a>$B$r(B
  196.     $B;H$C$F4|8B@Z$l4|F|$N7W;;J}K!$r;XDj$9$k$3$H$b$G$-$^$9!#(B</p>
  197. </usage>
  198. </directivesynopsis>
  199.  
  200. <directivesynopsis>
  201. <name>ExpiresDefault</name>
  202. <description>$B4|8B@Z$l4|F|$r7W;;$9$k%G%U%)%k%H%"%k%4%j%:%`(B</description>
  203. <syntax>ExpiresDefault <var><code>seconds</var></syntax>
  204. <contextlist><context>server config</context><context>virtual host</context>
  205. <context>directory</context><context>.htaccess</context></contextlist>
  206. <override>Indexes</override>
  207.  
  208. <usage>
  209.     <p>$B$3$N%G%#%l%/%F%#%V$OBP1~$9$kHO0O$N$9$Y$F$N%I%-%e%a%s%H$KBP$7$F(B
  210.     $B%G%U%)%k%H$N4|8B@Z$l4|F|$N7W;;%"%k%4%j%:%`$r@_Dj$7$^$9!#(B<directive
  211.     module="mod_expires">ExpiresByType</directive> $B%G%#%l%/%F%#%V$K$h$C$F(B
  212.     $B%?%$%WKh$K>e=q$-$9$k$3$H$,$G$-$^$9!#0z?t$N9=J8$O$=$N%G%#%l%/%F%#%V$N(B
  213.     $B@bL@$r;2>H$7$F$/$@$5$$!#$^$?!"(B<a href="#AltSyn">$BBeBX9=J8(B</a>$B$b(B
  214.     $B;2>H$7$F$/$@$5$$!#(B</p>
  215. </usage>
  216. </directivesynopsis>
  217. </modulesynopsis>
  218.  
  219.