mod_so.xml.ko revision 1fc594205bd58583a2660536729eb684f5cb7932
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy<?xml version="1.0" encoding="EUC-KR" ?>
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy<!DOCTYPE modulesynopsis SYSTEM "/style/modulesynopsis.dtd">
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy<?xml-stylesheet type="text/xsl" href="/style/manual.ko.xsl"?>
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy<!-- English Revision: 420990 -->
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy<!--
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy Licensed to the Apache Software Foundation (ASF) under one or more
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy contributor license agreements. See the NOTICE file distributed with
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy this work for additional information regarding copyright ownership.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy The ASF licenses this file to You under the Apache License, Version 2.0
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy (the "License"); you may not use this file except in compliance with
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy the License. You may obtain a copy of the License at
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy
598f4ceed9327d2d6c2325dd67cae3aa06f7fea6Garrett D'Amore http://www.apache.org/licenses/LICENSE-2.0
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy Unless required by applicable law or agreed to in writing, software
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy distributed under the License is distributed on an "AS IS" BASIS,
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore See the License for the specific language governing permissions and
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy limitations under the License.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy-->
<modulesynopsis metafile="mod_so.xml.meta">
<name>mod_so</name>
<description>�����Ҷ� Ȥ�� ������Ҷ� ���డ���� �ڵ�� �����
������ �о���δ�</description>
<status>Extension</status>
<sourcefile>mod_so.c</sourcefile>
<identifier>so_module</identifier>
<compatibility>��������� (�׻� �����ϴ�) Base ����̴�.</compatibility>
<summary>
<p>��� �ü������ ����ġ�� <a href="/dso.html">���������ü</a>
(DSO) ����� ����Ͽ� ������ �ٽ� ���������� �ʰ? �����߿�
����� �о���� �� �ִ�.</p>
<p>�о���� �ڵ��, ���н������� (<code>.so</code> Ȯ���ڸ�
����) �Ϲ����� ������ü�����̰�, ����������� <code>.so</code>
Ȥ�� <code>.dll</code> Ȯ���ڸ� �����.</p>
<note type="warning"><title>���</title>
<p>����ġ 1.3 ����� ����ġ 2.0���� ����� �� ���.
����ġ 2.0�� �������� �о���̰ų� ����ġ�� ���� �������Ϸ���
����� �����ؾ� �Ѵ�.</p>
</note>
</summary>
<section id="windows"><title>��������� �о���� ��� �����</title>
<note><title>����</title>
<p>���������� ���� ����� ����ġ 1.3.15�� 2.0���� ����Ǿ��.
������ ���� mod_foo.so���̴�.</p>
<p>mod_so�� ������ ApacheModuleFoo.dll ���� ����� ����
�� ������, ���ο� �̸� ��Ģ�� ��ȣ�Ѵ�. ����� 2.0�� �°�
�����Ѵٸ� �̸��� 2.0 ��Ģ�� �˸°� ��ġ�� �ٶ���.</p></note>
<p>����ġ ��� API�� ���н� �����̰ų� �������� �����̰ų�
����. ��� API�� ������� ��� ���н� ������ �����ϱ⶧����
����� �� ������, ���н����� ����Ǵ� ���� ����� ��������
Ȥ�� ���� �����Ͽ� ��������� ����� �� �ִ�.</p>
<p>����� �ΰ��� ������� ������ �߰��� �� �ִ�. ���н�������
����� ������ ���� �������� �� �ִ�. ��������� ����ġ��
���н��� �޸� <code>Configure</code> ���α׷��� ��⶧����
����� �ҽ������� ApacheCore ������Ʈ ���Ͽ� �߰��ϰ�, �ɺ���
<code>os\win32\modules.c</code> ���Ͽ� �߰��ؾ� �Ѵ�.</p>
<p>�� ����� ����� ������
<code><directive>LoadModule</directive></code> ���þ
����Ͽ� �����Ҷ� �о���� �� �ִ� �������̺귯�� DLL��
����� ���̴�. �� ��� DLL�� �����ϸ� ������ ������������
�ʰ� � ��������� ����ġ������ ����� ����� �� �ִ�.</p>
<p>��� DLL�� ��������ؼ��� ����� �ҽ������� ���� �����ؾ�
�Ѵ�. DLL�� module record�� export�ؾ� �Ѵ�. (�Ʒ� ���)
�̸� ���� ����� module record ���ǿ� (����ġ ������Ͽ�
���ǵ�) <code>AP_MODULE_DECLARE_DATA</code>�� �߰��Ѵ�.
���� ���, ������ ���� ����� �ִٸ�:</p>
<example>
module foo_module;
</example>
<p>������ ���� �����Ѵ�:</p>
<example>
module AP_MODULE_DECLARE_DATA foo_module;
</example>
<p>�� �κ��� ����������� ����ϱ⶧���� �����Ͽ��� ���н�����
�ҽ��� �״�� ����� �� �ִ�. ��, <code>.DEF</code> ���Ͽ�
�ͼ��ϴٸ� ��� �� ������ ����Ͽ� module record�� export��
���� �ִ�.</p>
<p>���� ����� ������ DLL�� �����. �̸� �������̺귯��
libhttpd.dll�� �������Ҷ� ���� libhttpd.lib export ���̺귯����
��ũ�Ѵ�. ����ġ ��������� �ùٷ� ã���� �����Ϸ� ������
�����ؾ� ������ �𸥴�. ������ modules ���丮���� ��
���̺귯���� ã�� �� �ִ�. ������ȯ���� �ùٷ� �����ϱ�����
���� ����� .dsp ������ ������ ���ų� ���� ���� .dsp��
�����Ϸ�/��Ŀ �ɼ��� ���ϴ� ���� ����.</p>
<p>���� ����� DLL�� �����. �̰��� ������
<code>modules</code> ���丮�� �ΰ�,
<directive>LoadModule</directive> ���þ ����Ͽ� �о���δ�.</p>
</section>
<directivesynopsis>
<name>LoadFile</name>
<description>������ ���������̳� ���̺귯���� �о���δ�</description>
<syntax>LoadFile <em>filename</em> [<em>filename</em>] ...</syntax>
<contextlist>
<context>server config</context>
</contextlist>
<usage>
<p>LoadFile ���þ�� ������ �����ϰų� ������Ҷ� ������
���������̳� ���̺귯���� �о���δ�(link in). �� ���þ��
� ����� �����ϱ����� �ʿ��� �ڵ带 �߰��� �о���϶�
����Ѵ�. <em>Filename</em>�� ������̰ų� <a
href="core.html#serverroot">ServerRoot</a>�� ���� ������̴�.</p>
<p>���� ���:</p>
<example>LoadFile libexec/libxmlparse.so</example>
</usage>
</directivesynopsis>
<directivesynopsis>
<name>LoadModule</name>
<description>���������̳� ���̺귯���� �о���̰�, ��밡����
��� ��Ͽ� �߰��Ѵ�</description>
<syntax>LoadModule <em>module filename</em></syntax>
<contextlist>
<context>server config</context>
</contextlist>
<usage>
<p>LoadModule ���þ�� �������� Ȥ�� ���̺귯�� <em>filename</em>��
�о���̰�, ��밡���� ��� ��Ͽ� <em>module</em>�̶��
��� ����ü�� �߰��Ѵ�. <em>Module</em>�� ������
<code>module</code> �ڷ��� �ܺκ������̸�, ��� ������ <a
href="module-dict.html#ModuleIdentifier">����</a>��
���´�. ���� ���:</p>
<example>
LoadModule status_module modules/mod_status.so
</example>
<p>ServerRoot�� modules �������丮���� ������ ����� �о���δ�.</p>
</usage>
</directivesynopsis>
</modulesynopsis>