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

📄 examples.xml.ko

📁 Apache HTTP Server 是一个功能强大的灵活的与HTTP/1.1相兼容的web服务器.这里给出的是Apache HTTP服务器的源码。
💻 KO
📖 第 1 页 / 共 2 页
字号:
<?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: 106090:151405 (outdated) --><!-- 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="examples.xml.meta"><parentdocument href="./">啊惑龋胶飘</parentdocument>    <title>啊惑龋胶飘 抗</title><summary>    <p>捞 巩辑绰 磊林 巩狼登绰 啊惑龋胶飘    龙巩俊 翠阑 窍妨绊 静咯脸促. 惑炔篮 <a    href="name-based.html">捞抚扁馆</a>捞唱 <a    href="ip-based.html">IP扁馆</a> 啊惑龋胶飘甫 烹秦 茄 辑滚俊辑    咯矾 昆荤捞飘甫 辑厚胶窍妨绰 版快捞促. 茄 橇废矫 辑滚 第俊辑    咯矾 辑滚甫 荤侩窍咯 荤捞飘甫 款康窍绰 版快甫 促烽 巩辑档    梆 唱棵 巴捞促.</p></summary>  <section id="purename"><title>IP 林家 茄俺俊 咯矾 捞抚扁馆    昆荤捞飘 款康窍扁.</title>    <p>辑滚俊 IP 林家啊 茄俺 乐绊, DNS俊辑 咯矾 林家(CNAMES)啊    捞 哪腔磐甫 啊府挪促. 捞 哪腔磐俊辑 <code>www.example1.com</code>苞    <code>www.example2.org</code>狼 昆辑滚甫 角青窍绊 酵促.</p>    <note><title>Note</title><p>酒颇摹 辑滚俊 啊惑龋胶飘 汲沥阑          茄促绊 弊 龋胶飘疙俊 措茄 DNS 亲格捞 磊悼捞肺 积己登瘤          臼绰促. <em>馆靛矫</em> DNS俊 IP 林家甫 啊府虐绰          捞抚捞 乐绢具 茄促. 救弊矾搁 酒公档 昆荤捞飘甫 杭          荐 绝促. 八荤秦焊扁 困秦 <code>hosts</code> 颇老俊 亲格阑          眠啊且 荐 乐瘤父, 捞绰 hosts 亲格阑 啊柳 哪腔磐俊父          馆康等促.</p>    </note>    <example>    <title>辑滚 汲沥</title>    # 酒颇摹啊 器飘 80阑 扁促赴促<br />    Listen 80<br />    <br />    # 葛电 IP 林家俊辑 啊惑龋胶飘 夸没阑 扁促赴促<br />    NameVirtualHost *:80<br />    <br />    &lt;VirtualHost *:80&gt;<br />    <indent>      DocumentRoot /www/example1<br />      ServerName www.example1.com<br />      <br />      # 促弗 瘤矫绢甸档 乐促<br />      <br />    </indent>    &lt;/VirtualHost&gt;<br />    <br />    &lt;VirtualHost *:80&gt;<br />    <indent>      DocumentRoot /www/example2<br />      ServerName www.example2.org<br />      <br />      # 促弗 瘤矫绢甸档 乐促<br />      <br />    </indent>    &lt;/VirtualHost&gt;    </example>    <p>喊钎绰 葛电 林家甫 啊府虐骨肺, 林辑滚绰 绢恫 夸没档    辑厚胶窍瘤 臼绰促. <code>www.example1.com</code>捞    汲沥颇老俊 贸澜栏肺 唱坷骨肺 啊厘 臭篮 快急鉴困甫 啊瘤哥,    <cite>扁夯</cite>趣篮 <cite>檬扁</cite> 辑滚啊 等促.    绢恫 <code>ServerName</code> 瘤矫绢俊档 秦寸登瘤臼绰 夸没篮    霉锅掳 <code>VirtualHost</code>啊 辑厚胶茄促.</p>    <note>            <title>林狼</title>            <p>盔茄促搁 <code>*</code> 措脚 矫胶袍狼 角力 IP            林家甫 荤侩且 荐 乐促. 捞 版快            <code>VirtualHost</code>狼 酒痹刚飘绰            <code>NameVirtualHost</code>狼 酒痹刚飘客 老摹秦具            <em>茄促</em>:</p>            <example>            NameVirtualHost 172.20.30.40<br />						<br />            &lt;VirtualHost 172.20.30.40&gt;<br /> 		        # 积帆 ...            </example>           <p>弊矾唱 ISP俊辑 悼利栏肺 IP 林家甫 啊廉坷绰 殿           IP 林家甫 葛福绰 版快俊绰 <code>*</code>甫 荤侩窍绰           巴捞 蜡侩窍促. <code>*</code>绰 葛电 IP 林家俊           秦寸窍骨肺, IP 林家啊 函版登绢档 汲沥阑 函版且           鞘夸啊 绝促.</p>    </note>    <p>芭狼 措何盒狼 捞抚扁馆 啊惑龋胶飘 汲沥篮 困客 鞍促.    抗寇绰 促弗 IP 林家唱 器飘肺 促弗 郴侩阑 辑厚胶窍妨绰    版快捞促.</p>	</section>	<section id="twoips"><title>咯矾 IP 林家俊辑 捞抚扁馆    龋胶飘.</title>  	<note>		  <title>林狼</title><p>咯扁辑 汲疙茄 规过篮 IP 林家啊          割俺扼档 利侩啊瓷窍促.</p>    </note>    <p>辑滚绰 IP 林家啊 滴俺乐促. 窍唱俊辑    (<code>172.20.30.40</code>) "林" 辑滚    <code>server.domain.com</code>阑 辑厚胶窍绊, 促弗 窍唱俊辑    (<code>172.20.30.50</code>) 咯矾 啊惑龋胶飘甫 辑厚胶且    巴捞促.</p>    <example>    <title>辑滚 汲沥</title>    Listen 80<br />		<br />    # 172.20.30.40俊辑 角青窍绰 "林"辑滚捞促<br />    ServerName server.domain.com<br />    DocumentRoot /www/mainserver<br />		<br />    # 促弗 林家促<br />    NameVirtualHost 172.20.30.50<br />		<br />    &lt;VirtualHost 172.20.30.50&gt;<br />    <indent>        DocumentRoot /www/example1<br />        ServerName www.example1.com<br />   			<br />        # 促弗 瘤矫绢甸档 乐促 ...<br />				<br />    </indent>    &lt;/VirtualHost&gt;<br />		<br />    &lt;VirtualHost 172.20.30.50&gt;<br />    <indent>        DocumentRoot /www/example2<br />        ServerName www.example2.org<br />				<br />        # 促弗 瘤矫绢甸档 乐促 ...<br />				<br />    </indent>    &lt;/VirtualHost&gt;    </example>    <p><code>172.20.30.50</code>捞 酒囱 林家俊 措茄 夸没篮    林辑滚啊 辑厚胶茄促. 龋胶飘疙 绝捞, 溜 <code>Host:</code>    庆歹绝捞 <code>172.20.30.50</code>肺 夸没窍搁    <code>www.example1.com</code>捞 辑厚胶茄促.</p>	</section>	<section id="intraextra"><title>(郴何客 寇何 林家客 鞍捞)    促弗 IP 林家肺 鞍篮 郴侩阑 辑厚胶窍扁.</title>    <p>辑滚 哪腔磐俊 IP 林家啊 滴俺 (<code>192.168.1.1</code>苞    <code>172.20.30.40</code>) 乐促. 哪腔磐绰 郴何 (牢飘扼齿)    匙飘亏苞 寇何 (牢磐齿) 匙飘亏 荤捞俊 困摹茄促. 匙飘亏 观俊辑    <code>server.example.com</code>篮 寇何 林家甫    (<code>172.20.30.40</code>) 狼固窍绊, 匙飘亏 郴何俊辑 鞍篮    捞抚阑 郴何 林家肺 (<code>192.168.1.1</code>) 荤侩茄促.</p>    <p>辑滚绰 <code>VirtualHost</code> 冀记 茄俺肺 郴何客 寇何    览翠俊 鞍篮 郴侩阑 辑厚胶且 荐 乐促.</p>    <example>    <title>辑滚 汲沥</title>    NameVirtualHost 192.168.1.1<br />    NameVirtualHost 172.20.30.40<br />		<br />    &lt;VirtualHost 192.168.1.1 172.20.30.40&gt;<br />    <indent>        DocumentRoot /www/server1<br />        ServerName server.example.com<br />        ServerAlias server<br />    </indent>    &lt;/VirtualHost&gt;    </example>    <p>捞力 滴 匙飘亏俊辑 甸绢柯 夸没阑 鞍篮    <code>VirtualHost</code>俊辑 辑厚胶茄促.</p>    <note>          <title>林狼:</title><p>郴何 匙飘亏俊辑绰 肯傈茄 龋胶飘疙          <code>server.example.com</code> 措脚 捞抚          <code>server</code>档 啊瓷窍促.</p>          <p>肚茄 困狼 抗俊辑 IP 林家 措脚 <code>*</code>阑          荤侩窍咯 辑滚啊 葛电 林家俊 悼老窍霸 悼累且 荐          乐促.</p>    </note>	</section>	<section id="port"><title>咯矾 器飘俊辑 辑肺 促弗 荤捞飘    款康窍扁.</title>    <p>鞍篮 IP狼 咯矾 器飘俊辑 辑肺 促弗 档皋牢阑 辑厚胶茄促绊    啊沥窍磊. 捞绰 "NameVirtualHost" 怕弊俊 器飘甫 沥狼窍搁    啊瓷窍促. NameVirtualHost name:port绝捞 &lt;VirtualHost    name:port&gt;父 趣篮 Listen 瘤矫绢父 荤侩窍搁 救等促.</p>    <example>    <title>辑滚 汲沥</title>    Listen 80<br />    Listen 8080<br />		<br />    NameVirtualHost 172.20.30.40:80<br />    NameVirtualHost 172.20.30.40:8080<br />		<br />    &lt;VirtualHost 172.20.30.40:80&gt;<br />    <indent>        ServerName www.example1.com<br />        DocumentRoot /www/domain-80<br />    </indent>    &lt;/VirtualHost&gt;<br />		<br />    &lt;VirtualHost 172.20.30.40:8080&gt;<br />    <indent>        ServerName www.example1.com<br />        DocumentRoot /www/domain-8080<br />    </indent>    &lt;/VirtualHost&gt;<br />		<br />    &lt;VirtualHost 172.20.30.40:80&gt;<br />    <indent>        ServerName www.example2.org<br />        DocumentRoot /www/otherdomain-80<br />    </indent>    &lt;/VirtualHost&gt;<br />		<br />    &lt;VirtualHost 172.20.30.40:8080&gt;<br />    <indent>        ServerName www.example2.org<br />        DocumentRoot /www/otherdomain-8080<br />    </indent>    &lt;/VirtualHost&gt;    </example>	</section>	<section id="ip"><title>IP扁馆 啊惑龋胶飘</title>    <p>辑滚绰 阿阿 <code>www.example1.com</code>苞    <code>www.example2.org</code>俊 秦寸窍绰 滴 IP 林家甫    (<code>172.20.30.40</code>苞 <code>172.20.30.50</code>)    啊柳促.</p>    <example>    <title>辑滚 汲沥</title>    Listen 80<br />		<br />    &lt;VirtualHost 172.20.30.40&gt;<br />    <indent>        DocumentRoot /www/example1<br />        ServerName www.example1.com<br />    </indent>    &lt;/VirtualHost&gt;<br />		<br />    &lt;VirtualHost 172.20.30.50&gt;<br />    <indent>        DocumentRoot /www/example2<br />        ServerName www.example2.org<br />    </indent>    &lt;/VirtualHost&gt;    </example>    <p><code>&lt;VirtualHost&gt;</code> 瘤矫绢肺 瘤沥茄 林家俊    秦寸窍瘤臼绰 林家肺 (抗甫 甸绢, <code>localhost</code>)    夸没捞 甸绢坷搁 林辑滚啊 乐绰 版快 林辑滚啊 辑厚胶茄促.</p>	</section>	<section id="ipport"><title>器飘扁馆苞 ip扁馆捞 去钦等    啊惑龋胶飘</title>

⌨️ 快捷键说明

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