📄 mod_setenvif.html.ko.euc-kr
字号:
<tr><th><a href="directive-dict.html#Override">Override 可记:</a></th><td>FileInfo</td></tr><tr><th><a href="directive-dict.html#Status">惑怕:</a></th><td>Base</td></tr><tr><th><a href="directive-dict.html#Module">葛碘:</a></th><td>mod_setenvif</td></tr></table> <p><code class="directive">SetEnvIf</code> 瘤矫绢绰 夸没狼 己龙俊 蝶扼 券版函荐甫 沥狼茄促. 霉锅掳 酒痹刚飘 <em>attribute</em>绰 促澜 技啊瘤吝 窍唱促:</p><ol><li>HTTP 夸没 庆歹 (歹 磊技茄 沥焊绰 <a href="http://www.rfc-editor.org/rfc/rfc2616.txt">RFC2616</a> 曼绊); 抗甫 甸绢: <code>Host</code>, <code>User-Agent</code>, <code>Referer</code>, <code>Accept-Language</code>. 沥痹钎泅侥阑 荤侩窍咯 咯矾 夸没 庆歹甫 瘤莫且 荐 乐促.</li><li>夸没狼 促澜 己龙吝 窍唱: <ul> <li><code>Remote_Host</code> - (乐促搁) 夸没窍绰 努扼捞攫飘狼 龋胶飘疙</li> <li><code>Remote_Addr</code> - 夸没窍绰 努扼捞攫飘狼 IP 林家</li> <li><code>Server_Addr</code> - 夸没阑 罐绰 辑滚狼 IP 林家 (2.0.43 滚傈 捞饶俊父)</li> <li><code>Request_Method</code> - 荤侩茄 皋结靛 捞抚 (<code>GET</code>, <code>POST</code>, <em>殿殿</em>)</li> <li><code>Request_Protocol</code> - 夸没狼 橇肺配妮 捞抚苞 滚傈 (<em>抗甫 甸绢</em>, "HTTP/0.9", "HTTP/1.1", <em>殿.</em>)</li> <li><code>Request_URI</code> - HTTP 夸没俊辑 夸没茄 磊盔 -- 老馆利栏肺 URL俊辑 龙狼巩磊凯阑 力寇茄 胶糯(scheme)苞 龋胶飘 捞饶 何盒</li> </ul></li><li>夸没苞 楷包等 券版函荐 捞抚. 弊贰辑 <code class="directive">SetEnvIf</code>瘤矫绢绰 捞傈 瘤矫绢狼 搬苞甫 八荤且 荐 乐促. 捞傈俊<code>SetEnvIf[NoCase]</code> 瘤矫绢肺 沥狼茄 券版函荐父阑八荤且 荐 乐促. '捞傈'捞鄂 (辑滚傈开苞 鞍捞) 歹 承篮 康开 趣篮瘤矫绢狼 泅犁 康开 捞傈阑 舵茄促. 夸没 己龙捞 酒聪绊 沥痹钎泅侥捞酒囱 <em>attribute</em>绰 券版函荐肺 秒鞭茄促.</li></ol><p>滴锅掳 酒痹刚飘绰 (<em>regex</em>) <a href="http://www.pcre.org/">Perl 龋券 沥痹钎泅侥</a>捞促.捞绰 POSIX.2 egrep狼 沥痹钎泅侥苞 厚搅窍促. <em>regex</em>啊<em>attribute</em>俊 措览窍搁 唱赣瘤 酒痹刚飘甫 贸府茄促.</p><p>唱赣瘤 酒痹刚飘绰 汲沥且 函荐疙苞 (急琶利牢) 汲沥蔼甸捞促.促澜苞 鞍篮 屈侥捞促</p> <ol> <li><code><em>varname</em></code>, 趣篮</li> <li><code>!<em>varname</em></code>, 趣篮</li> <li><code><em>varname</em>=<em>value</em></code></li> </ol> <p>霉锅掳 屈怕绰 蔼栏肺 "1"阑 荤侩茄促. 滴锅掳 屈怕绰 函荐啊 捞固 沥狼等 版快 函荐甫 力芭窍绊, 技锅掳绰 函荐狼 蔼栏肺 <code><em>value</em></code>甫 汲沥茄促. 酒颇摹 2.0.51何磐 <var>value</var>俊 乐绰 <code>$1</code>..<code>$9</code>甫 <var>regex</var>狼 褒龋模 窍困钎泅侥栏肺 措眉茄促.</p><div class="example"><h3>抗力:</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>贸澜 技 临篮 捞固瘤 颇老阑 夸没茄 版快 券版函荐 <code>object_is_image</code>甫 汲沥茄促. 匙锅掳 临篮 其捞瘤甫 <code>www.mydomain.com</code> 昆荤捞飘俊辑 曼炼茄 版快 <code>intra_site_referral</code>阑 汲沥茄促.</p> <p>付瘤阜 抗绰 夸没俊 捞抚俊 "TS"肺 矫累窍绊 蔼捞 [a-z] 吝 窍唱肺 矫累窍绰 庆歹啊 乐绰 版快 券版函荐 <code>HAVE_TS</code>甫 汲沥茄促.</p><h3>曼绊</h3><ul><li><a href="../env.html">酒颇摹狼 券版函荐</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">瘤矫绢</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">汲疙:</a></th><td>措家巩磊甫 备喊窍瘤臼绊 夸没狼 己龙俊 蝶扼 券版函荐甫汲沥茄促</td></tr><tr><th><a href="directive-dict.html#Syntax">巩过:</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">荤侩厘家:</a></th><td>林辑滚汲沥, 啊惑龋胶飘, directory, .htaccess</td></tr><tr><th><a href="directive-dict.html#Override">Override 可记:</a></th><td>FileInfo</td></tr><tr><th><a href="directive-dict.html#Status">惑怕:</a></th><td>Base</td></tr><tr><th><a href="directive-dict.html#Module">葛碘:</a></th><td>mod_setenvif</td></tr><tr><th><a href="directive-dict.html#Compatibility">瘤盔:</a></th><td>酒颇摹 1.3 捞饶</td></tr></table> <p><code class="directive">SetEnvIfNoCase</code>绰 狼固惑 <code class="directive"><a href="#setenvif">SetEnvIf</a></code> 瘤矫绢客 鞍瘤父, 措家巩磊甫 备喊窍瘤臼绊 沥痹钎泅侥阑 茫绰促. 抗甫 甸绢:</p><div class="example"><p><code> SetEnvIfNoCase Host Apache\.Org site=apache</code></p></div> <p>捞 版快 HTTP 夸没 庆歹 <code>Host:</code>啊 <code>Apache.Org</code>, <code>apache.org</code> 殿阑 器窃窍搁 <code>site</code> 券版函荐甫 "<code>apache</code>"肺 汲沥茄促.</p></div></div><div class="bottomlang"><p><span>啊瓷茄 攫绢: </span><a href="../en/mod/mod_setenvif.html" hreflang="en" rel="alternate" title="English"> en </a> |<a href="../ja/mod/mod_setenvif.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |<a href="../ko/mod/mod_setenvif.html" title="Korean"> ko </a> |<a href="../tr/mod/mod_setenvif.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p></div><div id="footer"><p class="apache">Copyright 2008 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p><p class="menu"><a href="../mod/">葛碘</a> | <a href="../mod/directives.html">瘤矫绢甸</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">侩绢</a> | <a href="../sitemap.html">荤捞飘甘</a></p></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -