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
/
F252569_mod_setenvif.html.ja.jis
< prev
next >
Wrap
Extensible Markup Language
|
2003-05-29
|
16KB
|
278 lines
<?xml version="1.0" encoding="iso-2022-jp"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>mod_setenvif - Apache HTTP $B%5!<%P(B</title>
<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
<link href="../images/favicon.ico" rel="shortcut icon" /></head>
<body>
<div id="page-header">
<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>
<p class="apache">Apache HTTP $B%5!<%P(B $B%P!<%8%g%s(B 2.0</p>
<img alt="" src="../images/feather.gif" /></div>
<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
<div id="path">
<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> > <a href="./">$B%b%8%e!<%k(B</a></div>
<div id="page-content">
<div id="preamble"><h1>Apache $B%b%8%e!<%k(B mod_setenvif</h1>
<div class="toplang">
<p><span>Available Languages: </span><a href="../en/mod/mod_setenvif.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ja/mod/mod_setenvif.html" title="Japanese"> ja </a></p>
</div>
<table class="module"><tr><th><a href="module-dict.html#Description">$B@bL@(B:</a></th><td>$B%j%/%(%9%H$NFCD'$K4p$E$$$?4D6-JQ?t$N@_Dj$r2DG=$K$9$k(B</td></tr>
<tr><th><a href="module-dict.html#Status">$B%9%F!<%?%9(B:</a></th><td>Base</td></tr>
<tr><th><a href="module-dict.html#ModuleIdentifier">$B%b%8%e!<%k<1JL;R(B:</a></th><td>setenvif_module</td></tr>
<tr><th><a href="module-dict.html#SourceFile">$B%=!<%9%U%!%$%k(B:</a></th><td>mod_setenvif.c</td></tr></table>
<h3>$B35MW(B</h3>
<p><code class="module"><a href="../mod/mod_setenvif.html">mod_setenvif</a></code>
$B%b%8%e!<%k$O!"%j%/%(%9%H$N$"$kB&LL$,;XDj$5$l$?@55,I=8=(B
$B$K9g$&$+$I$&$+$K$h$C$F4D6-JQ?t$r@_Dj$9$k5!G=$rDs6!$7$^$9!#(B
$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
$B7hDj$9$k$3$H$,$G$-$^$9!#(B</p>
<p>$B$3$N%b%8%e!<%k$,Ds6!$9$k%G%#%l%/%F%#%V$O!"(B
$B@_Dj%U%!%$%k$K8=$l$k=gHV$KE,MQ$5$l$^$9!#(B
$B$=$l$r;H$C$F!"<!$NNc$N$h$&$K$h$jJ#;($J@_Dj$r$9$k$3$H$,$G$-$^$9!#(B
$B$3$l$O!"%V%i%&%6$,(B mozilla $B$G$O$"$k$1$l$I!"(BMSIE $B$G$O$J$$$H$-$K(B
<code>netscape</code> $B$r@_Dj$7$^$9!#(B</p>
<div class="example"><p><code>
BrowserMatch ^Mozilla netscape<br />
BrowserMatch MSIE !netscape<br />
</code></p></div>
</div>
<div id="quickview"><h3 class="directives">$B%G%#%l%/%F%#%V(B</h3>
<ul id="toc">
<li><img alt="" src="../images/down.gif" /> <a href="#browsermatch">BrowserMatch</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#browsermatchnocase">BrowserMatchNoCase</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#setenvif">SetEnvIf</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#setenvifnocase">SetEnvIfNoCase</a></li>
</ul>
<h3>$B;2>H(B</h3>
<ul class="seealso">
<li><a href="../env.html">Apache $B$N4D6-JQ?t(B</a></li>
</ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="BrowserMatch" id="BrowserMatch">BrowserMatch</a> <a name="browsermatch" id="browsermatch">$B%G%#%l%/%F%#%V(B</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">$B@bL@(B:</a></th><td>HTTP User-Agent $B$K4p$E$$$F4D6-JQ?t$r@_Dj$9$k(B
</td></tr>
<tr><th><a href="directive-dict.html#Syntax">$B9=J8(B:</a></th><td><code>BrowserMatch <em>regex [!]env-variable</em>[=<em>value</em>]
[[!]<em>env-variable</em>[=<em>value</em>]] ...</code></td></tr>
<tr><th><a href="directive-dict.html#Context">$B%3%s%F%-%9%H(B:</a></th><td>$B%5!<%P@_Dj%U%!%$%k(B, $B%P!<%A%c%k%[%9%H(B, $B%G%#%l%/%H%j(B, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Override">$B>e=q$-(B:</a></th><td>FileInfo</td></tr>
<tr><th><a href="directive-dict.html#Status">$B%9%F!<%?%9(B:</a></th><td>Base</td></tr>
<tr><th><a href="directive-dict.html#Module">$B%b%8%e!<%k(B:</a></th><td>mod_setenvif</td></tr>
</table>
<p><code class="directive">BrowserMatch</code> $B$O(B
<code class="directive"><a href="#setenvif">SetEnvIf</a></code> $B%G%#%l%/%F%#%V$N(B
$BFCNc$G!"(B<code>User-Agent</code> HTTP $B%j%/%(%9%H%X%C%@$K4p$E$$$F(B
$B4D6-JQ?t$r@_Dj$7$^$9!#0J2<$N(B 2 $B9T$N8z2L$OF1$8$K$J$j$^$9(B:</p>
<div class="example"><p><code>
BrowserMatchNoCase Robot is_a_robot<br />
SetEnvIfNoCase User-Agent Robot is_a_robot<br />
</code></p></div>
<p>$B$=$NB>$NNc(B:</p>
<div class="example"><p><code>
BrowserMatch ^Mozilla forms jpeg=yes browser=netscape<br />
BrowserMatch "^Mozilla/[2-3]" tables agif frames javascript<br />
BrowserMatch MSIE !javascript<br />
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="BrowserMatchNoCase" id="BrowserMatchNoCase">BrowserMatchNoCase</a> <a name="browsermatchnocase" id="browsermatchnocase">$B%G%#%l%/%F%#%V(B</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">$B@bL@(B:</a></th><td>HTTP User-Agent $B$K4p$E$$$FBgJ8;z>.J8;z$r6hJL$;$:$K(B
$B4D6-JQ?t$r@_Dj$9$k(B</td></tr>
<tr><th><a href="directive-dict.html#Syntax">$B9=J8(B:</a></th><td><code>BrowserMatchNoCase <em>regex [!]env-variable</em>[=<em>value</em>]
[[!]<em>env-variable</em>[=<em>value</em>]] ...</code></td></tr>
<tr><th><a href="directive-dict.html#Context">$B%3%s%F%-%9%H(B:</a></th><td>$B%5!<%P@_Dj%U%!%$%k(B, $B%P!<%A%c%k%[%9%H(B, $B%G%#%l%/%H%j(B, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Override">$B>e=q$-(B:</a></th><td>FileInfo</td></tr>
<tr><th><a href="directive-dict.html#Status">$B%9%F!<%?%9(B:</a></th><td>Base</td></tr>
<tr><th><a href="directive-dict.html#Module">$B%b%8%e!<%k(B:</a></th><td>mod_setenvif</td></tr>
<tr><th><a href="directive-dict.html#Compatibility">$B8_49@-(B:</a></th><td>Apache 1.2 $B0J9_(B
(Apache 1.2 $B$G$O$3$N%G%#%l%/%F%#%V$O$b$&MQ$$$i$l$F$$$J$$(B
mod_browser $B%b%8%e!<%k$K$"$j$^$7$?(B)</td></tr>
</table>
<p><code class="directive">BrowserMatchNoCase</code> $B%G%#%l%/%F%#%V$O(B
$B0UL#E*$K$O(B <code class="directive"><a href="#browsermatch">BrowserMatch</a></code> $B%G%#%l%/%F%#%V$H(B
$BF1$8$G$9!#$?$@$7!"$3$N%G%#%l%/%F%#%V$OBgJ8;z>.J8;z$r6hJL$7$J$$(B
$B%^%C%A%s%0$r9T$J$$$^$9!#Nc$($P(B:</p>
<div class="example"><p><code>
BrowserMatchNoCase mac platform=macintosh<br />
BrowserMatchNoCase win platform=windows<br />
</code></p></div>
<p><code class="directive">BrowserMatch</code> $B%G%#%l%/%F%#%V$H(B
<code class="directive">BrowserMatchNoCase</code> $B%G%#%l%/%F%#%V$O(B
<code class="directive"><a href="#setenvif">SetEnvIf</a></code> $B%G%#%l%/%F%#%V$H(B
<code class="directive"><a href="#setenvifnocase">SetEnvIfNoCase</a></code> $B%G%#%l%/%F%#%V$N(B
$BFCNc$G$9!#0J2<$N(B 2 $B9T$N8z2L$OF1$8$G$9(B:</p>
<div class="example"><p><code>
BrowserMatchNoCase Robot is_a_robot<br />
SetEnvIfNoCase User-Agent Robot is_a_robot<br />
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="SetEnvIf" id="SetEnvIf">SetEnvIf</a> <a name="setenvif" id="setenvif">$B%G%#%l%/%F%#%V(B</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">$B@bL@(B:</a></th><td>$B%j%/%(%9%H$NB0@-$K4p$E$$$F4D6-JQ?t$r@_Dj$9$k(B
</td></tr>
<tr><th><a href="directive-dict.html#Syntax">$B9=J8(B:</a></th><td><code>SetEnvIf <em>attribute
regex [!]env-variable</em>[=<em>value</em>]
[[!]<em>env-variable</em>[=<em>value</em>]] ...</code></td></tr>
<tr><th><a href="directive-dict.html#Context">$B%3%s%F%-%9%H(B:</a></th><td>$B%5!<%P@_Dj%U%!%$%k(B, $B%P!<%A%c%k%[%9%H(B, $B%G%#%l%/%H%j(B, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Override">$B>e=q$-(B:</a></th><td>FileInfo</td></tr>
<tr><th><a href="directive-dict.html#Status">$B%9%F!<%?%9(B:</a></th><td>Base</td></tr>
<tr><th><a href="directive-dict.html#Module">$B%b%8%e!<%k(B:</a></th><td>mod_setenvif</td></tr>
</table>
<p><code class="directive">SetEnvIf</code>
$B%G%#%l%/%F%#%V$O!"%j%/%(%9%H$NB0@-$K4p$E$$$F4D6-JQ?t$rDj5A$7$^$9!#(B
$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>
<ol>
<li>HTTP $B%j%/%(%9%H%X%C%@%U%#!<%k%I(B ($B>\$7$$>pJs$O(B <a href="http://www.rfc-editor.org/rfc/rfc2616.txt">RFC 2616</a> $B$r(B
$B;2>H$7$F$/$@$5(B$B$$(B)$B!#Nc$($P!"(B<code>Host</code>,
<code>User-Agent</code>, <code>Referer</code>,
<code>Accept-Language</code> $B$G$9!#%j%/%(%9%H%X%C%@$N=89g$r8=$9$?$a$K(B
$B@55,I=8=$r;H$&$3$H$b$G$-$^$9!#(B</li>
<li>$B0J2<$N%j%/%(%9%H$N0lItJ,$N$I$l$+(B:
<ul>
<li><code>Remote_Host</code> -
$B%j%/%(%9%H$r9T$J$C$F$$$k%/%i%$%"%s%H$N%[%9%HL>(B ($B$b$7$"$l$P(B)</li>
<li><code>Remote_Addr</code> -
$B%j%/%(%9%H$r9T$J$C$F$$$k%/%i%$%"%s%H$N(B IP $B%"%I%l%9(B</li>
<li><code>Server_Addr</code> -
$B%j%/%(%9%H$r<u$1<h$C$?%5!<%P$N(B IP $B%"%I%l%9(B
(2.0.43 $B0J9_$N$_(B)</li>
<li><code>Remote_User</code> -
$BG'>Z$5$l$?%f!<%6L>(B ($B$b$7$"$l$P(B)</li>
<li><code>Request_Method</code> -
$B;HMQ$5$l$F$$$k%a%=%C%IL>(B (<code>GET</code>, <code>POST</code>
<em>$B$J$I(B</em>)</li>
<li><code>Request_Protocol</code> -
$B%j%/%(%9%H$,9T$J$o$l$?%W%m%H%3%k$NL>A0$H%P!<%8%g%s(B
(<em>$BNc$($P(B</em>$B!"(B"HTTP/0.9", "HTTP/1.1" <em>$B$J$I!#(B</em>)</li>
<li><code>Request_URI</code> -
URL $B$N%9%-!<%`$H%[%9%H$N8e$NItJ,(B</li>
</ul>
</li>
<li>$B%j%/%(%9%H$H4XO"IU$1$i$l$k4D6-JQ?t$N%j%9%H!#$3$l$K$h$j(B
<code class="directive">SetEnvIf</code> $B%G%#%l%/%F%#%V$,0JA0$N%^%C%A$N7k2L$r(B
$B;H$&$3$H$,$G$-$k$h$&$K$J$j$^$9!#$3$NJ}K!$N%F%9%H$G$OA0$NItJ,$K$"$k(B
<code>SetEnvIf[NoCase]</code> $B$N7k2L$N$_$r;HMQ2DG=$G$9!#!VA0!W$H$O!"(B
$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
$BHO0O$G$h$jA0$NItJ,$GDj5A$5$l$F$$$k$+!"$H$$$&$3$H$G$9!#(B
$B4D6-JQ?t$G$"$k2DG=@-$O!"%j%/%(%9%H$NFC@-$KBP$9$k%^%C%A$,B8:_$;$:!"(B
<em>attribute</em> $B$K@55,I=8=$,;H$o$l$J$+$C$?$H$-$K$N$_9MN8$5$l$^$9!#(B</li>
</ol>
<p>$BFs$DL\$N0z?t(B (<em>regex</em>) $B$O(B <a href="http://www.pcre.org/">Perl $B8_49$N@55,I=8=(B</a>$B$G$9!#(B
$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
<em>attribute</em> $B$K%^%C%A$9$k>l9g$O!";D$j$N0z?t$,I>2A$5$l$^$9!#(B</p>
<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
$B$3$l$O!"(B</p>
<ol>
<li><code><em>varname</em></code> $B$+(B</li>
<li><code>!<em>varname</em></code> $B$+(B</li>
<li><code><em>varname</em>=<em>value</em></code></li>
</ol>
<p>$B$N$I$l$+$N7A<0$K$J$j$^$9!#(B</p>
<p>$B:G=i$N7A<0$G$O!"CM$O(B "1" $B$K@_Dj$5$l$^$9!#Fs$DL\$O!"(B
$B$b$7CM$,Dj5A$5$l$F$$$l$P$=$l$r<h$j=|$-!";0$DL\$OJQ?t$r(B
<code><em>value</em></code> $B$H$7$FM?$($i$l$?CM$K@_Dj$7$^$9!#(B</p>
<div class="example"><h3>$BNc(B:</h3><p><code>
SetEnvIf Request_URI "\.gif$" object_is_image=gif<br />
SetEnvIf Request_URI "\.jpg$" object_is_image=jpg<br />
SetEnvIf Request_URI "\.xbm$" object_is_image=xbm<br />
:<br />
SetEnvIf Referer www\.mydomain\.com intra_site_referral<br />
:<br />
SetEnvIf object_is_image xbm XBIT_PROCESSING=1<br />
:<br />
SetEnvIf ^TS* ^[a-z].* HAVE_TS<br />
</code></p></div>
<p>$B=i$a$N;0$D$O%j%/%(%9%H$,2hA|$G$"$k$H$-$K4D6-JQ?t(B
<code>object_is_image</code> $B$r@_Dj$7$^$9!#;M$DL\$O(B
$B;2>H85$N%Z!<%8$,%&%'%V%5%$%H(B <code>www.mydomain.com</code> $B$K$"$k$H$-$K(B
<code>intra_site_referral</code> $B$r@_Dj$7$^$9!#(B</p>
<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
$B;O$^$k%X%C%@$,$"$k$H$-$K(B <code>HAVE_TS</code> $B$r@_Dj$7$^$9!#(B</p>
<h3>$B;2>H(B</h3>
<ul>
<li>$BB>$NNc$O!"(B<a href="../env.html">Apache $B$N4D6-JQ?t(B</a>
</li>
</ul>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="SetEnvIfNoCase" id="SetEnvIfNoCase">SetEnvIfNoCase</a> <a name="setenvifnocase" id="setenvifnocase">$B%G%#%l%/%F%#%V(B</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">$B@bL@(B:</a></th><td>$B%j%/%(%9%H$NB0@-$K4p$E$$$FBgJ8;z>.J8;z$r6hJL$;$:$K4D6-JQ?t$r@_Dj$9$k(B</td></tr>
<tr><th><a href="directive-dict.html#Syntax">$B9=J8(B:</a></th><td><code>SetEnvIfNoCase <em>attribute regex
[!]env-variable</em>[=<em>value</em>]
[[!]<em>env-variable</em>[=<em>value</em>]] ...</code></td></tr>
<tr><th><a href="directive-dict.html#Context">$B%3%s%F%-%9%H(B:</a></th><td>$B%5!<%P@_Dj%U%!%$%k(B, $B%P!<%A%c%k%[%9%H(B, $B%G%#%l%/%H%j(B, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Override">$B>e=q$-(B:</a></th><td>FileInfo</td></tr>
<tr><th><a href="directive-dict.html#Status">$B%9%F!<%?%9(B:</a></th><td>Base</td></tr>
<tr><th><a href="directive-dict.html#Module">$B%b%8%e!<%k(B:</a></th><td>mod_setenvif</td></tr>
<tr><th><a href="directive-dict.html#Compatibility">$B8_49@-(B:</a></th><td>Apache 1.3 $B0J9_(B</td></tr>
</table>
<p><code class="directive">SetEnvIfNoCase</code> $B$O0UL#E*$K$O(B
<code class="directive"><a href="#setenvif">SetEnvIf</a></code> $B%G%#%l%/%F%#%V$H(B
$BF1$8$G$9!#0c$$$O!"@55,I=8=$N%^%C%A%s%0$,BgJ8;z>.J8;z$r(B$B6hJL$7$J$$$G(B
$B9T$J$o$l$k$3$H$G$9!#Nc$($P(B:</p>
<div class="example"><p><code>
SetEnvIfNoCase Host Apache\.Org site=apache
</code></p></div>
<p>$B$3$l$O(B HTTP $B%j%/%(%9%H%X%C%@$K%U%#!<%k%I(B <code>Host:</code> $B$,(B
$B$"$j!"$=$NCM$,(B <code>Apache.Org</code> $B$d(B <code>apache.org</code>$B!"(B
$B$=$NB>$NBgJ8;z>.J8;z$NAH$_9g$o$;$G$"$C$?$H$-$K(B <code>site</code>
$B4D6-JQ?t$r(B "<code>apache</code>" $B$K@_Dj$7$^$9!#(B</p>
</div>
</div>
<div class="bottomlang">
<p><span>Available Languages: </span><a href="../en/mod/mod_setenvif.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ja/mod/mod_setenvif.html" title="Japanese"> ja </a></p>
</div><div id="footer">
<p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
<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>
</body></html>