env.xml.ja revision 41bc260606bb06bd214bd56c70086427469de26c
<?xml version="1.0" encoding="iso-2022-jp" ?>
<!-- English Revision: 420990:641391 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You 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
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.
-->
<manualpage metafile="env.xml.meta">
<title>Apache $B$N4D6-JQ?t(B</title>
<summary>
<p>Apache HTTP $B%5!<%P$O(B<em>$B4D6-JQ?t(B</em>$B$H8F$P$l$k!"L>A0$N$D$$$?(B
$BJQ?t$K>pJs$r5-21$9$k;EAH$_$rDs6!$7$F$$$^$9!#$3$N>pJs$O%m%0<}=8$d(B
$B%"%/%;%9@)8f$J$I$N$$$m$$$m$JA`:n$r@)8f$9$k$?$a$K;H$&$3$H$,$G$-$^$9!#(B
$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
$B;H$o$l$^$9!#$3$NJ8=q$O$=$l$i$NJQ?t$NA`:nJ}K!$H;HMQJ}K!$r$$$/$D$+(B
$B>R2p$7$^$9!#(B</p>
<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
$B%7%9%F%`$K$h$C$F@)8f$5$l$F$$$k4D6-JQ?t$HF1$8$G$O$"$j$^$;$s!#(B
$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
$B$=$l$i$O!"(BCGI $B$d(B SSI $B%9%/%j%W%H$KEO$5$l$?$H$-$@$1!"<B:]$N(B
$B%*%Z%l!<%F%#%s%0%7%9%F%`$N4D6-JQ?t$K$J$j$^$9!#%5!<%P<+?H$,(B
$B<B9T$5$l$F$$$k%*%Z%l!<%F%#%s%0%7%9%F%`$N4D6-$rA`:n$7$?$$>l9g$O!"(B
$B%*%Z%l!<%F%#%s%0%7%9%F%`$N%7%'%k$,Ds6!$7$F$$$kI8=`$N4D6-JQ?t$N(B
$BA`:nJ}K!$r;H$o$J$1$l$P$J$j$^$;$s!#(B</p>
</summary>
<section id="setting">
<title>$B4D6-JQ?t$N@_Dj(B</title>
<related>
<modulelist>
<module>mod_env</module>
<module>mod_rewrite</module>
<module>mod_setenvif</module>
<module>mod_unique_id</module>
</modulelist>
<directivelist>
<directive module="mod_setenvif">BrowserMatch</directive>
<directive module="mod_setenvif">BrowserMatchNoCase</directive>
<directive module="mod_env">PassEnv</directive>
<directive module="mod_rewrite">RewriteRule</directive>
<directive module="mod_env">SetEnv</directive>
<directive module="mod_setenvif">SetEnvIf</directive>
<directive module="mod_setenvif">SetEnvIfNoCase</directive>
<directive module="mod_env">UnsetEnv</directive>
</directivelist>
</related>
<section id="basic-manipulation">
<title>$B4pK\E*$J4D6-$NA`:n(B</title>
<p>Apache $B$K$*$$$F4D6-JQ?t$r@_Dj$9$k0lHV4pK\E*$JJ}K!$O!"(B
$BL5>r7o$K4D6-JQ?t$r@_Dj$9$k(B <directive module="mod_env"
>SetEnv</directive> $B%G%#%l%/%F%#%V$r;HMQ$9$k$3$H$G$9!#(B
<directive module="mod_env">PassEnv</directive>
$B4D6-JQ?t$rEO$9$3$H$b$G$-$^$9!#(B</p>
</section>
<section id="conditional">
<title>$B%j%/%(%9%HKh$K>r7o$K4p$E$$$F@_Dj$9$k(B</title>
<p>$B$h$j=@Fp@-$r9b$a$k$?$a$K!"(Bmod_setenvif
$B$GDs6!$5$l$F$$$k%G%#%l%/%F%#%V$r;HMQ$9$k$3$H$G!"%j%/%(%9%H$N(B
$BFC@-$K4p$E$$$F4D6-JQ?t$r@_Dj$9$k$3$H$,$G$-$^$9!#Nc$($P!"FCDj$N%V%i%&%6(B
(User-Agent) $B$N%j%/%(%9%H$dFCDj$N(B Referer [$B0U?^E*$JDV$j$G$9(B]
($BLuCm(B: $B@5$7$$DV$j$O(B referrer $B$G$9$,!"(BHTTP $B$N;EMM$G$O(B Referer
$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
mod_rewrite $B$N(B <directive module="mod_rewrite">RewriteRule</directive>
$B%G%#%l%/%F%#%V$K$*$$$F4D6-JQ?t$r@_Dj$9$k(B <code>[E=...]</code>
$B%*%W%7%g%s$r;HMQ$9$k$3$H$G!"(B
$B$h$j=@Fp$J@_Dj$r9T$J$&$3$H$,$G$-$^$9!#(B</p>
</section>
<section id="unique-identifiers">
<title>$B0l0U$J<1JL;R(B</title>
<p>mod_unique_id $B$O!"Hs>o$K8B$i$l$?>r7o$N2<$G(B
$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
<code>UNIQUE_ID</code> $B$K@_Dj$7$^$9!#(B</p>
</section>
<section id="standard-cgi">
<title>$BI8=`(B CGI $BJQ?t(B</title>
<p>Apache $B$N@_Dj%U%!%$%k$G@_Dj$5$l$?4D6-JQ?t$H%7%'%k$+$iEO$5$l$k(B
$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
$B%j%/%(%9%H$N%a%?>pJs$r;}$C$?4D6-JQ?t$NAH$,Ds6!$5$l$^$9!#(B</p>
</section>
<section id="caveats">
<title>$B$$$/$D$+$NCm0U(B</title>
<ul>
<li>$B4D6-$rA`:n$9$k%G%#%l%/%F%#%V$r;H$C$FI8=`(B CGI
$BJQ?t$r>e=q$-$7$?$jJQ99$7$?$j$9$k$3$H$O$G$-$^$;$s!#(B</li>
>$B0BA4(B</em>$B$J4D6-JQ?t$NAH$K@0M}$5$l$^$9!#(B
$B$GDj5A$5$l$^$9!#(B</li>
<li>$B0\?"@-$N$?$a$K!"4D6-JQ?t$NL>A0$O%"%k%U%!%Y%C%H!"(B
$B?t;z$H%"%s%@!<%9%3%"(B ($BLuCm(B: '_') $B$@$1$+$i@.$j$^$9!#(B
$B$5$i$K!":G=i$NJ8;z$O?t;z$G$"$C$F$O$$$1$^$;$s!#(B
$B$3$N@)8B$K9g$o$J$$J8;z$O(B CGI $B%9%/%j%W%H$H(B SSI
$B%Z!<%8$KEO$5$l$k$H$-$K%"%s%@!<%9%3%"$KCV49$5$l$^$9!#(B</li>
</ul>
</section>
</section>
<section id="using">
<title>$B4D6-JQ?t$N;HMQ(B</title>
<related>
<modulelist>
<module>mod_authz_host</module>
<module>mod_cgi</module>
<module>mod_ext_filter</module>
<module>mod_headers</module>
<module>mod_include</module>
<module>mod_log_config</module>
<module>mod_rewrite</module>
</modulelist>
<directivelist>
<directive module="mod_authz_host">Allow</directive>
<directive module="mod_log_config">CustomLog</directive>
<directive module="mod_authz_host">Deny</directive>
<directive module="mod_ext_filter">ExtFilterDefine</directive>
<directive module="mod_headers">Header</directive>
<directive module="mod_log_config">LogFormat</directive>
<directive module="mod_rewrite">RewriteCond</directive>
<directive module="mod_rewrite">RewriteRule</directive>
</directivelist>
</related>
<section id="cgi-scripts">
<title>CGI $B%9%/%j%W%H(B</title>
<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
$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
$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
$B$r;2>H$7$F$/$@$5$$!#(B</p>
</section>
<section id="ssi-pages">
<title>SSI $B%Z!<%8(B</title>
<p>mod_include $B$N(B <code>INCLUDES</code> $B%U%#%k%?$G=hM}$5$l$k(B
server-parsed (SSI) $B%I%-%e%a%s%H$G$O!"(B<code>echo</code>
$BMWAG$r;HMQ$9$k$H4D6-JQ?t$,=PNO$5$l$^$9!#(B
$B$^$?!"%Z!<%8$N$"$kItJ,$,%j%/%(%9%H$N@-<A$K1~$8$FJQ99$5$l$k$h$&$K!"(B
$B4D6-JQ?t$r%U%m!<@)8fMWAG$G;H$&$3$H$,$G$-$^$9!#>\:Y$O(B
</section>
<section id="access-control">
<title>$B%"%/%;%9@)8f(B</title>
<p><code>allow from env=</code> $B%G%#%l%/%F%#%V$H(B <code>deny from env=</code>
$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
<directive module="mod_setenvif">SetEnvIf</directive>
$B%G%#%l%/%F%#%V$HAH$_9g$o$;$k$3$H$G!"%/%i%$%"%s%H$NFC@-$K4p$E$$$F(B
$B%5!<%P$X$N%"%/%;%9@)8f$r=@Fp$K9T$J$&$3$H$,$G$-$k$h$&$K$J$j$^$9!#(B
$B$?$H$($P!"$3$l$i$N%G%#%l%/%F%#%V$r;HMQ$7$F!"FCDj$N%V%i%&%6(B (User-Agent)
$B$+$i$N%"%/%;%9$r5qH]$9$k$3$H$,$G$-$^$9!#(B</p>
</section>
<section id="logging">
<title>$B>r7oIU$-%m%05-O?(B</title>
<p><directive module="mod_log_config">LogFormat</directive>
$B%G%#%l%/%F%#%V$N%*%W%7%g%s(B <code>%e</code>
$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
<directive module="mod_log_config">CustomLog</directive>
$B%G%#%l%/%F%#%V$N>r7oJ,4t<0$r;HMQ$9$k$3$H$G!"(B
$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
<directive module="mod_setenvif">SetEnvIf</directive>
$B%G%#%l%/%F%#%V$HAH$_9g$o$;$k$3$H$G!"(B
$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
<code>gif</code> $B$G=*$o$k%U%!%$%kL>$X$N%j%/%(%9%H$O%m%0$K5-O?$7$J$$!"(B
$B0c$&%5%V%M%C%H$N%/%i%$%"%s%H$+$i$N%j%/%(%9%H$@$1$r%m%0$K5-O?$9$k!"(B
$B$H$$$&A*Br$,2DG=$G$9!#(B</p>
</section>
<section id="response-headers">
<title>$B>r7oIU$-1~Ez%X%C%@(B</title>
<p><directive module="mod_headers">Header</directive>
$B%G%#%l%/%F%#%V$O4D6-JQ?t$NB8:_$dIT:_$K$h$C$F%/%i%$%"%s%H$X$N1~Ez$KFCDj$N(B
HTTP $B%X%C%@$rIU$1$k$+$I$&$+$r7h$a$k$3$H$,$G$-$^$9!#(B
$B$3$l$K$h$j!"$?$H$($P!"%/%i%$%"%s%H$+$i$N%j%/%(%9%H(B
$B$K$"$k%X%C%@$,$"$k>l9g$K$N$_FCDj$N1~Ez%X%C%@$rAw$k!"$H$$$&$h$&$J$3$H$,(B
$B$G$-$^$9!#(B</p>
</section>
<section id="external-filter">
<title>$B30It%U%#%k%?$NE,MQ(B</title>
<p><directive module="mod_ext_filter">ExtFilterDefine</directive>
$B%G%#%l%/%F%#%V$r;HMQ$7$F(B
<module>mod_ext_filter</module> $B$G@_Dj$5$l$k30It%U%#%k%?$O!"(B
<code>disableenv=</code> $B$H(B <code>enableenv=</code>
$B%*%W%7%g%s$r;H$C$F!"4D6-JQ?t$K$h$k>r7oIU$-E,MQ$,$G$-$^$9!#(B</p>
</section>
<section id="url-rewriting">
<title>URL $B$N=q$-49$((B</title>
<p><directive module="mod_rewrite">RewriteCond</directive>
$B%G%#%l%/%F%#%V$G(B<em>$BI>2AJ8;zNs(B</em>$B$H$7$F(B
<code>%{ENV:...}</code> $B<0$r;XDj$9$k$3$H$G!"(Bmod_rewrite
$B$N=q$-49$(%(%s%8%s$,4D6-JQ?t$K4p$$$F>r7oJ,4t$r9T$J$&$3$H$,$G$-$^$9!#(B
mod_rewrite $B$,;HMQ2DG=$JJQ?t$G(B <code>ENV:</code> $B$,A0$K$D$$$F$$$J$$JQ?t$O!"(B
$B<B:]$O4D6-JQ?t$G$O$J$$$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B
$B$=$l$i$OB>$N%b%8%e!<%k$+$i$O;HMQ$G$-$J$$(B mod_rewrite $BMQ$NFCJL$JJQ?t$G$9!#(B
</p>
</section>
</section>
<section id="special">
<title>$BFCJL$JL\E*$N4D6-JQ?t(B</title>
<p>$B8_49@-$NLdBj$r2r7h$9$k$?$a$K!"FCDj$N%/%i%$%"%s%H$HDL?.$7$F$$$k$H$-$O(B
Apache $B$NF0:n$rJQ99$G$-$k5!9=$,F3F~$5$l$^$7$?!#$G$-$k$@$1=@Fp$K$9$k$?$a$K!"(B
$B$3$l$i$N5!9=$O4D6-JQ?t$rDj5A$9$k$3$H$G8F$S=P$5$l$^$9!#IaDL$O!"(B
<directive module="mod_setenvif">BrowserMatch</directive>
$B%G%#%l%/%F%#%V$r;H$$$^$9$,!"$?$H$($P(B <directive module="mod_env"
>SetEnv</directive> $B%G%#%l%/%F%#%V$d(B <directive module="mod_env"
>PassEnv</directive> $B%G%#%l%/%F%#%V$b;HMQ$9$k$3$H$,$G$-$^$9!#(B</p>
<section id="downgrade">
<title>downgrade-1.0</title>
</section>
<section id="force-gzip">
<title>force-gzip</title>
<p><code>DEFLATE</code> $B%U%#%k%?$,;HMQ$9$k$h$&$K@_Dj$5$l$F$$$k$H$-$K!"(B
$B$3$N4D6-JQ?t$O%V%i%&%6$N(B accept-encoding $B$N@_Dj$rL5;k$7$F>o$K(B
$B05=L$5$l$?=PNO$rAw$k$h$&$K$7$^$9!#(B</p>
</section>
<section id="force-no-vary">
<title>force-no-vary</title>
<p>$B1~Ez%X%C%@$,%/%i%$%"%s%H$KAw$i$l$kA0$K(B <code>Vary</code>
$B%U%#!<%k%I$r<h$j=|$-$^$9!#(B
$B%/%i%$%"%s%H$NCf$K$O$3$N%U%#!<%k%I$r@5$7$/2r<a$7$J$$$b$N$,$"$j$^$9!#(B
$B$3$NJQ?t$r@_Dj$9$k$3$H$G$=$NLdBj$r2sHr$9$k$3$H$,$G$-$^$9!#(B
$B$3$NJQ?t$r@_Dj$9$k$H!"(B<strong>force-response-1.0</strong>
$B$,@_Dj$5$l$?$3$H$K$J$j$^$9!#(B</p>
</section>
<section id="force-response">
<title>force-response-1.0</title>
$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>
</section>
<section id="gzip-only-text-html">
<title>gzip-only-text/html</title>
$B0J30$N%3%s%F%s%H%?%$%W$KBP$9$k!"(B<module>mod_deflate</module>
$BDs6!$N(B <code>DEFLATE</code> $B=PNO%U%#%k%?$rL58z$K$7$^$9!#(B
$B$^$?!"@EE*$K!"4{$K05=L$5$l$?%U%!%$%k$r;HMQ$7$?$$>l9g!"(B
(gzip $B$@$1$G$J$/!"(B"identity" $B$H0[$J$kA4$F$N%(%s%3!<%I$KBP$7$F(B)
<module>mod_negotiation</module> $B$bJQ?t$rI>2A$7$^$9!#(B</p>
</section>
<section id="no-gzip"><title>no-gzip</title>
<p>$B%;%C%H$5$l$k$H!"(B<module>mod_deflate</module> $B$N(B
<code>DEFLATE</code> $B%U%#%k%?$,%*%U$K$J$j$^$9!#(B
$B$=$7$F(B <module>mod_negotiation</module>
$B$O%(%s%3!<%I$5$l$?%j%=!<%9$rAw$i$J$$$h$&$K$7$^$9!#(B</p>
</section>
<section id="nokeepalive">
<title>nokeepalive</title>
<p>$B$3$l$,@_Dj$5$l$F$$$k>l9g$O!"(B<directive module="core"
>KeepAlive</directive> $B$r;HMQ$7$J$$$h$&$K$7$^$9!#(B</p>
<section id="prefer-language"><title>prefer-language</title>
<p><module>mod_negotiation</module> $B$N5sF0$K1F6A$rM?$($^$9!#(B
(<code>en</code>, <code>ja</code>, <code>x-klingon</code>$B$H$$$C$?(B)
$B8@8l%?%0$,3JG<$5$l$F$$$l$P!"$=$N8@8l$N(B variant $B$rAw?.$7$h$&$H$7$^$9!#(B
$B$=$N$h$&$J(B variant $B$,$J$$>l9g$O!"(B
$BE,MQ$5$l$^$9!#(B</p>
</section>
</section>
<section id="redirect-carefully">
<title>redirect-carefully</title>
<p>$B$3$l$O%/%i%$%"%s%H$X$N%j%@%$%l%/%H$NAw?.$r%5!<%P$,$h$jCm0U?<$/(B
$B9T$J$&$h$&$K$7$^$9!#(B
$B$3$l$ODL>o!"%j%@%$%l%/%H$K:]$7$F%/%i%$%"%s%H$K(B
$BLdBj$,$"$k$3$H$,J,$+$C$F$$$k>l9g$K;H$o$l$^$9!#$3$N5!G=$O85!9$O(B
$B%^%$%/%m%=%U%H$N%&%'%V%U%)%k%@$N%=%U%H$,(B DAV
$B%a%=%C%I$K$h$k%G%#%l%/%H%j$N%j%=!<%9$X$N%j%@%$%l%/%H$N07$$$K(B
$BLdBj$,$j!"$=$l$r2sHr$9$k$?$a$K<BAu$5$l$^$7$?!#(B</p>
</section>
<section id="suppress-error-charset">
<title>suppress-error-charset</title>
<p><em>Apache 2.2 $B0J9_$GMxMQ2DG=(B</em></p>
<p>$B%/%i%$%"%s%H$N%j%/%(%9%H$KBP$9$k1~Ez$H$7$F%j%@%$%l%/%H$rAw?.$9$k:]!"(B
$B%l%9%]%s%9$K$O%j%@%$%l%/%H$,<+F0E*$K9T$J$($J$$(B ($B9T$J$o$l$J$$(B)
$B>l9g$KI=<($9$k%F%-%9%H$,4^$^$l$^$9!#(B
$BDL>o!"$3$N%F%-%9%H$K9gCW$7$?%-%c%i%/%?%;%C%H!"(BISO-8859-1
$B$G%i%Y%kIU$1$r$7$^$9!#(B</p>
<p>$B$7$+$7!"%j%@%$%l%/%H@h$,JL$NJ8;z%;%C%H$r;H$C$F$$$k>l9g!"(B
$B$"$kLdBj$N$"$k%V%i%&%6$N%P!<%8%g%s$G$O!"(B
$B%j%@%$%l%/%H@h$N<B:]$NJ8;z%;%C%H$NBe$o$j$K!"(B
$B%j%@%$%l%/%H85$NJ8;z%;%C%H$r;H$C$F$7$^$&$3$H$,$"$j$^$9!#(B
$B$=$N7k2L!"Nc$($PJQ$JIA2h$,9T$J$o$l$?$j$7$F!"FI$a$J$/$J$C$?$j$7$^$9!#(B</p>
<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
$B%-%c%i%/%?%;%C%H$N;XDj$r=|5n$7$^$9$N$G!"$=$l$iLdBj$N$"$k%V%i%&%6$G$b(B
$B%j%@%$%l%/%H@h$NJ8;z%;%C%H$r@5$7$/;H$&$h$&$K$G$-$^$9!#(B</p>
</section>
<section id="proxy"><title>force-proxy-request-1.0, proxy-nokeepalive, proxy-sendchunked, proxy-sendcl</title>
<p>$B$3$l$i$N;X<(;R$O(B <module>mod_proxy</module> $B$N5sF0$rJQ99$7$^$9!#(B
$B>\:Y$O(B <module>mod_proxy</module> $B$N%I%-%e%a%s%H$r$4;2>H$/$@$5$$!#(B</p>
</section>
</section>
<section id="examples">
<title>$BNc(B</title>
<section id="misbehaving">
<title>$B$*$+$7$J5sF0$r$9$k%/%i%$%"%s%H$KBP$7$F%W%m%H%3%k$NF0:n$rJQ99$9$k(B</title>
<p>$B%/%i%$%"%s%H$K4X$9$k4{CN$NLdBj$KBP=h$9$k$?$a$K!"0J2<$N9T$r(B
<p>$B8E$$%P!<%8%g%s$N(B Apache $B$G$O!"%/%i%$%"%s%H$NLdBj$KBP1~$9$k$?$a$K(B
$B:#$H$J$C$F$O!"LdBj$H$7$F$$$?%/%i%$%"%s%H$O<B:]$K$O8+$+$1$k$3$H$O(B
$B$J$/$J$C$F$-$?$N$G!"$3$N@_Dj$O$b$O$dI,MW$J$$$+$b$7$l$^$;$s!#(B</p>
<example><pre>
#
# The following directives modify normal HTTP response behavior.
# The first directive disables keepalive for Netscape 2.x and browsers that
# spoof it. There are known problems with these browser implementations.
# The second directive is for Microsoft Internet Explorer 4.0b2
# support keepalive when it is used on 301 or 302 (redirect) responses.
#
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
#
# basic 1.1 response.
#
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0</pre></example>
</section>
<section id="no-img-log">
<title>$B2hA|$X$N%j%/%(%9%H$r%"%/%;%9%m%0$K5-O?$7$J$$(B</title>
<p>$B$3$NNc$G$O!"2hA|$X$N%j%/%(%9%H$,%"%/%;%9%m%0$K8=$l$J$$$h$&$K$7$^$9!#(B
$B$3$l$rJQ99$9$k$3$H$G!"FCDj$N%G%#%l%/%H%j$N%m%0<}=8$r$d$a$?$j!"(B
$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
</p>
<example><pre>
SetEnvIf Request_URI \.gif image-request
SetEnvIf Request_URI \.jpg image-request
SetEnvIf Request_URI \.png image-request
CustomLog logs/access_log common env=!image-request</pre></example>
</section>
<section id="image-theft">
<title>$B!V2hA|$NEpMQ!W$rKI$0(B</title>
<p>$B$3$NNc$O!"JL$N%5!<%P$K$$$k?M$,!"$"$J$?$N%5!<%P$K$"$k2hA|$r(B
inline $B2hA|$H$7$F;HMQ$9$k$3$H$rKI$.$^$9!#(B
$B$3$l$O?d>)$5$l$F$$$k@_Dj$G$O$"$j$^$;$s$,!"$"$k8BDj$5$l$?>u67$G$OM-8z$G$9!#(B
$B$H$$$&%G%#%l%/%H%j$K$"$k$H2>Dj$7$^$9!#(B</p>
<example><pre>
SetEnvIf Referer "^http://www\.example\.com/" local_referal
# Allow browsers that do not send Referer info
SetEnvIf Referer "^$" local_referal
Order Deny,Allow
Deny from all
Allow from env=local_referal
</Directory></pre></example>
<p>$B$3$N<jK!$K4X$9$k>\$7$$>pJs$O(B ApacheToday $B$N%A%e!<%H%j%"%k!V(B<a
>Keeping Your Images from Adorning Other Sites</a>
$B!W$r;2>H$7$F$/$@$5$$!#(B</p>
</section>
</section>
</manualpage>