📄 handler.xml.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="handler.xml.meta"> <title>酒颇摹俊辑 勤甸矾 荤侩</title> <summary> <p>捞 巩辑绰 酒颇摹俊辑 勤甸矾甫 荤侩窍绰 规过阑 汲疙茄促.</p> </summary> <section id="definition"> <title>勤甸矾啊 公均牢啊</title> <related> <modulelist> <module>mod_actions</module> <module>mod_asis</module> <module>mod_cgi</module> <module>mod_imap</module> <module>mod_info</module> <module>mod_mime</module> <module>mod_negotiation</module> <module>mod_status</module> </modulelist> <directivelist> <directive module="mod_actions">Action</directive> <directive module="mod_mime">AddHandler</directive> <directive module="mod_mime">RemoveHandler</directive> <directive module="core">SetHandler</directive> </directivelist> </related> <p>颇老阑 夸没且锭 酒颇摹啊 郴何利栏肺 荐青且 累诀阑 "勤甸矾(handler)"扼绊 茄促. 老馆利栏肺 颇老篮 颇老 辆幅俊 蝶扼 鞠宫利牢 勤甸矾甫 啊瘤绊 乐促. 葛电 颇老篮 焊烹 埃窜洒 辑滚啊 辑厚胶窍瘤父, 绢恫 颇老 辆幅绰 蝶肺 "贸府等促(handled)".</p> <p>Apache 1.1何磐 勤甸矾甫 疙矫利栏肺 荤侩且 荐 乐霸 登菌促. 颇老 辆幅客 包拌绝捞 勤甸矾甫 颇老狼 犬厘磊唱 困摹俊 蝶扼 瘤沥且 荐 乐促. 捞绰 歹 惹涪茄 规过捞绊 颇老阑 辆幅客 勤甸矾 笛 葛滴客 楷拌且 荐 乐扁锭巩俊 亮促. (<a href="mod/mod_mime.html#multipleext">咯矾 犬厘磊甫 啊柳 颇老</a>档 曼绊)</p> <p>勤甸矾绰 辑滚唱 葛碘肺 备泅窍咯, <directive module="mod_actions">Action</directive> 瘤矫绢肺 眠啊且 荐 乐促. 钎霖 硅器夯俊 乐绰 扁夯 勤甸矾绰 促澜苞 鞍促:</p> <ul> <li><strong>default-handler</strong>: 沥利牢 郴侩阑 贸府窍扁困秦 扁夯利栏肺 荤侩窍绰 勤甸矾 <code>default_handler()</code>甫 荤侩窍咯 颇老阑 焊辰促. (core)</li> <li><strong>send-as-is</strong>: HTTP 庆歹啊 乐绰 颇老阑 弊措肺 焊辰促. (<module>mod_asis</module>)</li> <li><strong>cgi-script</strong>: 颇老阑 CGI肺 贸府茄促. (<module>mod_cgi</module>)</li> <li><strong>imap-file</strong>: imagemap 痹蘑 颇老肺 贸府茄促. (<module>mod_imap</module>)</li> <li><strong>server-info</strong>: 辑滚狼 汲沥 沥焊甫 舅妨霖促. (<module>mod_info</module>)</li> <li><strong>server-status</strong>: 辑滚狼 惑怕甫 焊绊茄促. (<module>mod_status</module>)</li> <li><strong>type-map</strong>: 郴侩蛆惑俊 荤侩且 type map栏肺 贸府茄促. (<module>mod_negotiation</module>)</li> </ul> </section> <section id="examples"> <title>抗力</title> <section id="example1"> <title>CGI 胶农赋飘甫 荤侩窍咯 沥利牢 郴侩 荐沥窍扁</title> <p>促澜 瘤矫绢绰 犬厘磊啊 <code>html</code>牢 颇老阑 夸没且 版快 <code>footer.pl</code> CGI 胶农赋飘甫 剁款促.</p> <example> Action add-footer /cgi-bin/footer.pl<br/> AddHandler add-footer .html </example> <p>CGI 胶农赋飘绰 (<code>PATH_TRANSLATED</code> 券版函荐啊 瘤莫窍绰) 盔贰 夸没茄 巩辑甫 利例洒 荐沥茄 饶 焊辰促.</p> </section> <section id="example2"> <title>HTTP 庆歹甫 器窃窍绰 颇老</title> <p>促澜 瘤矫绢绰 HTTP 庆歹甫 器窃窍绰 颇老俊 <code>send-as-is</code> 勤甸矾甫 瘤矫茄促. <code>/web/htdocs/asis/</code> 叼泛配府 救俊 乐绰 葛电 颇老篮 犬厘磊客 包拌绝捞 <code>send-as-is</code> 勤甸矾啊 贸府茄促.</p> <example> <Directory /web/htdocs/asis><br/> SetHandler send-as-is<br/> </Directory> </example> </section> </section> <section id="programmer"> <title>橇肺弊贰赣甫 困茄 沥焊</title> <p>勤甸矾 扁瓷阑 备泅窍扁困秦 荤侩窃流茄 <a href="developer/API.html">Apache API</a>啊 眠啊登菌促. 漂洒 <code>request_rec</code> 备炼眉俊 货肺款 鞘靛啊 眠啊登菌促:</p> <example> char *handler </example> <p>葛碘捞 勤甸矾甫 荤侩窍妨搁, 夸没狼 <code>invoke_handler</code> 窜拌 捞傈俊 <code>r->handler</code>俊 勤甸矾 捞抚阑 瘤沥秦林扁父 窍搁 等促. 勤甸矾绰 content type 措脚 勤甸矾 捞抚阑 荤侩茄 巴阑 力寇窍绊绰 傈苞 鞍捞 备泅登菌促. 怖 瘤懦 鞘夸绰 绝瘤父 勤甸矾 捞抚俊 浇贰浆甫 荤侩窍瘤 臼绊, 窜绢甸 荤捞俊 哗扁 扁龋甫 荤侩窍绰 巴捞 老馆利捞促. 弊贰辑 勤甸矾 捞抚捞 media type苞 般摹瘤 臼绰促.</p> </section></manualpage>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -