You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rj...@apache.org on 2014/10/03 18:25:22 UTC
svn commit: r1629250 -
/httpd/httpd/trunk/docs/manual/mod/mod_example_hooks.xml.ko
Author: rjung
Date: Fri Oct 3 16:25:22 2014
New Revision: 1629250
URL: http://svn.apache.org/r1629250
Log:
Partial mod_example to mod_example_hooks fix
for korean docs.
Modified:
httpd/httpd/trunk/docs/manual/mod/mod_example_hooks.xml.ko
Modified: httpd/httpd/trunk/docs/manual/mod/mod_example_hooks.xml.ko
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_example_hooks.xml.ko?rev=1629250&r1=1629249&r2=1629250&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_example_hooks.xml.ko [euc-kr] (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_example_hooks.xml.ko [euc-kr] Fri Oct 3 16:25:22 2014
@@ -1,7 +1,7 @@
<?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: 105989:1330988 (outdated) -->
+<!-- English Revision: 105989:1629244 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
@@ -20,25 +20,25 @@
limitations under the License.
-->
-<modulesynopsis metafile="mod_example.xml.meta">
+<modulesynopsis metafile="mod_example_hooks.xml.meta">
-<name>mod_example</name>
+<name>mod_example_hooks</name>
<description>아파치 모듈 API를 설명한다</description>
<status>Experimental</status>
-<sourcefile>mod_example.c</sourcefile>
-<identifier>example_module</identifier>
+<sourcefile>mod_example_hooks.c</sourcefile>
+<identifier>example_hooks_module</identifier>
<summary>
- <p>아파치 배포본 <code>modules/experimental</code> 디렉토리에
+ <p>아파치 배포본 <code>modules/examples</code> 디렉토리에
있는 파일들은 아파치 API를 사용하여 모듈을 작성하려는 사람들을
돕기위한 예제다.</p>
- <p><code>mod_example.c</code>는 모든 콜백(callback) 구조와
+ <p><code>mod_example_hooks.c</code>는 모든 콜백(callback) 구조와
호출 문법을 설명하는 파일이다. 당신은 모듈에 이 모든 콜백을
구현할 필요가 없다. 사실 정반대다!</p>
<p>example 모듈은 실제로 동작하는 모듈이다. 이 모듈을 서버에
- 연결하고 특정 위치에 "example-handler" 핸들러를 할당하여
+ 연결하고 특정 위치에 "example-hooks-handler" 핸들러를 할당하여
그곳을 브라우징하면 example 모듈의 여러 콜백을 확인할 수
있다.</p>
</summary>
@@ -49,7 +49,7 @@
<ol>
<li>
- <code>--enable-example</code> 옵션과 함께
+ <code>--enable-example-hooks</code> 옵션과 함께
<code>configure</code>를 실행한다.</li>
<li>서버를 컴파일한다 ("<code>make</code>"를 실행한다).</li>
@@ -58,7 +58,7 @@
<p>자신이 만든 모듈을 추가하려면:</p>
<ol type="A">
- <li><code>cp modules/experimental/mod_example.c
+ <li><code>cp modules/examples/mod_example_hooks.c
modules/new_module/<em>mod_myexample.c</em></code></li>
<li>파일을 수정한다.</li>
@@ -67,9 +67,9 @@
<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><code>modules/examples/config.m4</code> 파일에서
+ "example_hooks"이 있는 APACHE_MODULE 줄을 복사해온다.</li>
+ <li>첫번째 아규먼트 "example_hooks"을 <em>myexample</em>로
변경한다.</li>
<li>두번째 아규먼트 자리에 자신이 만든 모듈에 대한
간단한 설명을 적는다. <code>configure --help</code>를
@@ -94,13 +94,13 @@
</ol>
</section>
-<section id="using"><title><code>mod_example</code> 모듈 사용하기</title>
+<section id="using"><title><code>mod_example_hooks</code> 모듈 사용하기</title>
<p>example 모듈을 사용하려면 <code>httpd.conf</code> 파일에
다음과 같은 설정을 추가하라:</p>
<example>
- <Location /example-info><br />
- SetHandler example-handler<br />
+ <Location /example-hooks-info><br />
+ SetHandler example-hooks-handler<br />
</Location>
</example>
@@ -109,7 +109,7 @@
파일에 다음과 같은 내용을 추가하고, 그 위치에서 "test.example"
같은 파일을 요청하라:</p>
<example>
- AddHandler example-handler .example
+ AddHandler example-hooks-handler .example
</example>
<p>서버를 재시작한 후 이 위치를 브라우징하면 앞에서 말한