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

📄 mod_example.html.ko.euc-kr

📁 Apache2.2.4 with OpenSSL 0.9.8e 提供HTTP及HTTPS服务。 带QuickUsage
💻 EUC-KR
字号:
<?xml version="1.0" encoding="EUC-KR"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
              This file is generated from xml source: DO NOT EDIT
        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
      -->
<title>mod_example - Apache HTTP Server</title>
<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
<link href="../images/favicon.ico" rel="shortcut icon" /></head>
<body>
<div id="page-header">
<p class="menu"><a href="../mod/">葛碘</a> | <a href="../mod/directives.html">瘤矫绢甸</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">侩绢</a> | <a href="../sitemap.html">荤捞飘甘</a></p>
<p class="apache">Apache HTTP Server Version 2.2</p>
<img alt="" src="../images/feather.gif" /></div>
<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="../images/left.gif" /></a></div>
<div id="path">
<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.2</a> &gt; <a href="./">葛碘</a></div>
<div id="page-content">
<div id="preamble"><h1>酒颇摹 葛碘 mod_example</h1>
<div class="toplang">
<p><span>啊瓷茄 攫绢: </span><a href="../en/mod/mod_example.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
<a href="../ko/mod/mod_example.html" title="Korean">&nbsp;ko&nbsp;</a></p>
</div>
<div class="outofdate">捞 巩辑绰 弥脚魄 锅开捞 酒凑聪促.
            弥辟俊 函版等 郴侩篮 康绢 巩辑甫 曼绊窍技夸.</div>
<table class="module"><tr><th><a href="module-dict.html#Description">汲疙:</a></th><td>酒颇摹 葛碘 API甫 汲疙茄促</td></tr>
<tr><th><a href="module-dict.html#Status">惑怕:</a></th><td>Experimental</td></tr>
<tr><th><a href="module-dict.html#ModuleIdentifier">葛碘疙:</a></th><td>example_module</td></tr>
<tr><th><a href="module-dict.html#SourceFile">家胶颇老:</a></th><td>mod_example.c</td></tr></table>
<h3>夸距</h3>

    <p>酒颇摹 硅器夯 <code>modules/experimental</code> 叼泛配府俊
    乐绰 颇老甸篮 酒颇摹 API甫 荤侩窍咯 葛碘阑 累己窍妨绰 荤恩甸阑
    到扁困茄 抗力促.</p>

    <p><code>mod_example.c</code>绰 葛电 妮归(callback) 备炼客
    龋免 巩过阑 汲疙窍绰 颇老捞促. 寸脚篮 葛碘俊 捞 葛电 妮归阑
    备泅且 鞘夸啊 绝促. 荤角 沥馆措促!</p>

    <p>example 葛碘篮 角力肺 悼累窍绰 葛碘捞促. 捞 葛碘阑 辑滚俊
    楷搬窍绊 漂沥 困摹俊 "example-handler" 勤甸矾甫 且寸窍咯
    弊镑阑 宏扼快隆窍搁 example 葛碘狼 咯矾 妮归阑 犬牢且 荐
    乐促.</p>
