mod_example.xml.ko
来自「Apache HTTP Server 是一个功能强大的灵活的与HTTP/1.1相」· KO 代码 · 共 130 行
KO
130 行
<?xml version="1.0" encoding="EUC-KR" ?><!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"><?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?><!-- English Revision: 151405 --><!-- Copyright 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.--><modulesynopsis metafile="mod_example.xml.meta"><name>mod_example</name><description>酒颇摹 葛碘 API甫 汲疙茄促</description><status>Experimental</status><sourcefile>mod_example.c</sourcefile><identifier>example_module</identifier><summary><note type="warning"> 捞 巩辑绰 酒颇摹 昆辑滚 2.0 滚傈俊辑 函版等 郴侩阑 淬绊 乐瘤 臼促. 酒流档 蜡瓤茄 沥焊啊 乐瘤父, 林狼秦辑 荤侩窍辨 官鄂促.</note> <p>酒颇摹 硅器夯 <code>src/modules/example 叼泛配府</code>俊 乐绰 颇老甸篮 酒颇摹 API甫 荤侩窍咯 葛碘阑 累己窍妨绰 荤恩甸阑 到扁困茄 抗力促.</p> <p><code>mod_example.c</code>绰 葛电 妮归(callback) 备炼客 龋免 巩过阑 汲疙窍绰 颇老捞促. 寸脚篮 葛碘俊 捞 葛电 妮归阑 备泅且 鞘夸啊 绝促. 荤角 沥馆措促!</p> <p>example 葛碘篮 角力肺 悼累窍绰 葛碘捞促. 捞 葛碘阑 辑滚俊 楷搬窍绊 漂沥 困摹俊 "example-handler" 勤甸矾甫 且寸窍咯 弊镑阑 宏扼快隆窍搁 example 葛碘狼 咯矾 妮归阑 犬牢且 荐 乐促.</p></summary><section id="compiling"><title>example 葛碘 哪颇老窍扁</title> <p>辑滚俊 example 葛碘阑 器窃窍妨搁 促澜 苞沥阑 芭模促:</p> <ol> <li> <code>src/Configuration</code> 颇老 酒贰 何盒俊 乐绰 "AddModule modules/example/mod_example" 临狼 林籍贸府甫 绝矩促. 捞繁 临捞 绝促搁, 促澜苞 鞍篮 临阑 眠啊茄促.<example> AddModule modules/example/mod_example.o</example> </li> <li><code>src/Configure</code> 胶农赋飘甫 角青茄促 ("<code>cd src; ./Configure</code>"). 弊矾搁 辑滚 磊眉 Makefile阑 父甸绊, 窍困叼泛配府俊 乐绰 夸没茄 眠啊 葛碘阑 <code>src/modules/Makefile</code>俊 眠啊茄促.</li> <li>辑滚甫 哪颇老茄促 (<code>src</code> 叼泛配府俊 乐绰 "<code>make</code>"甫 角青茄促).</li> </ol> <p>磊脚捞 父电 葛碘阑 眠啊窍妨搁:</p> <ol type="A"> <li><code>mkdir src/modules/<em>mymodule</em></code></li> <li><code>cp src/modules/example/* src/modules/<em>mymodule</em></code></li> <li>货肺 父电 叼泛配府俊 乐绰 颇老阑 荐沥茄促.</li> <li>利例洒 荐沥窍咯 困狼 [1]俊辑 [3]鳖瘤 苞沥阑 柳青茄促.</li> </ol></section><section id="using"><title><code>mod_example</code> 葛碘 荤侩窍扁</title> <p>example 葛碘阑 荤侩窍妨搁 <code>srm.conf</code> 颇老俊 促澜苞 鞍篮 汲沥阑 眠啊窍扼:</p><example> <Location /example-info><br /> SetHandler example-handler<br /> </Location></example> <p>酒聪搁 <a href="core.html#accessfilename"><code>.htaccess</code></a> 颇老俊 促澜苞 鞍篮 郴侩阑 眠啊窍绊, 弊 困摹俊辑 "test.example" 鞍篮 颇老阑 夸没窍扼:</p><example> AddHandler example-handler .example</example> <p>辑滚甫 犁矫累茄 饶 捞 困摹甫 宏扼快隆窍搁 菊俊辑 富茄 郴侩阑 焊霸瞪 巴捞促.</p></section><directivesynopsis><name>Example</name><description>酒颇摹 葛碘 API甫 汲疙窍扁困茄 抗力 瘤矫绢</description><syntax>Example</syntax><contextlist><context>server config</context><context>virtual host</context><context>directory</context><context>.htaccess</context></contextlist><usage> <p><directive>Example</directive> 瘤矫绢绰 example 葛碘狼 郴侩勤甸矾啊 埃窜茄 巩备甫 焊老瘤 咯何甫 汲沥茄促. 捞 瘤矫绢绰 酒痹刚飘甫 罐瘤臼绰促. example 郴侩勤甸矾甫 利侩茄 URL俊 立加窍搁 巩辑 夸没阑 辑厚胶窍扁困秦 葛碘救俊 窃荐甸捞 绢痘霸 弊府绊 绢恫 鉴辑肺 阂府绰瘤 舅 荐 乐促. 捞 瘤矫绢狼 瓤苞绰 "<code>Example directive declared here: YES/NO</code>"肺 犬牢且 荐 乐促.</p></usage></directivesynopsis></modulesynopsis>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?