⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
apache
/
manual
/
programs
/
View File Name :
apxs.html.ko.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> <meta content="text/html; charset=EUC-KR" http-equiv="Content-Type" /> <!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> <title>apxs - APache eXtenSion ���� - Apache HTTP Server Version 2.4</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 rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> <script src="../style/scripts/prettify.min.js" type="text/javascript"> </script> <link href="../images/favicon.ico" rel="shortcut icon" /></head> <body id="manual-page"><div id="page-header"> <p class="menu"><a href="../mod/">���</a> | <a href="../mod/directives.html">���þ��</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">���</a> | <a href="../sitemap.html">���Ʈ��</a></p> <p class="apache">Apache HTTP Server Version 2.4</p> <img alt="" src="../images/feather.png" /></div> <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> <div id="path"> <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.4</a> > <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>apxs - APache eXtenSion ����</h1> <div class="toplang"> <p><span>������ ���: </span><a href="../en/programs/apxs.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../fr/programs/apxs.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | <a href="../ko/programs/apxs.html" title="Korean"> ko </a> | <a href="../tr/programs/apxs.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> </div> <div class="outofdate">�� ������ �ֽ��� ������ �ƴմϴ�. �ֱٿ� ����� ���� ���� ������ ����ϼ���.</div> <p><code>apxs</code>�� ����ġ ������ؽ�Ʈ ���� ������� (HTTP) ������ Ȯ���� ������ϰ� ��ġ�ϴ� �����̴�. �� ������ ���� �ҽ��� ����Ʈ<var>���</var>�� ������, <code class="module"><a href="../mod/mod_so.html">mod_so</a></code>�� <code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code> ���þ�� ����߿� ����ġ ������ �о��� �� �ִ� ����������ü(DSO)�� �����.</p> <p>���� �̷� Ȯ����� ����Ϸ��� �÷���� DSO ���� �����ϰ� ����ġ <code>httpd</code> �������� <code class="module"><a href="../mod/mod_so.html">mod_so</a></code> ��� ���� ������ؾ� �Ѵ�. <code>apxs</code> ������ �� ����� ������������ ������� �ʴ´�. ���� ��ɾ �����Ͽ� ����� �����ϴ�� �˾ƺ� �� �ִ�</p> <div class="example"><p><code> $ httpd -l </code></p></div> <p>��Ͽ� <code class="module"><a href="../mod/mod_so.html">mod_so</a></code> ���� ���;� �Ѵ�. ����� �����ϸ� <code>apxs</code> ������ DSO ��� ��ġ�Ͽ� ����ġ������ ���� ���� Ȯ���� �� �ִ�:</p> <div class="example"><p><code> $ apxs -i -a -c mod_foo.c<br /> gcc -fpic -DSHARED_MODULE -I/path/to/apache/include -c mod_foo.c<br /> ld -Bshareable -o mod_foo.so mod_foo.o<br /> cp mod_foo.so /path/to/apache/modules/mod_foo.so<br /> chmod 755 /path/to/apache/modules/mod_foo.so<br /> [activating module `foo' in /path/to/apache/etc/httpd.conf]<br /> $ apachectl restart<br /> /path/to/apache/sbin/apachectl restart: httpd not running, trying to start<br /> [Tue Mar 31 11:27:55 1998] [debug] mod_so.c(303): loaded module foo_module<br /> /path/to/apache/sbin/apachectl restart: httpd started<br /> $ _ </code></p></div> <p>�ƱԸ�Ʈ <var>files</var>���� C �ҽ���� (.c) �̳� ����Ʈ��� (.o), ��̺귯���� (.a)�� ����� �� �ִ�. <code>apxs</code> ������ Ȯ��ڸ� ���� �ڵ����� C �ҽ����� ������ϰ�, ����Ʈ�� ������ ��ũ���� ����Ѵ�. ���� ������� ����Ʈ�� ����Ϸ��� �������� �о��� �� �ִ� ������ü�� ����ϱ��� �ݵ�� ����Ʈ�� ��ġ�����ڵ�(PIC, position independent code)�� ������ؾ� �Ѵ�. GCC�� ��� <code>-fpic</code>�� ����ϸ� �ȴ�. �ٸ� C ����Ϸ��� ������ ����ϰų� <code>apxs</code>�� ����Ʈ���� ������Ҷ� ����ϴ� �ɼ�� ����϶�.</p> <p>����ġ�� DSO ������ ���� �� �ڼ��� ���� <code class="module"><a href="../mod/mod_so.html">mod_so</a></code> ������ ����ϰų� <code>src/modules/standard/mod_so.c</code> �ҽ����� �о���.</p> </div> <div id="quickview"><a href="https://www.apache.org/foundation/contributing.html" class="badge"><img src="https://www.apache.org/images/SupportApache-small.png" alt="Support Apache!" /></a><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">����</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#options">�ɼ�</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#examples">����</a></li> </ul><h3>���</h3><ul class="seealso"><li><a href="apachectl.html">apachectl</a></li><li><a href="httpd.html">httpd</a></li><li><a href="#comments_section">Comments</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="synopsis" id="synopsis">����</a></h2> <p><code><strong>apxs</strong> -<strong>g</strong> [ -<strong>S</strong> <var>name</var>=<var>value</var> ] -<strong>n</strong> <var>modname</var></code></p> <p><code><strong>apxs</strong> -<strong>q</strong> [ -<strong>S</strong> <var>name</var>=<var>value</var> ] <var>query</var> ...</code></p> <p><code><strong>apxs</strong> -<strong>c</strong> [ -<strong>S</strong> <var>name</var>=<var>value</var> ] [ -<strong>o</strong> <var>dsofile</var> ] [ -<strong>I</strong> <var>incdir</var> ] [ -<strong>D</strong> <var>name</var>=<var>value</var> ] [ -<strong>L</strong> <var>libdir</var> ] [ -<strong>l</strong> <var>libname</var> ] [ -<strong>Wc,</strong><var>compiler-flags</var> ] [ -<strong>Wl,</strong><var>linker-flags</var> ] <var>files</var> ...</code></p> <p><code><strong>apxs</strong> -<strong>i</strong> [ -<strong>S</strong> <var>name</var>=<var>value</var> ] [ -<strong>n</strong> <var>modname</var> ] [ -<strong>a</strong> ] [ -<strong>A</strong> ] <var>dso-file</var> ...</code></p> <p><code><strong>apxs</strong> -<strong>e</strong> [ -<strong>S</strong> <var>name</var>=<var>value</var> ] [ -<strong>n</strong> <var>modname</var> ] [ -<strong>a</strong> ] [ -<strong>A</strong> ] <var>dso-file</var> ...</code></p> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="options" id="options">�ɼ�</a></h2> <h3><a name="options.common" id="options.common">���� �ɼ�</a></h3> <dl> <dt><code>-n <var>modname</var></code></dt> <dd><code>-i</code> (install)�� <code>-g</code> (template generation) �ɼ�� ����Ҷ� ���� ���� �����Ѵ�. �� �ɼ�� ����Ͽ� ���� ���� �����Ѵ�. <code>-g</code> �ɼ�� ����Ѵٸ� �� �ɼ�� �ݵ�� ����ؾ��ϰ�, <code>-i</code> �ɼ�� ����Ѵٸ� <code>apxs</code> ������ �ҽ��� (������ �õ���) ��ϸ� ������ �̸��� ����Ѵ�.</dd> </dl> <h3><a name="options.query" id="options.query">���� �ɼ�</a></h3> <dl> <dt><code>-q</code></dt> <dd><code>apxs</code>�� �������� �˾Ƴ���. <var>query</var>���� ����� ����� �� �ִ�: <code>CC</code>, <code>CFLAGS</code>, <code>CFLAGS_SHLIB</code>, <code>INCLUDEDIR</code>, <code>LD_SHLIB</code>, <code>LDFLAGS_SHLIB</code>, <code>LIBEXECDIR</code>, <code>LIBS_SHLIB</code>, <code>SBINDIR</code>, <code>SYSCONFDIR</code>, <code>TARGET</code>. <p>������ ���� �˾Ƴ��� ����Ѵ�.</p> <div class="example"><p><code> INC=-I`apxs -q INCLUDEDIR` </code></p></div> <p>���� ���, ����ġ C ������ ���� �����Ѵٸ� Makefile���� ���� ���� ����Ѵ�.</p></dd> </dl> <h3><a name="options.conf" id="options.conf">���� �ɼ�</a></h3> <dl> <dt><code>-S <var>name</var>=<var>value</var></code></dt> <dd>�� �ɼ�� ������ ������ apxs ������ �����Ѵ�.</dd> </dl> <h3><a name="options.template" id="options.template">�ߺ�(template) ���� �ɼ�</a></h3> <dl> <dt><code>-g</code></dt> <dd>������丮 <var>name</var>�� ����� (<code>-n</code> �ɼ� ���) �װ��� ��� �ΰ��� �����: �� ���� <code>mod_<var>name</var>.c</code>��� �ߺ� ���ҽ���Ϸ�, �ڽ�� ��� ���鶧 �ߺ����� ����ϰų� apxs ���� �����غ��� ����Ѵ�. �ٸ� ���� �� ��� ���� ������ϰ� ��ġ�ϱ��� <code>Makefile</code>�̴�.</dd> </dl> <h3><a name="options.dso" id="options.dso">DSO ����� �ɼ�</a></h3> <dl> <dt><code>-c</code></dt> <dd>������ �����Ѵ�. ��� <var>files</var>���� C �ҽ���ϵ�(.c)�� ����Ʈ���(.o)�� ������ϰ�, <var>files</var>�� ����� ����Ʈ��ϵ�(.o�� .a)�� ��ũ�Ͽ� ����������ü <var>dsofile</var>�� �����. <code>-o</code> �ɼ�� ����������� <var>files</var>�� ù��° ��ϸ��� �̸��� ����Ͽ� ���� <code>mod_<var>name</var>.so</code>�� ����Ѵ�.</dd> <dt><code>-o <var>dsofile</var></code></dt> <dd>������ ����������ü ��ϸ� ���� �����Ѵ�. �̸��� ��������ʰ� <var>files</var> ��Ͽ��� �̸��� ������ ���ϸ� ���������� <code>mod_unknown.so</code>�� �̸����� ����Ѵ�.</dd> <dt><code>-D <var>name</var>=<var>value</var></code></dt> <dd>�� �ɼ�� ����� ��ɾ�� ���� �����Ѵ�. ����϶� �ڽ�� define�� �߰��Ѵ�.</dd> <dt><code>-I <var>incdir</var></code></dt> <dd>�� �ɼ�� ����� ��ɾ�� ���� �����Ѵ�. ����϶� include�� ã�� ���丮�� �߰��Ѵ�.</dd> <dt><code>-L <var>libdir</var></code></dt> <dd>�� �ɼ�� ��Ŀ ��ɾ�� ���� �����Ѵ�. ����϶� ��̺귯���� ã�� ���丮�� �߰��Ѵ�.</dd> <dt><code>-l <var>libname</var></code></dt> <dd>�� �ɼ�� ��Ŀ ��ɾ�� ���� �����Ѵ�. ����϶� ����� ��̺귯���� �߰��Ѵ�.</dd> <dt><code>-Wc,<var>compiler-flags</var></code></dt> <dd>�� �ɼ�� �߰� �ɼ� <var>compiler-flags</var>�� <code>libtool --mode=compile</code> ��ɾ�� �����Ѵ�. ����Ϸ� Ư���� �ɼ�� �߰��Ҷ� ����Ѵ�.</dd> <dt><code>-Wl,<var>linker-flags</var></code></dt> <dd>�� �ɼ�� �߰� �ɼ� <var>linker-flags</var>�� <code>libtool --mode=link</code> ��ɾ�� �����Ѵ�. ��Ŀ Ư���� �ɼ�� �߰��Ҷ� ����Ѵ�.</dd> </dl> <h3><a name="options.dsoinstall" id="options.dsoinstall">DSO ��ġ�� ���� �ɼ�</a></h3> <dl> <dt><code>-i</code></dt> <dd>��ġ�� �����Ѵ�. ���� ����������ü�� ������ <var>modules</var> ���丮�� ��ġ�Ѵ�.</dd> <dt><code>-a</code></dt> <dd>����ġ <code>httpd.conf</code> ������Ͽ� ������ <code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code> ��� �߰��ϰų� �̹� �ִٸ� Ȱ��ȭ�Ͽ� ��� ����ϵ��� �����.</dd> <dt><code>-A</code></dt> <dd><code>-a</code>�� �������, <code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code> ���þ� �տ� �칰����(<code>#</code>)�� ��δ�. <em>��</em>, ���� ����������� ���߿� ����� �� �ֵ��� ��� �غ��Ѵ�.</dd> <dt><code>-e</code></dt> <dd>���� �����Ѵ�. <code>-a</code> Ȥ�� <code>-A</code> �ɼǰ� ���� ����� �� �����, <code>-i</code> ��ɰ� ������� ��� ��ġ����ʰ� ����ġ <code>httpd.conf</code> ������ϸ� ���Ѵ�.</dd> </dl> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="examples" id="examples">����</a></h2> <p>����ġ������ ���� Ȯ���ϴ� <code>mod_foo.c</code>��� ����ġ ���� �ִٰ� �������. ��� ��� ��ɾ ����Ͽ� C �ҽ��� ����ġ ������ �о��� ������ü�� ������Ѵ�:</p> <div class="example"><p><code> $ apxs -c mod_foo.c<br /> /path/to/libtool --mode=compile gcc ... -c mod_foo.c<br /> /path/to/libtool --mode=link gcc ... -o mod_foo.la mod_foo.slo<br /> $ _ </code></p></div> <p>���� �� ������ü�� �о��̴� <code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code> ���þ ����ġ ������ �߰��Ѵ�. <code>apxs</code>�� �ڵ����� ������ü�� "modules" ���丮�� ��ġ�ϰ� <code>httpd.conf</code> ���� �˸°� �����Ͽ� ����� �۾��� ��ģ��. ��� ���� �����Ѵ�:</p> <div class="example"><p><code> $ apxs -i -a mod_foo.la<br /> /path/to/instdso.sh mod_foo.la /path/to/apache/modules<br /> /path/to/libtool --mode=install cp mod_foo.la /path/to/apache/modules ... chmod 755 /path/to/apache/modules/mod_foo.so<br /> [/path/to/apache/conf/httpd.conf���� `foo' ��� Ȱ��ȭ�Ѵ�]<br /> $ _ </code></p></div> <p>���� ����� ���� ���</p> <div class="example"><p><code> LoadModule foo_module modules/mod_foo.so </code></p></div> <p>������Ͽ� ���ٸ� �߰��Ѵ�. �� ������ �⺻������ ������ �ʴ´ٸ� <code>-A</code> �ɼ�� ����Ѵ�. <em>��</em></p> <div class="example"><p><code> $ apxs -i -A mod_foo.c </code></p></div> <p>apxs�� ���� ����Ϸ��� ����� ���� ����ġ ��� �ߺ��� Makefile�� ���� �� �ִ�:</p> <div class="example"><p><code> $ apxs -g -n foo<br /> Creating [DIR] foo<br /> Creating [FILE] foo/Makefile<br /> Creating [FILE] foo/modules.mk<br /> Creating [FILE] foo/mod_foo.c<br /> Creating [FILE] foo/.deps<br /> $ _ </code></p></div> <p>���� �ٷ� �ߺ� ��� ������ü�� ������Ͽ� ����ġ ������ �е����Ѵ�:</p> <div class="example"><p><code> $ cd foo<br /> $ make all reload<br /> apxs -c mod_foo.c<br /> /path/to/libtool --mode=compile gcc ... -c mod_foo.c<br /> /path/to/libtool --mode=link gcc ... -o mod_foo.la mod_foo.slo<br /> apxs -i -a -n "foo" mod_foo.la<br /> /path/to/instdso.sh mod_foo.la /path/to/apache/modules<br /> /path/to/libtool --mode=install cp mod_foo.la /path/to/apache/modules ... chmod 755 /path/to/apache/modules/mod_foo.so<br /> [/path/to/apache/conf/httpd.conf���� `foo' ��� Ȱ��ȭ�Ѵ�]<br /> apachectl restart<br /> /path/to/apache/sbin/apachectl restart: httpd not running, trying to start<br /> [Tue Mar 31 11:27:55 1998] [debug] mod_so.c(303): loaded module foo_module<br /> /path/to/apache/sbin/apachectl restart: httpd started<br /> $ _ </code></p></div> </div></div> <div class="bottomlang"> <p><span>������ ���: </span><a href="../en/programs/apxs.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../fr/programs/apxs.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | <a href="../ko/programs/apxs.html" title="Korean"> ko </a> | <a href="../tr/programs/apxs.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> </div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Libera.chat, or sent to our <a href="https://httpd.apache.org/lists.html">mailing lists</a>.</div> <script type="text/javascript"><!--//--><![CDATA[//><!-- var comments_shortname = 'httpd'; var comments_identifier = 'http://httpd.apache.org/docs/2.4/programs/apxs.html'; (function(w, d) { if (w.location.hostname.toLowerCase() == "httpd.apache.org") { d.write('<div id="comments_thread"><\/div>'); var s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); } else { d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); } })(window, document); //--><!]]></script></div><div id="footer"> <p class="apache">Copyright 2023 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="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">���</a> | <a href="../sitemap.html">���Ʈ��</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- if (typeof(prettyPrint) !== 'undefined') { prettyPrint(); } //--><!]]></script> </body></html>