</div>
<div id="quickview"><h3 class="directives">瘤矫绢甸</h3>
<ul id="toc">
<li><img alt="" src="../images/down.gif" /> <a href="#example">Example</a></li>
</ul>
<h3>林力</h3>
<ul id="topics">
<li><img alt="" src="../images/down.gif" /> <a href="#compiling">example 葛碘 哪颇老窍扁</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#using"><code>mod_example</code> 葛碘 荤侩窍扁</a></li>
</ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="compiling" id="compiling">example 葛碘 哪颇老窍扁</a></h2>

    <p>辑滚俊 example 葛碘阑 器窃窍妨搁 促澜 苞沥阑 芭模促:</p>

    <ol>
      <li>
        <code>--enable-example</code> 可记苞 窃膊
        <code>configure</code>甫 角青茄促.</li>

      <li>辑滚甫 哪颇老茄促 ("<code>make</code>"甫 角青茄促).</li>
    </ol>

    <p>磊脚捞 父电 葛碘阑 眠啊窍妨搁:</p>

    <ol class="up-A">
      <li><code>cp modules/experimental/mod_example.c
      modules/new_module/<em>mod_myexample.c</em></code></li>

      <li>颇老阑 荐沥茄促.</li>

      <li><code>modules/new_module/config.m4</code> 颇老阑 父电促.
        <ol>
          <li><code>APACHE_MODPATH_INIT(new_module)</code>阑
            眠啊茄促.</li>
          <li><code>modules/experimental/config.m4</code> 颇老俊辑
            "example"捞 乐绰 APACHE_MODULE 临阑 汗荤秦柯促.</li>
          <li>霉锅掳 酒痹刚飘 "example"阑 <em>myexample</em>肺
            函版茄促.</li>
          <li>滴锅掳 酒痹刚飘 磊府俊 磊脚捞 父电 葛碘俊 措茄
            埃窜茄 汲疙阑 利绰促. <code>configure --help</code>甫
            角青窍搁 咯扁俊 扁废茄 汲疙阑 焊咯霖促.</li>
          <li>葛碘阑 哪颇老且锭 漂喊茄 C 哪颇老矾 可记, 傅目
            可记, 扼捞宏矾府啊 鞘夸窍搁 阿阿 CFLAGS, LDFLAGS,
            LIBS俊 眠啊茄促. modules 叼泛配府俊 乐绰 促弗
            <code>config.m4</code> 颇老甸阑 曼绊窍扼.</li>
          <li><code>APACHE_MODPATH_FINISH</code>甫 眠啊茄促.</li>
        </ol>
      </li>

      <li><code>module/new_module/Makefile.in</code> 颇老阑
      父电促. 葛碘阑 哪颇老窍绰单 漂喊茄 疙飞绢啊 鞘夸绝促搁,
      颇老俊 <code>include $(top_srcdir)/build/special.mk</code>父
      乐绢档 等促.</li>

      <li>弥惑困 叼泛配府俊辑 ./buildconf 甫 角青茄促.</li>

      <li>--enable-myexample 可记阑 荤侩窍咯 辑滚甫 哪颇老茄促</li>

    </ol>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="using" id="using"><code>mod_example</code> 葛碘 荤侩窍扁</a></h2>

    <p>example 葛碘阑 荤侩窍妨搁 <code>httpd.conf</code> 颇老俊
    促澜苞 鞍篮 汲沥阑 眠啊窍扼:</p>
<div class="example"><p><code>
   &lt;Location /example-info&gt;<br />
       SetHandler example-handler<br />
   &lt;/Location&gt;
</code></p></div>

    <p>酒聪搁 <a href="core.html#accessfilename"><code>.htaccess</code></a>
    颇老俊 促澜苞 鞍篮 郴侩阑 眠啊窍绊, 弊 困摹俊辑 "test.example"
    鞍篮 颇老阑 夸没窍扼:</p>
<div class="example"><p><code>
   AddHandler example-handler .example
</code></p></div>

    <p>辑滚甫 犁矫累茄 饶 捞 困摹甫 宏扼快隆窍搁 菊俊辑 富茄
    郴侩阑 焊霸瞪 巴捞促.</p>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="Example" id="Example">Example</a> <a name="example" id="example">瘤矫绢</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">汲疙:</a></th><td>酒颇摹 葛碘 API甫 汲疙窍扁困茄 抗力 瘤矫绢</td></tr>
<tr><th><a href="directive-dict.html#Syntax">巩过:</a></th><td><code>Example</code></td></tr>
<tr><th><a href="directive-dict.html#Context">荤侩厘家:</a></th><td>林辑滚汲沥, 啊惑龋胶飘, directory, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Status">惑怕:</a></th><td>Experimental</td></tr>
<tr><th><a href="directive-dict.html#Module">葛碘:</a></th><td>mod_example</td></tr>
</table>
    <p><code class="directive">Example</code> 瘤矫绢绰 example 葛碘狼
    郴侩勤甸矾啊 埃窜茄 巩备甫 焊老瘤 咯何甫 汲沥茄促. 捞 瘤矫绢绰
    酒痹刚飘甫 罐瘤臼绰促. example 郴侩勤甸矾甫 利侩茄 URL俊
    立加窍搁 巩辑 夸没阑 辑厚胶窍扁困秦 葛碘救俊 窃荐甸捞 绢痘霸
    弊府绊 绢恫 鉴辑肺 阂府绰瘤 舅 荐 乐促. 捞 瘤矫绢狼 瓤苞绰
    "<code>Example directive declared here: YES/NO</code>"肺
    犬牢且 荐 乐促.</p>

</div>
</div>
<div class="bottomlang">
<p><span>啊瓷茄 攫绢: </span><a href="../en/mod/mod_example.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
<a href="../ko/mod/mod_example.html" title="Korean">&nbsp;ko&nbsp;</a></p>
</div><div id="footer">
<p class="apache">Copyright 2006 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="menu"><a href="../mod/">葛碘</a> | <a href="../mod/directives.html">瘤矫绢甸</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">侩绢</a> | <a href="../sitemap.html">荤捞飘甘</a></p></div>
</body></html>

⌨️ 快捷键说明

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