mod_setenvif.xml.ja revision 031b91a62d25106ae69d4693475c79618dd5e884
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<!DOCTYPE modulesynopsis SYSTEM "/style/modulesynopsis.dtd">
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<?xml-stylesheet type="text/xsl" href="/style/manual.ja.xsl"?>
15b0d99a66145e797cbe368bff5e44d5653be5e5nd<!-- English Revision: 151408:395228 (outdated) -->
031b91a62d25106ae69d4693475c79618dd5e884fielding Licensed to the Apache Software Foundation (ASF) under one or more
031b91a62d25106ae69d4693475c79618dd5e884fielding contributor license agreements. See the NOTICE file distributed with
031b91a62d25106ae69d4693475c79618dd5e884fielding this work for additional information regarding copyright ownership.
031b91a62d25106ae69d4693475c79618dd5e884fielding The ASF licenses this file to You under the Apache License, Version 2.0
031b91a62d25106ae69d4693475c79618dd5e884fielding (the "License"); you may not use this file except in compliance with
031b91a62d25106ae69d4693475c79618dd5e884fielding the License. You may obtain a copy of the License at
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd Unless required by applicable law or agreed to in writing, software
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd distributed under the License is distributed on an "AS IS" BASIS,
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd See the License for the specific language governing permissions and
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd limitations under the License.
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<description>$B%j%/%(%9%H$NFCD'$K4p$E$$$?4D6-JQ?t$N@_Dj$r2DG=$K$9$k(B</description>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B%b%8%e!<%k$O!"%j%/%(%9%H$N$"$kB&LL$,;XDj$5$l$?@55,I=8=(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B$K9g$&$+$I$&$+$K$h$C$F4D6-JQ?t$r@_Dj$9$k5!G=$rDs6!$7$^$9!#(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B$3$l$i$N4D6-JQ?t$r;HMQ$7$F!"%5!<%P$NB>$NItJ,$,$I$N$h$&$JF0:n$r$9$k$+$r(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B7hDj$9$k$3$H$,$G$-$^$9!#(B</p>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B$=$l$r;H$C$F!"<!$NNc$N$h$&$K$h$jJ#;($J@_Dj$r$9$k$3$H$,$G$-$^$9!#(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B$3$l$O!"%V%i%&%6$,(B mozilla $B$G$O$"$k$1$l$I!"(BMSIE $B$G$O$J$$$H$-$K(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki BrowserMatch ^Mozilla netscape<br />
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki BrowserMatch MSIE !netscape<br />
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<seealso><a href="/env.html">Apache $B$N4D6-JQ?t(B</a></seealso>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<directivesynopsis>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<description>HTTP User-Agent $B$K4p$E$$$F4D6-JQ?t$r@_Dj$9$k(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki</description>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<syntax>BrowserMatch <em>regex [!]env-variable</em>[=<em>value</em>]
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki[[!]<em>env-variable</em>[=<em>value</em>]] ...</syntax>
9dca5c120b818e1c51dbbb6c658d95a9f91b524cyoshiki<context>virtual host</context><context>directory</context>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki <directive module="mod_setenvif">SetEnvIf</directive> $B%G%#%l%/%F%#%V$N(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $BFCNc$G!"(B<code>User-Agent</code> HTTP $B%j%/%(%9%H%X%C%@$K4p$E$$$F(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B4D6-JQ?t$r@_Dj$7$^$9!#0J2<$N(B 2 $B9T$N8z2L$OF1$8$K$J$j$^$9(B:</p>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki BrowserMatchNoCase Robot is_a_robot<br />
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki SetEnvIfNoCase User-Agent Robot is_a_robot<br />
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki BrowserMatch ^Mozilla forms jpeg=yes browser=netscape<br />
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki BrowserMatch "^Mozilla/[2-3]" tables agif frames javascript<br />
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki BrowserMatch MSIE !javascript<br />
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki</directivesynopsis>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<directivesynopsis>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<description>HTTP User-Agent $B$K4p$E$$$FBgJ8;z>.J8;z$r6hJL$;$:$K(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki$B4D6-JQ?t$r@_Dj$9$k(B</description>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<syntax>BrowserMatchNoCase <em>regex [!]env-variable</em>[=<em>value</em>]
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki [[!]<em>env-variable</em>[=<em>value</em>]] ...</syntax>
9dca5c120b818e1c51dbbb6c658d95a9f91b524cyoshiki<context>virtual host</context><context>directory</context>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<compatibility>Apache 1.2 $B0J9_(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki (Apache 1.2 $B$G$O$3$N%G%#%l%/%F%#%V$O$b$&MQ$$$i$l$F$$$J$$(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki mod_browser $B%b%8%e!<%k$K$"$j$^$7$?(B)</compatibility>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki <p><directive>BrowserMatchNoCase</directive> $B%G%#%l%/%F%#%V$O(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B0UL#E*$K$O(B <directive
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki module="mod_setenvif">BrowserMatch</directive> $B%G%#%l%/%F%#%V$H(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $BF1$8$G$9!#$?$@$7!"$3$N%G%#%l%/%F%#%V$OBgJ8;z>.J8;z$r6hJL$7$J$$(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B%^%C%A%s%0$r9T$J$$$^$9!#Nc$($P(B:</p>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki BrowserMatchNoCase mac platform=macintosh<br />
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki BrowserMatchNoCase win platform=windows<br />
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki <p><directive>BrowserMatch</directive> $B%G%#%l%/%F%#%V$H(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki <directive>BrowserMatchNoCase</directive> $B%G%#%l%/%F%#%V$O(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki <directive module="mod_setenvif">SetEnvIf</directive> $B%G%#%l%/%F%#%V$H(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki module="mod_setenvif">SetEnvIfNoCase</directive> $B%G%#%l%/%F%#%V$N(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki BrowserMatchNoCase Robot is_a_robot<br />
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki SetEnvIfNoCase User-Agent Robot is_a_robot<br />
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki</directivesynopsis>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<directivesynopsis>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<description>$B%j%/%(%9%H$NB0@-$K4p$E$$$F4D6-JQ?t$r@_Dj$9$k(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki</description>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki [[!]<em>env-variable</em>[=<em>value</em>]] ...</syntax>
9dca5c120b818e1c51dbbb6c658d95a9f91b524cyoshiki<context>virtual host</context><context>directory</context>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B%G%#%l%/%F%#%V$O!"%j%/%(%9%H$NB0@-$K4p$E$$$F4D6-JQ?t$rDj5A$7$^$9!#(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B:G=i$N0z?t$G;XDj$G$-$k(B <em>attribute</em> $B$O0J2<$N;0$D$N$I$l$+$G$9(B:</p>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<li>HTTP $B%j%/%(%9%H%X%C%@%U%#!<%k%I(B ($B>\$7$$>pJs$O(B <a
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki href="http://www.rfc-editor.org/rfc/rfc2616.txt">RFC 2616</a> $B$r(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B;2>H$7$F$/$@$5$$(B)$B!#Nc$($P!"(B<code>Host</code>,
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki <code>Accept-Language</code> $B$G$9!#%j%/%(%9%H%X%C%@$N=89g$r8=$9$?$a$K(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B@55,I=8=$r;H$&$3$H$b$G$-$^$9!#(B</li>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B%j%/%(%9%H$r9T$J$C$F$$$k%/%i%$%"%s%H$N%[%9%HL>(B ($B$b$7$"$l$P(B)</li>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B%j%/%(%9%H$r9T$J$C$F$$$k%/%i%$%"%s%H$N(B IP $B%"%I%l%9(B</li>
442f90a2f35109571577a7d130cf0ef65ff8ffbeyoshiki (2.0.43 $B0J9_$N$_(B)</li>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki <li><code>Request_Method</code> -
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B;HMQ$5$l$F$$$k%a%=%C%IL>(B (<code>GET</code>, <code>POST</code>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki <em>$B$J$I(B</em>)</li>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki <li><code>Request_Protocol</code> -
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B%j%/%(%9%H$,9T$J$o$l$?%W%m%H%3%k$NL>A0$H%P!<%8%g%s(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki (<em>$BNc$($P(B</em>$B!"(B"HTTP/0.9", "HTTP/1.1" <em>$B$J$I!#(B</em>)</li>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<li>$B%j%/%(%9%H$H4XO"IU$1$i$l$k4D6-JQ?t$N%j%9%H!#$3$l$K$h$j(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<directive>SetEnvIf</directive> $B%G%#%l%/%F%#%V$,0JA0$N%^%C%A$N7k2L$r(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki$B;H$&$3$H$,$G$-$k$h$&$K$J$j$^$9!#$3$NJ}K!$N%F%9%H$G$OA0$NItJ,$K$"$k(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<code>SetEnvIf[NoCase]</code> $B$N7k2L$N$_$r;HMQ2DG=$G$9!#!VA0!W$H$O!"(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki$B$h$j9-$$HO0O$KBP$7$FDj5A$5$l$F$$$k(B ($B%5!<%PA4BN$N$h$&$K(B) $B$+!"8=:_$N%G%#%l%/%F%#%V$N(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki$BHO0O$G$h$jA0$NItJ,$GDj5A$5$l$F$$$k$+!"$H$$$&$3$H$G$9!#(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki$B4D6-JQ?t$G$"$k2DG=@-$O!"%j%/%(%9%H$NFC@-$KBP$9$k%^%C%A$,B8:_$;$:!"(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<em>attribute</em> $B$K@55,I=8=$,;H$o$l$J$+$C$?$H$-$K$N$_9MN8$5$l$^$9!#(B</li>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<p>$BFs$DL\$N0z?t(B (<em>regex</em>) $B$O(B <a
e50dced6f51b101fcf63e1b51ebf771287870107yoshikihref="http://www.pcre.org/">Perl $B8_49$N@55,I=8=(B</a>$B$G$9!#(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki$B$3$l$O(B POSIX.2 $B$N(B egrep $B7A<0$N@55,I=8=$H;w$F$$$^$9!#(B<em>regex</em> $B$,(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<em>attribute</em> $B$K%^%C%A$9$k>l9g$O!";D$j$N0z?t$,I>2A$5$l$^$9!#(B</p>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<p>$B;D$j$N0z?t$O@_Dj$9$kJQ?t$NL>A0$G!"@_Dj$5$l$kCM$r;XDj$9$k$3$H$b$G$-$^$9!#(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki$B$3$l$O!"(B</p>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki <li><code><em>varname</em>=<em>value</em></code></li>
442f90a2f35109571577a7d130cf0ef65ff8ffbeyoshiki <p>$B:G=i$N7A<0$G$O!"CM$O(B "1" $B$K@_Dj$5$l$^$9!#(B
442f90a2f35109571577a7d130cf0ef65ff8ffbeyoshiki $BFs$DL\$O$b$7CM$,Dj5A$5$l$F$$$l$P$=$l$r<h$j=|$-$^$9!#(B
442f90a2f35109571577a7d130cf0ef65ff8ffbeyoshiki $B;0$DL\$OJQ?t$r(B <code><em>value</em></code> $B$NM?$($i$l$?CM$K@_Dj$7$^$9!#(B
e3e355e04c4d49fd75b7dafa109c4d2622550e41yoshiki 2.0.51 $B0J9_$G$O!"(B<var>regex</var> $BFb$K(B <code>$1</code>..<code>$9</code>
442f90a2f35109571577a7d130cf0ef65ff8ffbeyoshiki $B$,B8:_$9$l$P$=$l$rG'<1$7!"(B<var>regex</var> $B$NBP1~$9$k4]3g8L$G0O$^$l$?ItJ,$G(B
442f90a2f35109571577a7d130cf0ef65ff8ffbeyoshiki $BCV49$7$^$9!#(B</p>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<title>$BNc(B:</title>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki SetEnvIf Request_URI "\.gif$" object_is_image=gif<br />
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki SetEnvIf Request_URI "\.jpg$" object_is_image=jpg<br />
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki SetEnvIf Request_URI "\.xbm$" object_is_image=xbm<br />
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki SetEnvIf Referer www\.mydomain\.com intra_site_referral<br />
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki SetEnvIf object_is_image xbm XBIT_PROCESSING=1<br />
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki SetEnvIf ^TS* ^[a-z].* HAVE_TS<br />
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki <p>$B=i$a$N;0$D$O%j%/%(%9%H$,2hA|$G$"$k$H$-$K4D6-JQ?t(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki <code>object_is_image</code> $B$r@_Dj$7$^$9!#;M$DL\$O(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B;2>H85$N%Z!<%8$,%&%'%V%5%$%H(B <code>www.mydomain.com</code> $B$K$"$k$H$-$K(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki <code>intra_site_referral</code> $B$r@_Dj$7$^$9!#(B</p>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki <p>$B:G8e$NNc$O!"%j%/%(%9%H$K(B "TS" $B$G;O$^$j!"CM$,=89g(B [a-z] $B$N$I$l$+$G(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B;O$^$k%X%C%@$,$"$k$H$-$K(B <code>HAVE_TS</code> $B$r@_Dj$7$^$9!#(B</p>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<seealso>$BB>$NNc$O!"(B<a href="/env.html">Apache $B$N4D6-JQ?t(B</a>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki</directivesynopsis>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<directivesynopsis>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<name>SetEnvIfNoCase</name>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<description>$B%j%/%(%9%H$NB0@-$K4p$E$$$FBgJ8;z>.J8;z$r6hJL$;$:$K4D6-JQ?t$r@_Dj$9$k(B</description>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<syntax>SetEnvIfNoCase <em>attribute regex
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki [!]env-variable</em>[=<em>value</em>]
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki [[!]<em>env-variable</em>[=<em>value</em>]] ...</syntax>
9dca5c120b818e1c51dbbb6c658d95a9f91b524cyoshiki<contextlist><context>server config</context>
9dca5c120b818e1c51dbbb6c658d95a9f91b524cyoshiki<context>virtual host</context><context>directory</context>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<context>.htaccess</context></contextlist>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<override>FileInfo</override>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki<compatibility>Apache 1.3 $B0J9_(B</compatibility>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki <p><directive>SetEnvIfNoCase</directive> $B$O0UL#E*$K$O(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki <directive module="mod_setenvif">SetEnvIf</directive> $B%G%#%l%/%F%#%V$H(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $BF1$8$G$9!#0c$$$O!"@55,I=8=$N%^%C%A%s%0$,BgJ8;z>.J8;z$r6hJL$7$J$$$G(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B9T$J$o$l$k$3$H$G$9!#Nc$($P(B:</p>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki SetEnvIfNoCase Host Apache\.Org site=apache
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki <p>$B$3$l$O(B HTTP $B%j%/%(%9%H%X%C%@$K%U%#!<%k%I(B <code>Host:</code> $B$,(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B$"$j!"$=$NCM$,(B <code>Apache.Org</code> $B$d(B <code>apache.org</code>$B!"(B
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B$=$NB>$NBgJ8;z>.J8;z$NAH$_9g$o$;$G$"$C$?$H$-$K(B <code>site</code>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki $B4D6-JQ?t$r(B "<code>apache</code>" $B$K@_Dj$7$^$9!#(B</p>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki</directivesynopsis>
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki</modulesynopsis>