home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 May / PCWorld_2003-05_cd.bin / Komunik / apache / apache_2.0.45-win32-x86-no_ssl.msi / Data.Cab / F232601_env.html.ja.jis < prev    next >
Extensible Markup Language  |  2003-03-30  |  22KB  |  362 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$N4D6-JQ?t(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$N4D6-JQ?t(B</h1>
  20.     <p>Apache HTTP $B%5!<%P$O(B<em>$B4D6-JQ?t(B</em>$B$H8F$P$l$k!"L>A0$N$D$$$?(B
  21.     $BJQ?t$K>pJs$r5-21$9$k;EAH$_$rDs6!$7$F$$$^$9!#$3$N>pJs$O%m%0<}=8$d(B
  22.     $B%"%/%;%9@)8f$J$I$N$$$m$$$m$JA`:n$r@)8f$9$k$?$a$K;H$&$3$H$,$G$-$^$9!#(B
  23.     $B$3$l$i$NJQ?t$O(B CGI $B%9%/%j%W%H$J$I$N30It%W%m%0%i%`$HDL?.$9$k$?$a$K$b(B
  24.     $B;H$o$l$^$9!#$3$NJ8=q$O$=$l$i$NJQ?t$NA`:nJ}K!$H;HMQJ}K!$r$$$/$D$+(B
  25.     $B>R2p$7$^$9!#(B</p>
  26.  
  27.     <p>$B$3$l$i$NJQ?t$O(B<em>$B4D6-JQ?t(B</em>$B$H8F$P$l$F$$$^$9$,!"%*%Z%l!<%F%#%s%0(B
  28.     $B%7%9%F%`$K$h$C$F@)8f$5$l$F$$$k4D6-JQ?t$HF1$8$G$O$"$j$^$;$s!#(B
  29.     $B<B:]$O!"$3$l$i$NJQ?t$O(B Apache $B$NFbIt9=B$$NCf$K5-21$5$l!"A`:n$5$l$F$$$^$9!#(B
  30.     $B$=$l$i$O!"(BCGI $B$d(B SSI $B%9%/%j%W%H$KEO$5$l$?$H$-$@$1!"<B:]$N(B
  31.     $B%*%Z%l!<%F%#%s%0%7%9%F%`$N4D6-JQ?t$K$J$j$^$9!#%5!<%P<+?H$,(B
  32.     $B<B9T$5$l$F$$$k%*%Z%l!<%F%#%s%0%7%9%F%`$N4D6-$rA`:n$7$?$$>l9g$O!"(B
  33.     $B%*%Z%l!<%F%#%s%0%7%9%F%`$N%7%'%k$,Ds6!$7$F$$$kI8=`$N4D6-JQ?t$N(B
  34.     $BA`:nJ}K!$r;H$o$J$1$l$P$J$j$^$;$s!#(B</p>
  35.   </div>
  36. <div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#setting">$B4D6-JQ?t$N@_Dj(B</a></li>
  37. <li><img alt="" src="./images/down.gif" /> <a href="#using">$B4D6-JQ?t$N;HMQ(B</a></li>
  38. <li><img alt="" src="./images/down.gif" /> <a href="#special">$BFCJL$JL\E*$N4D6-JQ?t(B</a></li>
  39. <li><img alt="" src="./images/down.gif" /> <a href="#examples">$BNc(B</a></li>
  40. </ul></div>
  41. <div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  42. <div class="section">
  43. <h2><a name="setting" id="setting">$B4D6-JQ?t$N@_Dj(B</a></h2>
  44.     
  45.     <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_env.html">mod_env</a></code></li><li><code class="module"><a href="./mod/mod_rewrite.html">mod_rewrite</a></code></li><li><code class="module"><a href="./mod/mod_setenvif.html">mod_setenvif</a></code></li><li><code class="module"><a href="./mod/mod_unique_id.html">mod_unique_id</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/mod_setenvif.html#browsermatch">BrowserMatch</a></code></li><li><code class="directive"><a href="./mod/mod_setenvif.html#browsermatchnocase">BrowserMatchNoCase</a></code></li><li><code class="directive"><a href="./mod/mod_env.html#passenv">PassEnv</a></code></li><li><code class="directive"><a href="./mod/mod_rewrite.html#rewriterule">RewriteRule</a></code></li><li><code class="directive"><a href="./mod/mod_env.html#setenv">SetEnv</a></code></li><li><code class="directive"><a href="./mod/mod_setenvif.html#setenvif">SetEnvIf</a></code></li><li><code class="directive"><a href="./mod/mod_setenvif.html#setenvifnocase">SetEnvIfNoCase</a></code></li><li><code class="directive"><a href="./mod/mod_env.html#unsetenv">UnsetEnv</a></code></li></ul></td></tr></table>
  46.  
  47.     <h3><a name="basic-manipulation" id="basic-manipulation">$B4pK\E*$J4D6-$NA`:n(B</a></h3>
  48.         
  49.  
  50.         <p>Apache $B$K$*$$$F4D6-JQ?t$r@_Dj$9$k0lHV4pK\E*$JJ}K!$O!"(B
  51.         $BL5>r7o$K4D6-JQ?t$r@_Dj$9$k(B <code class="directive"><a href="./mod/mod_env.html#setenv">SetEnv</a></code> $B%G%#%l%/%F%#%V$r;HMQ$9$k$3$H$G$9!#(B
  52.     <code class="directive"><a href="./mod/mod_env.html#passenv">PassEnv</a></code> 
  53.         $B%G%#%l%/%F%#%V$K$h$j!"(BApache $B$,5/F0$5$l$?%7%'%k$N(B
  54.         $B4D6-JQ?t$rEO$9$3$H$b$G$-$^$9!#(B</p>
  55.     
  56.     
  57.     <h3><a name="conditional" id="conditional">$B%j%/%(%9%HKh$K>r7o$K4p$E$$$F@_Dj$9$k(B</a></h3>
  58.         
  59.     
  60.         <p>$B$h$j=@Fp@-$r9b$a$k$?$a$K!"(Bmod_setenvif
  61.         $B$GDs6!$5$l$F$$$k%G%#%l%/%F%#%V$r;HMQ$9$k$3$H$G!"%j%/%(%9%H$N(B
  62.         $BFC@-$K4p$E$$$F4D6-JQ?t$r@_Dj$9$k$3$H$,$G$-$^$9!#Nc$($P!"FCDj$N%V%i%&%6(B
  63.         (User-Agent) $B$N%j%/%(%9%H$dFCDj$N(B Referer [$B0U?^E*$JDV$j$G$9(B]
  64.         ($BLuCm(B: $B@5$7$$DV$j$O(B referrer $B$G$9$,!"(BHTTP $B$N;EMM$G$O(B Referer
  65.         $B$H$J$C$F$$$^$9(B) $B%X%C%@$,8+$D$+$C$?$H$-$N$_JQ?t$r@_Dj$9$k$3$H$,$G$-$^$9!#(B
  66.         mod_rewrite $B$N(B <code class="directive"><a href="./mod/mod_rewrite.html#rewriterule">RewriteRule</a></code>
  67.     $B%G%#%l%/%F%#%V$K$*$$$F4D6-JQ?t$r@_Dj$9$k(B <code>[E=...]</code>
  68.     $B%*%W%7%g%s$r;HMQ$9$k$3$H$G!"(B
  69.         $B$h$j=@Fp$J@_Dj$r9T$J$&$3$H$,$G$-$^$9!#(B</p>
  70.     
  71.     
  72.     <h3><a name="unique-identifiers" id="unique-identifiers">$B0l0U$J<1JL;R(B</a></h3>
  73.         
  74.     
  75.         <p>mod_unique_id $B$O!"Hs>o$K8B$i$l$?>r7o$N2<$G(B
  76.         $B!V$9$Y$F!W$N%j%/%(%9%H$K$D$$$F!"0l0U$G$"$k$3$H$,J]>Z$5$l$F$$$kCM$r4D6-JQ?t(B
  77.         <code>UNIQUE_ID</code> $B$K@_Dj$7$^$9!#(B</p>
  78.     
  79.     
  80.     <h3><a name="standard-cgi" id="standard-cgi">$BI8=`(B CGI $BJQ?t(B</a></h3>
  81.         
  82.     
  83.         <p>Apache $B$N@_Dj%U%!%$%k$G@_Dj$5$l$?4D6-JQ?t$H%7%'%k$+$iEO$5$l$k(B
  84.         $B4D6-JQ?t$K2C$($F!"(BCGI $B%9%/%j%W%H$H(B SSI $B%Z!<%8$K$O(B <a href="http://cgi-spec.golux.com">CGI $B$N;EMM(B</a>$B$GMW5a$5$l$F$$$k!"(B
  85.         $B%j%/%(%9%H$N%a%?>pJs$r;}$C$?4D6-JQ?t$NAH$,Ds6!$5$l$^$9!#(B</p>
  86.     
  87.     
  88.     <h3><a name="caveats" id="caveats">$B$$$/$D$+$NCm0U(B</a></h3>
  89.         
  90.     
  91.         <ul>
  92.           <li>$B4D6-$rA`:n$9$k%G%#%l%/%F%#%V$r;H$C$FI8=`(B CGI
  93.           $BJQ?t$r>e=q$-$7$?$jJQ99$7$?$j$9$k$3$H$O$G$-$^$;$s!#(B</li>
  94.     
  95.           <li>CGI $B%9%/%j%W%H$r5/F0$9$k$?$a$K(B <a href="suexec.html">suexec</a>
  96.           $B$,;HMQ$5$l$F$$$k>l9g!"(BCGI $B%9%/%j%W%H$,5/F0$9$k$?$a$K!"4D6-JQ?t$O(B<em>$B0BA4(B</em>$B$J4D6-JQ?t$NAH$K@0M}$5$l$^$9!#(B
  97.           $B$3$N0BA4$J4D6-JQ?t$N=89g$O!"%3%s%Q%$%k;~$K(B <code>suexec.c</code>
  98.           $B$GDj5A$5$l$^$9!#(B</li>
  99.     
  100.           <li>$B0\?"@-$N$?$a$K!"4D6-JQ?t$NL>A0$O%"%k%U%!%Y%C%H!"(B
  101.           $B?t;z$H%"%s%@!<%9%3%"(B ($BLuCm(B: '_') $B$@$1$+$i@.$j$^$9!#(B
  102.           $B$5$i$K!":G=i$NJ8;z$O?t;z$G$"$C$F$O$$$1$^$;$s!#(B
  103.           $B$3$N@)8B$K9g$o$J$$J8;z$O(B CGI $B%9%/%j%W%H$H(B SSI
  104.           $B%Z!<%8$KEO$5$l$k$H$-$K%"%s%@!<%9%3%"$KCV49$5$l$^$9!#(B</li>
  105.         </ul>
  106.     
  107.   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  108. <div class="section">
  109. <h2><a name="using" id="using">$B4D6-JQ?t$N;HMQ(B</a></h2>
  110.     
  111.     
  112.     <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_access.html">mod_access</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_ext_filter.html">mod_ext_filter</a></code></li><li><code class="module"><a href="./mod/mod_headers.html">mod_headers</a></code></li><li><code class="module"><a href="./mod/mod_include.html">mod_include</a></code></li><li><code class="module"><a href="./mod/mod_log_config.html">mod_log_config</a></code></li><li><code class="module"><a href="./mod/mod_rewrite.html">mod_rewrite</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/mod_access.html#allow">Allow</a></code></li><li><code class="directive"><a href="./mod/mod_log_config.html#customlog">CustomLog</a></code></li><li><code class="directive"><a href="./mod/mod_access.html#deny">Deny</a></code></li><li><code class="directive"><a href="./mod/mod_ext_filter.html#extfilterdefine">ExtFilterDefine</a></code></li><li><code class="directive"><a href="./mod/mod_headers.html#header">Header</a></code></li><li><code class="directive"><a href="./mod/mod_log_config.html#logformat">LogFormat</a></code></li><li><code class="directive"><a href="./mod/mod_rewrite.html#rewritecond">RewriteCond</a></code></li><li><code class="directive"><a href="./mod/mod_rewrite.html#rewriterule">RewriteRule</a></code></li></ul></td></tr></table>
  113.  
  114.     <h3><a name="cgi-scripts" id="cgi-scripts">CGI $B%9%/%j%W%H(B</a></h3>
  115.         
  116.     
  117.         <p>$B4D6-JQ?t$N<g$JMxMQK!$N0l$D$O!"(BCGI $B%9%/%j%W%H$K>pJs$rEA$($k$3$H$G$9!#(B
  118.         $B>e$G@bL@$5$l$F$$$k$h$&$K!"(BCGI $B%9%/%j%W%H$KEO$5$l$k4D6-JQ?t$O(B Apache
  119.         $B$N@_Dj$K$h$j@_Dj$5$l$kJQ?t$K2C$($F!"%j%/%(%9%H$NI8=`$N%a%?>pJs$r4^$s$G$$$^$9!#(B
  120.         $B>\:Y$O(B <a href="howto/cgi.html">CGI $B%A%e!<%H%j%"%k(B</a>
  121.     $B$r;2>H$7$F$/$@$5$$!#(B</p>
  122.     
  123.     
  124.     <h3><a name="ssi-pages" id="ssi-pages">SSI $B%Z!<%8(B</a></h3>
  125.         
  126.     
  127.         <p>mod_include $B$N(B <code>INCLUDES</code> $B%U%#%k%?$G=hM}$5$l$k(B
  128.         server-parsed (SSI) $B%I%-%e%a%s%H$G$O!"(B<code>echo</code>
  129.         $BMWAG$r;HMQ$9$k$H4D6-JQ?t$,=PNO$5$l$^$9!#(B
  130.         $B$^$?!"%Z!<%8$N$"$kItJ,$,%j%/%(%9%H$N@-<A$K1~$8$FJQ99$5$l$k$h$&$K!"(B
  131.         $B4D6-JQ?t$r%U%m!<@)8fMWAG$G;H$&$3$H$,$G$-$^$9!#>\:Y$O(B
  132.         <a href="howto/ssi.html">SSI $B%A%e!<%H%j%"%k(B</a> $B$r;2>H$7$F$/$@$5$$!#(B</p>
  133.     
  134.     
  135.     <h3><a name="access-control" id="access-control">$B%"%/%;%9@)8f(B</a></h3>
  136.         
  137.     
  138.         <p><code>allow from env=</code> $B%G%#%l%/%F%#%V$H(B <code>deny from env=</code>
  139.         $B%G%#%l%/%F%#%V$r;HMQ$7$F!"%5!<%P$X$N%"%/%;%9$r4D6-JQ?t$NCM$G@)8f$9$k$3$H$,$G$-$^$9!#(B
  140.         <code class="directive"><a href="./mod/mod_setenvif.html#setenvif">SetEnvIf</a></code>
  141.     $B%G%#%l%/%F%#%V$HAH$_9g$o$;$k$3$H$G!"%/%i%$%"%s%H$NFC@-$K4p$E$$$F(B
  142.         $B%5!<%P$X$N%"%/%;%9@)8f$r=@Fp$K9T$J$&$3$H$,$G$-$k$h$&$K$J$j$^$9!#(B
  143.         $B$?$H$($P!"$3$l$i$N%G%#%l%/%F%#%V$r;HMQ$7$F!"FCDj$N%V%i%&%6(B (User-Agent)
  144.         $B$+$i$N%"%/%;%9$r5qH]$9$k$3$H$,$G$-$^$9!#(B</p>
  145.     
  146.     
  147.     <h3><a name="logging" id="logging">$B>r7oIU$-%m%05-O?(B</a></h3>
  148.         
  149.     
  150.         <p><code class="directive"><a href="./mod/mod_log_config.html#logformat">LogFormat</a></code>
  151.         $B%G%#%l%/%F%#%V$N%*%W%7%g%s(B <code>%e</code>
  152.         $B$r;HMQ$9$k$3$H$G!"4D6-JQ?t$r%"%/%;%9%m%0$K5-O?$9$k$3$H$,$G$-$^$9!#$5$i$K!"(B
  153.         <code class="directive"><a href="./mod/mod_log_config.html#customlog">CustomLog</a></code>
  154.     $B%G%#%l%/%F%#%V$N>r7oJ,4t<0$r;HMQ$9$k$3$H$G!"(B
  155.         $B4D6-JQ?t$NCM$K$h$C$F%j%/%(%9%H$r%m%0$K5-O?$9$k$+$I$&$+$r7h$a$k$3$H$,$G$-$^$9!#(B
  156.         <code class="directive"><a href="./mod/mod_setenvif.html#setenvif">SetEnvIf</a></code>
  157.     $B%G%#%l%/%F%#%V$HAH$_9g$o$;$k$3$H$G!"(B
  158.         $B$I$N%j%/%(%9%H$r%m%0$K5-O?$9$k$+$r=@Fp$K@)8f$9$k$3$H$,2DG=$K$J$j$^$9!#$?$H$($P!"(B
  159.         <code>gif</code> $B$G=*$o$k%U%!%$%kL>$X$N%j%/%(%9%H$O%m%0$K5-O?$7$J$$!"(B
  160.         $B0c$&%5%V%M%C%H$N%/%i%$%"%s%H$+$i$N%j%/%(%9%H$@$1$r%m%0$K5-O?$9$k!"(B
  161.     $B$H$$$&A*Br$,2DG=$G$9!#(B</p>
  162.     
  163.     
  164.     <h3><a name="response-headers" id="response-headers">$B>r7oIU$-1~Ez%X%C%@(B</a></h3>
  165.         
  166.     
  167.         <p><code class="directive"><a href="./mod/mod_headers.html#header">Header</a></code>
  168.     $B%G%#%l%/%F%#%V$O4D6-JQ?t$NB8:_$dIT:_$K$h$C$F%/%i%$%"%s%H$X$N1~Ez$KFCDj$N(B
  169.     HTTP $B%X%C%@$rIU$1$k$+$I$&$+$r7h$a$k$3$H$,$G$-$^$9!#(B
  170.     $B$3$l$K$h$j!"$?$H$($P!"%/%i%$%"%s%H$+$i$N%j%/%(%9%H(B
  171.         $B$K$"$k%X%C%@$,$"$k>l9g$K$N$_FCDj$N1~Ez%X%C%@$rAw$k!"$H$$$&$h$&$J$3$H$,(B
  172.         $B$G$-$^$9!#(B</p>
  173.     
  174.     
  175.  
  176.     <h3><a name="external-filter" id="external-filter">$B30It%U%#%k%?$NE,MQ(B</a></h3>
  177.         
  178.  
  179.         <p><code class="directive"><a href="./mod/mod_ext_filter.html#extfilterdefine">ExtFilterDefine</a></code>
  180.         $B%G%#%l%/%F%#%V$r;HMQ$7$F(B
  181.         <code class="module"><a href="./mod/mod_ext_filter.html">mod_ext_filter</a></code> $B$G@_Dj$5$l$k30It%U%#%k%?$O!"(B
  182.     <code>disableenv=</code> $B$H(B <code>enableenv=</code>
  183.     $B%*%W%7%g%s$r;H$C$F!"4D6-JQ?t$K$h$k>r7oIU$-E,MQ$,$G$-$^$9!#(B</p>
  184.     
  185.  
  186.     <h3><a name="url-rewriting" id="url-rewriting">URL $B$N=q$-49$((B</a></h3>
  187.         
  188.     
  189.         <p><code class="directive"><a href="./mod/mod_rewrite.html#rewritecond">RewriteCond</a></code>
  190.     $B%G%#%l%/%F%#%V$G(B<em>$BI>2AJ8;zNs(B</em>$B$H$7$F(B
  191.         <code>%{ENV:...}</code> $B<0$r;XDj$9$k$3$H$G!"(Bmod_rewrite
  192.         $B$N=q$-49$(%(%s%8%s$,4D6-JQ?t$K4p$$$F>r7oJ,4t$r9T$J$&$3$H$,$G$-$^$9!#(B
  193.         mod_rewrite $B$,;HMQ2DG=$JJQ?t$G(B <code>ENV:</code> $B$,A0$K$D$$$F$$$J$$JQ?t$O!"(B
  194.         $B<B:]$O4D6-JQ?t$G$O$J$$$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B
  195.         $B$=$l$i$OB>$N%b%8%e!<%k$+$i$O;HMQ$G$-$J$$(B mod_rewrite $BMQ$NFCJL$JJQ?t$G$9!#(B
  196.         </p>
  197.     
  198.   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  199. <div class="section">
  200. <h2><a name="special" id="special">$BFCJL$JL\E*$N4D6-JQ?t(B</a></h2>
  201.     
  202.     
  203.         <p>$B8_49@-$NLdBj$r2r7h$9$k$?$a$K!"FCDj$N%/%i%$%"%s%H$HDL?.$7$F$$$k$H$-$O(B
  204.         Apache $B$NF0:n$rJQ99$G$-$k5!9=$,F3F~$5$l$^$7$?!#$G$-$k$@$1=@Fp$K$9$k$?$a$K!"(B
  205.         $B$3$l$i$N5!9=$O4D6-JQ?t$rDj5A$9$k$3$H$G8F$S=P$5$l$^$9!#IaDL$O!"(B
  206.         <code class="directive"><a href="./mod/mod_setenvif.html#browsermatch">BrowserMatch</a></code>
  207.         $B%G%#%l%/%F%#%V$r;H$$$^$9$,!"$?$H$($P(B <code class="directive"><a href="./mod/mod_env.html#setenv">SetEnv</a></code> $B%G%#%l%/%F%#%V$d(B <code class="directive"><a href="./mod/mod_env.html#passenv">PassEnv</a></code> $B%G%#%l%/%F%#%V$b;HMQ$9$k$3$H$,$G$-$^$9!#(B</p>
  208.     
  209.     <h3><a name="downgrade" id="downgrade">downgrade-1.0</a></h3>
  210.         
  211.     
  212.         <p>$B$3$l$r;XDj$9$k$3$H$G!"%j%/%(%9%H$,(B HTTP/1.0
  213.         $B$h$j?7$7$$%W%m%H%3%k$N>l9g$G$b!"(BHTTP/1.0 $B$H$7$F07$o$l$^$9!#(B</p>
  214.     
  215.     
  216.     <h3><a name="force-no-vary" id="force-no-vary">force-no-vary</a></h3>
  217.         
  218.     
  219.         <p>$B1~Ez%X%C%@$,%/%i%$%"%s%H$KAw$i$l$kA0$K(B <code>Vary</code>
  220.         $B%U%#!<%k%I$r<h$j=|$-$^$9!#(B
  221.         $B%/%i%$%"%s%H$NCf$K$O$3$N%U%#!<%k%I$r@5$7$/2r<a$7$J$$$b$N$,$"$j$^$9(B
  222.         (<a href="misc/known_client_problems.html">$B%/%i%$%"%s%H$N4{CN$NLdBj(B</a>
  223.         $B$N%Z!<%8$r;2>H$7$F$/$@$5$$(B)$B!#$3$NJQ?t$r@_Dj$9$k$3$H$G$=$NLdBj$r2sHr(B
  224.         $B$9$k$3$H$,$G$-$^$9!#$3$NJQ?t$r@_Dj$9$k$H!"(B<strong>force-response-1.0</strong>
  225.         $B$,@_Dj$5$l$?$3$H$K$J$j$^$9!#(B</p>
  226.     
  227.     
  228.     <h3><a name="force-response" id="force-response">force-response-1.0</a></h3>
  229.         
  230.     
  231.         <p>$B$3$l$,@_Dj$5$l$F$$$k$H!"(BHTTP/1.0 $B%j%/%(%9%H$rH/9T$9$k%/%i%$%"%s%H$KBP$7$F$O(B
  232.     $B>o$K(B HTTP/1.0 $B$G1~Ez$9$k$h$&$K$J$j$^$9!#$3$N5!G=$O!"(B
  233.         $B85!9$O(B AOL $B$N%W%m%-%7$NLdBj$N$?$a$K<BAu$5$l$^$7$?!#(BHTTP/1.0 $B%/%i%$%"%s%H$NCf$K$O!"(B
  234.         HTTP/1.1 $B$N1~Ez$rJV$5$l$k$H@5$7$/F0:n$7$J$$$b$N$,$"$k$+$b$7$l$^$;$s!#(B
  235.         $B$3$N5!G=$r;HMQ$9$k$3$H$G!"$=$N$h$&$J%/%i%$%"%s%H$H$N4V$N8_49@-LdBj$r2r7h$G$-$^$9!#(B</p>
  236.     
  237.  
  238.     <h3><a name="gzip-only-text-html" id="gzip-only-text-html">gzip-only-text/html</a></h3>
  239.         
  240.  
  241.     <p>$B$3$l$,(B 1 $B$K@_Dj$5$l$k$H!"$3$NJQ?t$O(B <code>text/html</code>
  242.     $B0J30$N%3%s%F%s%H%?%$%W$KBP$9$k!"(B<code class="module"><a href="./mod/mod_deflate.html">mod_deflate</a></code>
  243.     $BDs6!$N(B <code>DEFLATE</code> $B=PNO%U%#%k%?$rL58z$K$7$^$9!#(B</p>
  244.     
  245.  
  246.     <h3><a name="no-gzip" id="no-gzip">no-gzip</a></h3>
  247.         <p>$B%;%C%H$5$l$k$H!"(B<code class="module"><a href="./mod/mod_deflate.html">mod_deflate</a></code> $B$N(B
  248.     <code>DEFLATE</code> $B%U%#%k%?$,%*%U$K$J$j$^$9!#(B</p>
  249.     
  250.  
  251.     <h3><a name="nokeepalive" id="nokeepalive">nokeepalive</a></h3>
  252.         
  253.     
  254.         <p>$B$3$l$,@_Dj$5$l$F$$$k>l9g$O!"(B<code class="directive"><a href="./mod/core.html#keepalive">KeepAlive</a></code> $B$r;HMQ$7$J$$$h$&$K$7$^$9!#(B</p>
  255.     
  256.     
  257.     <h3><a name="redirect-carefully" id="redirect-carefully">redirect-carefully</a></h3>
  258.         
  259.     
  260.         <p>$B$3$l$O%/%i%$%"%s%H$X$N%j%@%$%l%/%H$NAw?.$r%5!<%P$,$h$jCm0U?<$/(B
  261.         $B9T$J$&$h$&$K$7$^$9!#(B
  262.         $B$3$l$ODL>o!"%j%@%$%l%/%H$K:]$7$F%/%i%$%"%s%H$K(B
  263.         $BLdBj$,$"$k$3$H$,J,$+$C$F$$$k>l9g$K;H$o$l$^$9!#$3$N5!G=$O85!9$O(B
  264.         $B%^%$%/%m%=%U%H$N%&%'%V%U%)%k%@$N%=%U%H$,(B DAV
  265.         $B%a%=%C%I$K$h$k%G%#%l%/%H%j$N%j%=!<%9$X$N%j%@%$%l%/%H$N07$$$K(B
  266.         $BLdBj$,$j!"$=$l$r2sHr$9$k$?$a$K<BAu$5$l$^$7$?!#(B</p>
  267.     
  268.     
  269.  
  270.    <h3><a name="suppress-error-charset" id="suppress-error-charset">suppress-error-charset</a></h3>
  271.        
  272.  
  273.     <p><em>Apache 2.0.40 $B0J9_$GMxMQ2DG=(B</em></p>
  274.  
  275.     <p>$B%/%i%$%"%s%H$N%j%/%(%9%H$KBP$9$k1~Ez$H$7$F%j%@%$%l%/%H$rAw?.$9$k:]!"(B
  276.     $B%l%9%]%s%9$K$O%j%@%$%l%/%H$,<+F0E*$K9T$J$($J$$(B ($B9T$J$o$l$J$$(B)
  277.     $B>l9g$KI=<($9$k%F%-%9%H$,4^$^$l$^$9!#(B
  278.     $BDL>o!"$3$N%F%-%9%H$K9gCW$7$?%-%c%i%/%?%;%C%H!"(BISO-8859-1
  279.     $B$G%i%Y%kIU$1$r$7$^$9!#(B</p>
  280.     <p>$B$7$+$7$J$,$i!"%j%@%$%l%/%H@h$N%Z!<%8$,$=$l$H$O0[$J$k%-%c%i%/%?%;%C%H$r(B
  281.     $B;HMQ$7$F$$$?:]!"$"$kLdBj$N$"$k%V%i%&%6$N%P!<%8%g%s$G$O!"<B:]$N(B
  282.     ($BLuCm!'%j%@%$%l%/%H@h$N%Z!<%8$N(B) $B%-%c%i%/%?%;%C%H$G$O$J$/!"(B
  283.     $B%j%@%$%l%/%H$N%F%-%9%H$N%-%c%i%/%?%;%C%H$r;HMQ$7$^$9!#(B
  284.     $B$=$N7k2L!"Nc$($PJQ$JIA2h$,9T$J$o$l$?$j$7$F!"FI$a$J$/$J$j$^$9!#(B</p>
  285.     <p>$B$3$N4D6-JQ?t$r@_Dj$9$k$3$H$G!"%j%@%$%l%/%7%g%s%F%-%9%H$KBP$9$k(B
  286.     $B%-%c%i%/%?%;%C%H$N;XDj$r=|5n$7$F!"$=$l$iLdBj$N$"$k%V%i%&%6$G$b(B
  287.     $BL\E*$N%Z!<%8$,$-$A$s$HI=<($5$l$k$h$&$K$G$-$^$9!#(B</p>
  288.  
  289.    
  290.  
  291.   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  292. <div class="section">
  293. <h2><a name="examples" id="examples">$BNc(B</a></h2>
  294.     
  295.     
  296.     <h3><a name="misbehaving" id="misbehaving">$B$*$+$7$J5sF0$r$9$k%/%i%$%"%s%H$KBP$7$F%W%m%H%3%k$NF0:n$rJQ99$9$k(B</a></h3>
  297.         
  298.     
  299.         <p>$B%/%i%$%"%s%H$K4X$9$k4{CN$NLdBj$KBP=h$9$k$?$a$K!"0J2<$N9T$r(B
  300.         httpd.conf $B$KF~$l$k$3$H$r?d>)$7$F$$$^$9!#(B</p>
  301. <div class="example"><pre>
  302. #
  303. # The following directives modify normal HTTP response behavior.
  304. # The first directive disables keepalive for Netscape 2.x and browsers that
  305. # spoof it. There are known problems with these browser implementations.
  306. # The second directive is for Microsoft Internet Explorer 4.0b2
  307. # which has a broken HTTP/1.1 implementation and does not properly
  308. # support keepalive when it is used on 301 or 302 (redirect) responses.
  309. #
  310. BrowserMatch "Mozilla/2" nokeepalive
  311. BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  312.  
  313. #
  314. # The following directive disables HTTP/1.1 responses to browsers which
  315. # are in violation of the HTTP/1.0 spec by not being able to grok a
  316. # basic 1.1 response.
  317. #
  318. BrowserMatch "RealPlayer 4\.0" force-response-1.0
  319. BrowserMatch "Java/1\.0" force-response-1.0
  320. BrowserMatch "JDK/1\.0" force-response-1.0</pre></div>
  321.  
  322.     
  323.     <h3><a name="no-img-log" id="no-img-log">$B2hA|$X$N%j%/%(%9%H$r%"%/%;%9%m%0$K5-O?$7$J$$(B</a></h3>
  324.         
  325.     
  326.         <p>$B$3$NNc$G$O!"2hA|$X$N%j%/%(%9%H$,%"%/%;%9%m%0$K8=$l$J$$$h$&$K$7$^$9!#(B
  327.         $B$3$l$rJQ99$9$k$3$H$G!"FCDj$N%G%#%l%/%H%j$N%m%0<}=8$r$d$a$?$j!"(B
  328.         $BFCDj$N%[%9%H$+$i$N%j%/%(%9%H$N%m%0<}=8$r$d$a$?$j$9$k$3$H$,4JC1$K$G$-$^$9!#(B
  329.         </p>
  330.     <div class="example"><pre>
  331. SetEnvIf Request_URI \.gif image-request
  332. SetEnvIf Request_URI \.jpg image-request
  333. SetEnvIf Request_URI \.png image-request
  334. CustomLog logs/access_log common env=!image-request</pre></div>
  335.     
  336.     
  337.     <h3><a name="image-theft" id="image-theft">$B!V2hA|$NEpMQ!W$rKI$0(B</a></h3>
  338.         
  339.     
  340.         <p>$B$3$NNc$O!"JL$N%5!<%P$K$$$k?M$,!"$"$J$?$N%5!<%P$K$"$k2hA|$r(B
  341.         inline $B2hA|$H$7$F;HMQ$9$k$3$H$rKI$.$^$9!#(B
  342.         $B$3$l$O?d>)$5$l$F$$$k@_Dj$G$O$"$j$^$;$s$,!"$"$k8BDj$5$l$?>u67$G$OM-8z$G$9!#(B
  343.         $B$3$3$G$O!"$9$Y$F$N2hA|$O(B <code>/web/images</code>
  344.     $B$H$$$&%G%#%l%/%H%j$K$"$k$H2>Dj$7$^$9!#(B</p>
  345.     <div class="example"><pre>
  346. SetEnvIf Referer "^http://www.example.com/" local_referal
  347. # Allow browsers that do not send Referer info
  348. SetEnvIf Referer "^$" local_referal
  349. <Directory /web/images>
  350.    Order Deny,Allow
  351.    Deny from all
  352.    Allow from env=local_referal
  353. </Directory></pre></div>
  354.     
  355.         <p>$B$3$N<jK!$K4X$9$k>\$7$$>pJs$O(B ApacheToday $B$N%A%e!<%H%j%"%k!V(B<a href="http://apachetoday.com/news_story.php3?ltsn=2000-06-14-002-01-ps">Keeping Your Images from Adorning Other Sites</a>
  356.         $B!W$r;2>H$7$F$/$@$5$$!#(B</p>
  357.     
  358.   </div></div>
  359. <div id="footer">
  360. <p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
  361. <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>
  362. </body></html>