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

📄 sections.xml.ko

📁 Apache HTTP Server 是一个功能强大的灵活的与HTTP/1.1相兼容的web服务器.这里给出的是Apache HTTP服务器的源码。
💻 KO
📖 第 1 页 / 共 2 页
字号:
措茄 立辟阑 芭何且 荐 乐促:</p><example>&lt;FilesMatch \.(?i:gif|jpe?g|png)$&gt;<br />Order allow,deny<br />Deny from all<br />&lt;/FilesMatch&gt;</example></section><section id="whichwhen"><title>公均阑 荤侩窍唱</title><p>颇老矫胶袍 冀记苞 昆傍埃 冀记 吝 窍唱甫 急琶窍绰 巴篮 角力肺概快 奖促. 颇老矫胶袍俊 乐绰 按眉俊 瘤矫绢甫 利侩且锭绰 亲惑<directive type="section" module="core">Directory</directive>唱<directive type="section" module="core">Files</directive>甫荤侩茄促. (单捞鸥海捞胶俊辑 积己茄 昆其捞瘤客 鞍捞) 颇老矫胶袍俊乐瘤 臼绰 按眉俊 瘤矫绢甫 利侩且锭绰 <directive type="section"module="core">Location</directive>阑 荤侩茄促.</p><p>颇老矫胶袍俊 乐绰 按眉狼 立辟阑 力茄窍扁困秦 <directivetype="section" module="core">Location</directive>阑 荤侩窍搁例措 救等促. 咯矾 促弗 昆傍埃 厘家(URL)啊 鞍篮 颇老矫胶袍 厘家俊措览瞪 荐 乐栏骨肺, 吧绢敌 力茄阑 快雀且 荐 乐扁 锭巩捞促. 促澜汲沥狼 抗甫 混旗焊磊:</p><example>&lt;Location /dir/&gt;<br />Order allow,deny<br />Deny from all<br />&lt;/Location&gt;</example><p>捞 汲沥篮 <code>http://yoursite.example.com/dir/</code>阑夸没茄促搁 肋 累悼茄促. 弊矾唱 措家巩磊甫 备喊窍瘤臼绰 颇老矫胶袍阑荤侩茄促搁 绢痘霸登唱?<code>http://yoursite.example.com/DIR/</code>阑 夸没窍咯 奖霸力茄阑 快雀且 荐 乐促. 馆措肺 <directive type="section"module="core">Directory</directive> 瘤矫绢绰 绢痘霸 夸没窍看绰瘤包拌绝捞 弊 厘家俊辑 辑厚胶登绰 郴侩俊 利侩等促. (抗寇绰 颇老矫胶袍傅农甫 荤侩窍绰 版快促. 缴杭傅农甫 荤侩窍咯 茄 叼泛配府甫颇老矫胶袍狼 咯矾 厘家俊 笛 荐 乐促. <directive type="section"module="core">Directory</directive> 瘤矫绢绰 缴杭傅农甫 蝶扼埃促.弊矾骨肺 臭篮 荐霖狼 焊救阑 困秦辑绰 利例茄 <directivemodule="core">Options</directive> 瘤矫绢甫 荤侩窍咯 缴杭傅农甫公矫秦具 茄促.)</p><p>酒付档 寸脚篮 措家巩磊甫 备喊窍绰 颇老矫胶袍阑 荤侩窍骨肺捞繁 老捞 老绢唱瘤 臼绰促绊 积阿且瘤档 葛弗促. 弊矾唱 促弗规过栏肺档 咯矾 昆傍埃 困摹啊 茄 颇老矫胶袍 困摹俊 措览瞪 荐乐澜阑 扁撅窍扼. 弊贰辑 啊瓷窍搁 亲惑 颇老矫胶袍 冀记阑 荤侩秦具茄促. 弊矾唱 捞 痹蘑俊 抗寇啊 窍唱 乐促. 汲沥 力茄阑<code>&lt;Location /&gt;</code> 冀记俊 滴搁 捞 冀记捞 漂沥URL捞 酒囱 葛电 夸没俊 利侩登骨肺 肯寒窍霸 救傈窍促.</p></section></section><section id="virtualhost"><title>啊惑龋胶飘</title><p><directive type="section" module="core">VirtualHost</directive>冀记篮 漂沥 龋胶飘俊 利侩登绰 瘤矫绢甸阑 器窃茄促. 捞绰 茄哪腔磐俊辑 阿阿 促弗 汲沥阑 荤侩茄 咯矾 龋胶飘甫 辑厚胶且锭蜡侩窍促. 歹 磊技茄 沥焊绰 <a href="vhosts/">啊惑龋胶飘 巩辑</a>甫曼绊窍扼.</p></section><section id="proxy"><title>橇废矫</title><p><directive type="section" module="mod_proxy">Proxy</directive>客<directive type="section" module="mod_proxy">ProxyMatch</directive>冀记篮 瘤沥茄 URL俊 措秦 <module>mod_proxy</module> 橇废矫 辑滚甫芭媚 立辟窍绰 版快俊父 利侩等促. 促澜 汲沥阑 抗肺 甸搁, 橇废矫辑滚甫 烹秦 <code>cnn.com</code> 昆荤捞飘俊 立辟且 荐 绝促.</p><example>&lt;Proxy http://cnn.com/*&gt;<br />Order allow,deny<br />Deny from all<br />&lt;/Proxy&gt;</example></section><section id="whatwhere"><title>救俊 绢恫 瘤矫绢甫 荤侩且 荐乐唱?</title><p>绢恫 汲沥 冀记救俊 荤侩且 荐 乐绰 瘤矫绢甫 舅妨搁 瘤矫绢狼<a href="mod/directive-dict.html#Context">荤侩厘家</a>甫 犬牢窍扼.<directive type="section" module="core">Directory</directive>俊辑荤侩啊瓷茄 瘤矫绢绰 <directive type="section"module="core">DirectoryMatch</directive>, <directive type="section"module="core">Files</directive>, <directive type="section"module="core">FilesMatch</directive>, <directive type="section"module="core">Location</directive>, <directive type="section"module="core">LocationMatch</directive>, <directive type="section"module="mod_proxy">Proxy</directive>, <directive type="section"module="mod_proxy">ProxyMatch</directive> 冀记俊辑档 荤侩啊瓷窍促.弊矾唱, 抗寇啊 乐促.</p><ul><li><directive module="core">AllowOverride</directive> 瘤矫绢绰<directive type="section" module="core">Directory</directive>冀记俊辑父 荤侩且 荐 乐促.</li><li><code>FollowSymLinks</code>, <code>SymLinksIfOwnerMatch</code>,<directive module="core">Options</directive>绰 <directivetype="section" module="core">Directory</directive> 冀记捞唱<code>.htaccess</code> 颇老俊辑父 荤侩且 荐 乐促.</li><li><directive module="core">Options</directive> 瘤矫绢绰<directive type="section" module="core">Files</directive>苞<directive type="section" module="core">FilesMatch</directive>冀记俊辑 荤侩且 荐 绝促.</li></ul></section><section id="mergin"><title>冀记甸捞 搬钦窍绰 规过</title><p>汲沥 冀记篮 概快 漂喊茄 规过栏肺 利侩等促. 捞 鉴辑啊 汲沥瘤矫绢甫 秦籍窍绰 规过俊 吝夸茄 康氢阑 林扁锭巩俊 捞 规过阑捞秦窍绰 巴捞 吝夸窍促.</p>    <p>搬钦窍绰 鉴辑绰:</p>    <ol>      <li> (沥痹钎泅侥阑 荤侩窍瘤臼绰) <directive type="section"      module="core">Directory</directive>客 <code>.htaccess</code>绰      悼矫俊 老绢抄促 (版快俊 蝶扼 <code>.htaccess</code>捞      <directive type="section" module="core">Directory</directive>甫      公矫窍档废 汲沥且 荐 乐促)</li>      <li><directive type="section"      module="core">DirectoryMatch</directive> (弊府绊      <code>&lt;Directory ~&gt;</code>)</li>      <li><directive type="section"      module="core">Files</directive>客 <directive type="section"      module="core">FilesMatch</directive>绰 悼矫俊 老绢抄促</li>      <li><directive type="section"      module="core">Location</directive>苞 <directive type="section"      module="core">LocationMatch</directive>绰 悼矫俊 老绢抄促</li>    </ol>    <p><directive type="section"    module="core">Directory</directive>甫 力寇窍绊 阿 冀记甸阑    汲沥颇老俊 唱柯 鉴辑措肺 贸府等促. (困狼 鉴辑 1) <directive    type="section" module="core">Directory</directive>绰 叼泛配府    郴侩捞 啊厘 陋篮 巴俊辑 变率栏肺 贸府等促. 弊贰辑 抗甫 甸绢,    <code>&lt;Directory /var/web/dir&gt;</code>阑    <code>&lt;Directory /var/web/dir/subdir&gt;</code> 捞傈俊    贸府茄促. 鞍篮 叼泛配府甫 瘤莫窍绰 咯矾 <directive    type="section" module="core">Directory</directive> 冀记捞    乐促搁 捞甸阑 汲沥颇老 鉴辑措肺 贸府茄促. <directive    module="core">Include</directive> 瘤矫绢肺 器窃茄 汲沥篮    <directive module="core">Include</directive> 瘤矫绢 困摹俊    器窃茄 颇老 郴侩捞 乐绰 巴贸烦 贸府茄促.</p>    <p><directive type="section"    module="core">VirtualHost</directive> 冀记 救俊 器窃等 冀记篮    啊惑龋胶飘 沥狼 观俊 乐绰 秦寸 冀记 <em>捞饶俊</em> 利侩等促.    弊贰辑 啊惑龋胶飘 救俊辑 林辑滚狼 汲沥荤亲阑 荐沥且 荐 乐促.</p>    <p>促澜俊 唱坷绰 冀记篮 捞傈 冀记狼 搬苞甫 荐沥茄促.</p><note><title>扁贱利 林狼</title>      角力肺      <code>&lt;Location&gt;</code>/<code>&lt;LocationMatch&gt;</code>绰      (<code>Aliases</code>客 <code>DocumentRoot</code>甫 荤侩窍咯      URL阑 颇老疙栏肺 函券窍绰) 捞抚锅开 窜拌 捞傈俊 贸府等促.      函开捞 场抄 捞饶俊绰 肯傈洒 公矫茄促.</note><section id="merge-examples"><title>抗力</title><p>促澜篮 般钦窍绰 鉴辑甫 汲疙窍绰 抗促. 捞甸 葛滴 夸没俊利侩等促绊 啊沥窍搁 瘤矫绢绰 A &gt; B &gt; C &gt; D &gt; E鉴辑肺 贸府等促.</p><example>&lt;Location /&gt;<br />E<br />&lt;/Location&gt;<br /><br />&lt;Files f.html&gt;<br />D<br />&lt;/Files&gt;<br /><br />&lt;VirtualHost *&gt;<br />&lt;Directory /a/b&gt;<br />B<br />&lt;/Directory&gt;<br />&lt;/VirtualHost&gt;<br /><br />&lt;DirectoryMatch "^.*b$"&gt;<br />C<br />&lt;/DirectoryMatch&gt;<br /><br />&lt;Directory /a/b&gt;<br />A<br />&lt;/Directory&gt;<br /><br /></example><p>歹 泅角利牢 抗绰 促澜苞 鞍促. <directive module="core"type="section">Location</directive> 冀记阑 唱吝俊 贸府窍骨肺<directive module="core" type="section">Directory</directive>冀记俊 乐绰 立辟力茄苞 包拌绝捞 辑滚俊 公力茄 立辟阑 啊瓷窍促.溜, 搬钦窍绰 鉴辑绰 吝夸窍骨肺 林狼窍扼!</p><example>&lt;Location /&gt;<br />Order deny,allow<br />Allow from all<br />&lt;/Location&gt;<br /><br /># 厩!  捞 &lt;Directory&gt; 冀记篮 酒公繁 瓤苞啊 绝促<br />&lt;Directory /&gt;<br />Order allow,deny<br />Allow from all<br />Deny from badguy.example.com<br />&lt;/Directory&gt;</example></section></section></manualpage>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -