⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mod_setenvif.html.ko.euc-kr

📁 apache的软件linux版本
💻 EUC-KR
字号:
<?xml version="1.0" encoding="EUC-KR"?><!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="ko" xml:lang="ko"><head><!--        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX              This file is generated from xml source: DO NOT EDIT        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      --><title>mod_setenvif - Apache HTTP Server</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/">葛碘</a> | <a href="../mod/directives.html">瘤矫绢甸</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">侩绢</a> | <a href="../sitemap.html">荤捞飘甘</a></p><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="../images/feather.gif" /></div><div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="../images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.0</a> &gt; <a href="./">葛碘</a></div><div id="page-content"><div id="preamble"><h1>酒颇摹 葛碘 mod_setenvif</h1><div class="toplang"><p><span>啊瓷茄 攫绢: </span><a href="../en/mod/mod_setenvif.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |<a href="../ja/mod/mod_setenvif.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |<a href="../ko/mod/mod_setenvif.html" title="Korean">&nbsp;ko&nbsp;</a></p></div><table class="module"><tr><th><a href="module-dict.html#Description">汲疙:</a></th><td>夸没狼 己拜俊 蝶扼 券版函荐 汲沥阑 函版茄促</td></tr><tr><th><a href="module-dict.html#Status">惑怕:</a></th><td>Base</td></tr><tr><th><a href="module-dict.html#ModuleIdentifier">葛碘疙:</a></th><td>setenvif_module</td></tr><tr><th><a href="module-dict.html#SourceFile">家胶颇老:</a></th><td>mod_setenvif.c</td></tr></table><h3>夸距</h3>    <p><code class="module"><a href="../mod/mod_setenvif.html">mod_setenvif</a></code> 葛碘篮 夸没狼 己拜捞    沥痹钎泅侥俊 秦寸窍绰瘤 咯何肺 券版函荐甫 汲沥茄促. 辑滚狼    促弗 何盒捞 青悼阑 搬沥且锭 捞 券版函荐甫 荤侩且 荐 乐促.</p>    <p>汲沥颇老俊 唱坷绰 鉴辑措肺 瘤矫绢甫 贸府茄促. 弊贰辑    宏扼快历啊 MSIE啊 酒聪扼 mozilla牢 版快 <code>netscape</code>甫    汲沥窍绰 酒贰 抗客 鞍捞 咯矾 瘤矫绢甫 窃膊 荤侩且 荐 乐促.</p><div class="example"><p><code>  BrowserMatch ^Mozilla netscape<br />  BrowserMatch MSIE !netscape<br /></code></p></div></div><div id="quickview"><h3 class="directives">瘤矫绢甸</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>曼绊</h3><ul class="seealso"><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="BrowserMatch" id="BrowserMatch">BrowserMatch</a> <a name="browsermatch" id="browsermatch">瘤矫绢</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">汲疙:</a></th><td>HTTP User-Agent俊 蝶扼 券版函荐甫 汲沥茄促</td></tr><tr><th><a href="directive-dict.html#Syntax">巩过:</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">荤侩厘家:</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></table>  <p><code class="directive">BrowserMatch</code>绰 <code class="directive"><a href="#setenvif">SetEnvIf</a></code> 瘤矫绢狼 漂喊茄  版快肺, HTTP 夸没 庆歹 <code>User-Agent</code>俊 蝶扼 券版函荐甫  汲沥茄促. 促澜 滴 临篮 鞍促:</p><div class="example"><p><code>   BrowserMatchNoCase Robot is_a_robot<br />    SetEnvIfNoCase User-Agent Robot is_a_robot<br /> </code></p></div>    <p>眠啊 抗力:</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">瘤矫绢</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">汲疙:</a></th><td>措家巩磊甫 备喊窍瘤臼绊 User-Agent俊 蝶扼 券版函荐甫汲沥茄促</td></tr><tr><th><a href="directive-dict.html#Syntax">巩过:</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">荤侩厘家:</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.2 捞惑 (酒颇摹 1.2俊辑 捞 瘤矫绢绰 泅犁    绝绢柳 mod_browser 葛碘俊 乐菌促)</td></tr></table>    <p><code class="directive">BrowserMatchNoCase</code> 瘤矫绢绰 <code class="directive"><a href="#browsermatch">BrowserMatch</a></code> 瘤矫绢客    狼固惑 鞍促. 弊矾唱 捞 瘤矫绢绰 措家巩磊甫 备喊窍瘤臼绰促.    抗甫 甸绢:</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>客    <code class="directive">BrowserMatchNoCase</code> 瘤矫绢绰    <code class="directive"><a href="#setenvif">SetEnvIf</a></code>客    <code class="directive"><a href="#setenvifnocase">SetEnvIfNoCase</a></code>    瘤矫绢狼 漂喊茄 版快促. 促澜 林 临篮 鞍促:</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">瘤矫绢</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>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">荤侩厘家:</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></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">&nbsp;en&nbsp;</a> |<a href="../ja/mod/mod_setenvif.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |<a href="../ko/mod/mod_setenvif.html" title="Korean">&nbsp;ko&nbsp;</a></p></div><div id="footer"><p class="apache">Copyright 2007 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 + -