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

📄 name-based.xml.ko

📁 Apache HTTP Server 是一个功能强大的灵活的与HTTP/1.1相兼容的web服务器.这里给出的是Apache HTTP服务器的源码。
💻 KO
字号:
<?xml version='1.0' encoding='EUC-KR' ?><!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd"><?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?><!-- English Revision: 151405 --><!-- Copyright 2003-2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at     http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.--><manualpage metafile="name-based.xml.meta"><parentdocument href="./">啊惑龋胶飘</parentdocument><title>捞抚扁馆 啊惑龋胶飘 瘤盔</title><summary>    <p>捞 巩辑绰 捞抚扁馆 啊惑龋胶飘甫 荤侩窍绰 版快客 规过阑    汲疙茄促.</p></summary><seealso><a href="ip-based.html">IP扁馆 啊惑龋胶飘 瘤盔</a></seealso><seealso><a href="details.html">啊惑龋胶飘 茫扁俊 措茄 磊技茄 汲疙</a></seealso><seealso><a href="mass.html">措樊狼 啊惑龋胶飘甫 悼利栏肺 汲沥窍扁</a></seealso><seealso><a href="examples.html">老馆利牢 啊惑龋胶飘 抗</a></seealso><seealso><a href="examples.html#serverpath">ServerPath 汲沥 抗</a></seealso><section id="namevip"><title>捞抚扁馆 措 IP扁馆 啊惑龋胶飘</title>    <p>IP扁馆 啊惑龋胶飘绰 楷搬茄 IP 林家甫 啊瘤绊 辑厚胶且    啊惑龋胶飘甫 搬沥茄促. 弊贰辑 阿 龋胶飘绰 辑肺 促弗 IP 林家甫    啊廉具 茄促. 捞抚扁馆 啊惑龋胶飘狼 版快 辑滚绰 努扼捞攫飘啊    HTTP 庆歹肺 龋胶飘疙阑 舅妨林辨 官鄂促. 捞繁 规过栏肺 茄    IP 林家肺 咯矾 促弗 龋胶飘甫 辑厚胶且 荐 乐促.</p>    <p>捞抚扁馆 啊惑龋胶飘绰 DNS 辑滚啊 阿 龋胶飘疙捞 棵官弗    IP 林家肺 措览窍档废 啊惑龋胶飘甫 汲沥窍绊, 促弗 龋胶飘疙阑 备喊且    荐 乐档废 酒颇摹 昆辑滚甫 汲沥窍扁父 窍搁登骨肺 歹 埃窜窍促. 捞抚扁馆    啊惑龋胶飘绰 肚 咯矾 IP 林家啊 鞘夸绝促. 弊矾骨肺 漂喊洒    IP扁馆 啊惑龋胶飘甫 急琶且 捞蜡啊 绝促搁 捞抚扁馆 啊惑龋胶飘甫    荤侩秦具 茄促. IP扁馆 啊惑龋胶飘甫 荤侩秦具且 捞蜡肺绰:</p>	<ul>        <li>捞抚扁馆 啊惑龋胶飘甫 瘤盔窍瘤臼绰 坷贰等        努扼捞攫飘甸捞 乐促. 捞抚扁馆 啊惑龋胶飘甫 荤侩窍妨搁        努扼捞攫飘啊 HTTP Host 庆歹甫 焊郴具 茄促. 捞绰        HTTP/1.1俊辑绰 鞘荐捞绊, 弥辟 葛电 HTTP/1.0 宏扼快历甸档        犬厘栏肺 瘤盔茄促. 父距 捞抚扁馆 啊惑龋胶飘甫 荤侩窍搁辑        坷贰等 努扼捞攫飘甫 瘤盔秦具 茄促搁 捞 巩辑 场俊 乐绰        规过阑 混旗毫扼.</li>        <li>SSL 橇肺配妮狼 己拜惑 SSL 焊救辑滚俊辑 捞抚扁馆        啊惑龋胶飘甫 荤侩且 荐 绝促.</li>        <li>绢恫 款康眉力唱 匙飘亏 厘摹绰 促弗 IP 林家甫 荤侩窍瘤        臼栏搁 龋胶飘甫 备喊窍瘤 给窍绰 匙飘亏 荤侩樊(bandwidth)        包府扁贱阑 荤侩茄促.</li>	</ul></section><section id="using"><title>捞抚扁馆 啊惑龋胶飘 荤侩窍扁</title><related>    <modulelist>    <module>core</module>    </modulelist>    <directivelist>	<directive module="core">DocumentRoot</directive>	<directive module="core">NameVirtualHost</directive>	<directive module="core">ServerAlias</directive>	<directive module="core">ServerName</directive>	<directive module="core">ServerPath</directive>	<directive module="core" type="section">VirtualHost</directive>    </directivelist></related>    <p>捞抚扁馆 啊惑龋胶飘甫 荤侩窍妨搁 辑滚绰 楷搬阑 罐阑    IP 林家甫 (酒付 器飘档) 沥秦具 茄促. 捞绰 <directive    module="core">NameVirtualHost</directive> 瘤矫绢肺 啊瓷窍促.    老馆利栏肺 辑滚狼 葛电 IP 林家甫 荤侩茄促搁    <directive module="core">NameVirtualHost</directive>狼    酒痹刚飘肺 <code>*</code>甫 荤侩茄促. 咯矾 器飘甫 荤侩且    (抗甫 甸绢, SSL阑 荤侩且) 拌裙捞扼搁 <code>*:80</code>苞    鞍捞 酒痹刚飘俊 器飘甫 眠啊秦具 茄促. <directive    module="core">NameVirtualHost</directive> 瘤矫绢俊 IP 林家甫    利绢林菌促绊 辑滚啊 磊悼栏肺 弊 IP 林家甫 扁促府瘤 臼澜阑    林狼窍扼. 磊技茄 郴侩篮 <a href="../bind.html">酒颇摹啊    荤侩且 林家客 器飘 汲沥窍扁</a>甫 曼绊窍扼. 肚, 咯扁辑    瘤沥茄 IP 林家绰 辑滚狼 匙飘亏 牢磐其捞胶捞绢具 茄促.</p>    <p>促澜 窜拌绰 辑厚胶窍妨绰 龋胶飘喊肺 <directive    type="section" module="core">VirtualHost</directive> 喉废阑    父靛绰 老捞促. <directive type="section"    module="core">VirtualHost&gt;</directive> 瘤矫绢狼 酒痹刚飘绰    <directive module="core">NameVirtualHost</directive> 瘤矫绢狼    酒痹刚飘(抗甫 甸绢, IP 林家唱 葛电 林家甫 舵窍绰 <code>*</code>)客    鞍酒具 茄促. <directive type="section"    module="core">VirtualHost&gt;</directive> 喉废 救俊绰    弥家茄 辑厚胶且 龋胶飘甫 瘤沥窍绰 <directive    module="core">ServerName</directive> 瘤矫绢客 龋胶飘狼    郴侩捞 颇老矫胶袍 绢叼俊 乐绰瘤甫 瘤沥窍绰 <directive    module="core">DocumentRoot</directive> 瘤矫绢啊 鞘夸窍促.</p>    <note><title>林 龋胶飘啊 绝绢柳促</title>        <p>扁粮俊 荤侩窍带 昆辑滚俊 啊惑龋胶飘甫 眠啊茄促搁        扁粮俊 荤侩窍带 龋胶飘俊 措茄 <directive type="section"        module="core">VirtualHost</directive> 喉废档 眠啊秦具        茄促. 捞 喉废俊 器窃窍绰 <directive        module="core">ServerName</directive>苞 <directive        module="core">DocumentRoot</directive>绰 傈眉 <directive        module="core">ServerName</directive>苞 <directive        module="core">DocumentRoot</directive>客 鞍酒具 茄促.        汲沥颇老俊辑 捞 啊惑龋胶飘甫 啊厘 刚历 利栏搁 扁夯 龋胶飘啊        等促.</p>    </note>    <p>抗甫 甸绢 <code>www.domain.tld</code> 档皋牢阑 辑厚胶窍绊    乐菌绰单 鞍篮 IP 林家俊    <code>www.otherdomain.tld</code>鄂 啊惑龋胶飘甫 眠啊窍绊    酵促绊 啊沥窍磊. <code>httpd.conf</code>俊 促澜苞 鞍捞    眠啊窍搁 等促:</p>    <example>        NameVirtualHost *:80<br />        <br />        &lt;VirtualHost *:80&gt;<br />        <indent>            ServerName www.domain.tld<br />            ServerAlias domain.tld *.domain.tld<br />            DocumentRoot /www/domain<br />        </indent>        &lt;/VirtualHost&gt;<br />        <br />        &lt;VirtualHost *:80&gt;<br />        <indent>ServerName www.otherdomain.tld<br />            DocumentRoot /www/otherdomain<br />        </indent>        &lt;/VirtualHost&gt;<br />    </example>    <p><directive module="core">NameVirtualHost</directive>客    <directive type="section" module="core">VirtualHost</directive>    瘤矫绢 笛 葛滴 <code>*</code> 措脚 流立 IP 林家甫 瘤沥且    荐档 乐促. 抗甫 甸绢, 捞繁侥栏肺 茄 IP 林家俊 咯矾 捞抚扁馆    啊惑龋胶飘甸阑 倒府绊, 促弗 林家俊 IP扁馆 趣篮 捞抚扁馆    啊惑龋胶飘甸阑 倒副 荐 乐促.</p>    <p>绢恫 辑滚绰 咯矾 捞抚栏肺 立加且 荐 乐辨 官鄂促. 捞绰    <directive type="section" module="core">VirtualHost</directive>    冀记 救俊 <directive module="core">ServerAlias</directive>    瘤矫绢甫 荤侩窍咯 啊瓷窍促. 抗甫 甸绢 困狼 霉锅掳 <directive    type="section" module="core">VirtualHost</directive> 喉废俊辑    <directive module="core">ServerAlias</directive> 瘤矫绢甫    荤侩窍搁 凯芭茄 捞抚栏肺 鞍篮 昆荤捞飘甫 杭 荐 乐促:</p>    <example>        ServerAlias domain.tld *.domain.tld    </example>    <p><code>domain.tld</code> 档皋牢俊 乐绰 葛电 龋胶飘俊 措茄    夸没阑 <code>www.domain.tld</code> 啊惑龋胶飘啊 辑厚胶茄促.    捞抚阑 临锭 客老靛墨靛 巩磊 <code>*</code>客 <code>?</code>甫    荤侩且 荐 乐促. 拱沸 <directive    module="core">ServerName</directive>捞唱 <code>ServerAlias</code>俊    捞抚阑 利绢林菌促绊 场捞 酒聪促. 刚历 捞 捞抚甸捞 辑滚狼    IP 林家肺 措览窍档废 DNS 辑滚甫 舅嘎霸 汲沥秦具 茄促.</p>    <p>付瘤阜栏肺 <directive type="section"    module="core">&lt;VirtualHost&gt;</directive> 救俊 促弗    瘤矫绢甸阑 荤侩窍咯 啊惑龋胶飘甫 磊技洒 汲沥且 荐 乐促.    措何盒狼 瘤矫绢甫 荤侩且 荐 乐栏哥, 包访等 啊惑龋胶飘狼 汲沥父阑    函版茄促. 绢恫 瘤矫绢啊 荤侩啊瓷茄瘤 舅妨搁 瘤矫绢狼 <a    href="../mod/directive-dict.html#Context">荤侩厘家</a>甫    犬牢窍扼. (<directive type="section"    module="core">&lt;VirtualHost&gt;</directive> 救捞 酒囱)    <em>林辑滚汲沥</em>俊辑 瘤沥茄 汲沥 瘤矫绢绰 啊惑龋胶飘俊    鞍篮 汲沥 瘤矫绢啊 绝绰 版快俊父 荤侩等促.</p>    <p>夸没阑 罐栏搁 辑滚绰 刚历 <directive    module="core">NameVirtualHost</directive>俊辑 瘤沥茄 IP    林家牢瘤 八荤茄促. 弊犯促搁 弊 IP 林家甫 啊柳 <directive    type="section" module="core">VirtualHost</directive>    冀记甸俊辑 夸没茄 龋胶飘疙苞 老摹窍绰 <directive    module="core">ServerName</directive>捞唱    <code>ServerAlias</code>甫 茫绰促. 茫栏搁 弊 汲沥阑 荤侩茄促.    利例茄 啊惑龋胶飘甫 茫瘤给窍搁, IP 林家俊 秦寸窍绰    <strong>啊惑龋胶飘甸吝 霉锅掳 巴</strong>阑 荤侩茄促.</p>    <p>搬苞利栏肺 贸澜俊 唱柯 啊惑龋胶飘啊 <em>扁夯</em>    啊惑龋胶飘啊 等促. IP 林家啊 <directive    module="core">NameVirtualHost</directive> 瘤矫绢俊 秦寸窍搁,    <em>林辑滚</em>狼 <directive module="core">DocumentRoot</directive>绰    <strong>例措肺</strong> 荤侩窍瘤 臼绰促. 漂沥 啊惑龋胶飘俊    秦寸窍瘤臼绰 夸没阑 汲沥窍妨搁 汲沥阑 <directive type="section"    module="core">VirtualHost</directive>俊 淬绊 汲沥颇老俊辑    刚历 唱坷档废 窍搁 等促.</p></section><section id="compat"><title>坷贰等 宏扼快历客 龋券</title>    <p>捞固 利菌淀捞 捞抚扁馆 啊惑龋胶飘啊 棵官肺 悼累窍扁困秦    鞘夸茄 沥焊甫 焊郴瘤臼绰 努扼捞攫飘啊 乐促. 捞繁 努扼捞攫飘绰    亲惑 夸没茄 IP 林家俊 措秦 霉锅掳肺 唱坷绰 啊惑龋胶飘    (<cite>弥檬狼</cite> 捞抚扁馆 啊惑龋胶飘)啊    辑厚胶茄促.</p>    <note><title>倔付唱 坷贰等 巴阑 富窍绰啊?</title>    <p>咯扁辑 坷贰登菌澜篮 角力肺 惑寸洒 坷贰等 巴阑 舵茄促.    坷疵朝 捞繁 宏扼快历甫 荤侩且 老篮 芭狼绝促. 夸硫    宏扼快历绰 葛滴 捞抚扁馆 啊惑龋胶飘俊 鞘夸茄 <code>Host</code>    庆歹甫 焊辰促.</p>    </note>    <p>捞 巩力绰 距埃 芭眠厘胶反瘤父 <directive    module="core">ServerPath</directive> 瘤矫绢肺 秦搬且 荐 乐促:</p>    <p>汲沥 抗:</p>    <example>        NameVirtualHost 111.22.33.44<br />        <br />        &lt;VirtualHost 111.22.33.44&gt;<br />        <indent>            ServerName www.domain.tld<br />            ServerPath /domain<br />            DocumentRoot /web/domain<br />        </indent>        &lt;/VirtualHost&gt;<br />    </example>    <p>捞霸 公郊 舵牢啊? "<code>/domain</code>"肺 矫累窍绰    URI俊 措茄 夸没篮 啊惑龋胶飘 <code>www.domain.tld</code>啊    辑厚胶茄促.  溜, <code>Host:</code> 庆歹甫 焊郴绰 努扼捞攫飘绰    <code>http://www.domain.tld/</code>父栏肺档 立辟且 荐 乐瘤父,    <code>http://www.domain.tld/domain/</code>栏肺绰 葛电    努扼捞攫飘啊 其捞瘤俊 立辟且 荐 乐促.</p>    <p>捞甫 困秦 弥檬狼 啊惑龋胶飘俊 乐绰 其捞瘤俊    <code>http://www.domain.tld/domain/</code>栏肺 啊绰 傅农甫    持绰促. 弊府绊 啊惑龋胶飘 其捞瘤俊辑绰 惑措傅农 (抗甫 甸绢,    "<code>file.html</code>" 捞唱 "<code>../icons/image.gif</code>")    趣篮 ("<code>http://www.domain.tld/domain/misc/file.html</code>"捞唱    "<code>/domain/misc/file.html</code>"苞 鞍捞) 菊俊    <code>/domain/</code>捞 嘿篮 傅农父阑 荤侩茄促.</p>    <p>炼陛 痹蘑捞 鞘夸窍瘤父 捞 痹蘑阑 蝶福搁 措何盒狼 版快    夸硫 巴捞唱 坷贰等 巴捞唱 包拌绝捞 葛电 宏扼快历肺 其捞瘤甫    杭 荐 乐促.</p></section></manualpage>

⌨️ 快捷键说明

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