summaryrefslogtreecommitdiffstats
path: root/docs/manual/programs/apxs.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 06:33:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 06:33:50 +0000
commitfe39ffb8b90ae4e002ed73fe98617cd590abb467 (patch)
treeb80e5956907d8aeaaffe4e4f0c068c0e6157ce8b /docs/manual/programs/apxs.html
parentInitial commit. (diff)
downloadapache2-fe39ffb8b90ae4e002ed73fe98617cd590abb467.tar.xz
apache2-fe39ffb8b90ae4e002ed73fe98617cd590abb467.zip
Adding upstream version 2.4.56.upstream/2.4.56
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--docs/manual/programs/apxs.html17
-rw-r--r--docs/manual/programs/apxs.html.en364
-rw-r--r--docs/manual/programs/apxs.html.fr.utf8395
-rw-r--r--docs/manual/programs/apxs.html.ko.euc-kr354
-rw-r--r--docs/manual/programs/apxs.html.tr.utf8388
5 files changed, 1518 insertions, 0 deletions
diff --git a/docs/manual/programs/apxs.html b/docs/manual/programs/apxs.html
new file mode 100644
index 0000000..ae93741
--- /dev/null
+++ b/docs/manual/programs/apxs.html
@@ -0,0 +1,17 @@
+# GENERATED FROM XML -- DO NOT EDIT
+
+URI: apxs.html.en
+Content-Language: en
+Content-type: text/html; charset=UTF-8
+
+URI: apxs.html.fr.utf8
+Content-Language: fr
+Content-type: text/html; charset=UTF-8
+
+URI: apxs.html.ko.euc-kr
+Content-Language: ko
+Content-type: text/html; charset=EUC-KR
+
+URI: apxs.html.tr.utf8
+Content-Language: tr
+Content-type: text/html; charset=UTF-8
diff --git a/docs/manual/programs/apxs.html.en b/docs/manual/programs/apxs.html.en
new file mode 100644
index 0000000..40556b7
--- /dev/null
+++ b/docs/manual/programs/apxs.html.en
@@ -0,0 +1,364 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!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="en" xml:lang="en"><head>
+<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
+<!--
+ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+ This file is generated from xml source: DO NOT EDIT
+ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+ -->
+<title>apxs - APache eXtenSion tool - 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/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</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="&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.4</a> &gt; <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>apxs - APache eXtenSion tool</h1>
+<div class="toplang">
+<p><span>Available Languages: </span><a href="../en/programs/apxs.html" title="English">&nbsp;en&nbsp;</a> |
+<a href="../fr/programs/apxs.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
+<a href="../ko/programs/apxs.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
+<a href="../tr/programs/apxs.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
+</div>
+
+ <p><code>apxs</code> is a tool for building and installing extension
+ modules for the Apache HyperText Transfer Protocol (HTTP) server. This is
+ achieved by building a dynamic shared object (DSO) from one or more source
+ or object <var>files</var> which then can be loaded into the Apache server
+ under runtime via the <code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code>
+ directive from <code class="module"><a href="../mod/mod_so.html">mod_so</a></code>.</p>
+
+ <p>So to use this extension mechanism your platform has to support the DSO
+ feature and your Apache <code class="program"><a href="../programs/httpd.html">httpd</a></code> binary has to be built with the
+ <code class="module"><a href="../mod/mod_so.html">mod_so</a></code> module. The <code>apxs</code> tool automatically
+ complains if this is not the case. You can check this yourself by manually
+ running the command</p>
+
+ <div class="example"><p><code>
+ $ httpd -l
+ </code></p></div>
+
+ <p>The module <code class="module"><a href="../mod/mod_so.html">mod_so</a></code> should be part of the displayed list.
+ If these requirements are fulfilled you can easily extend your Apache
+ server's functionality by installing your own modules with the DSO mechanism
+ by the help of this <code>apxs</code> tool:</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>The arguments <var>files</var> can be any C source file (.c), a object
+ file (.o) or even a library archive (.a). The <code>apxs</code> tool
+ automatically recognizes these extensions and automatically used the C
+ source files for compilation while just using the object and archive files
+ for the linking phase. But when using such pre-compiled objects make sure
+ they are compiled for position independent code (PIC) to be able to use them
+ for a dynamically loaded shared object. For instance with GCC you always
+ just have to use <code>-fpic</code>. For other C compilers consult its
+ manual page or at watch for the flags <code>apxs</code> uses to compile the
+ object files.</p>
+
+ <p>For more details about DSO support in Apache read the documentation of
+ <code class="module"><a href="../mod/mod_so.html">mod_so</a></code> or perhaps even read the
+ <code>src/modules/standard/mod_so.c</code> source file.</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">Synopsis</a></li>
+<li><img alt="" src="../images/down.gif" /> <a href="#options">Options</a></li>
+<li><img alt="" src="../images/down.gif" /> <a href="#examples">Examples</a></li>
+</ul><h3>See also</h3><ul class="seealso"><li><code class="program"><a href="../programs/apachectl.html">apachectl</a></code></li><li><code class="program"><a href="../programs/httpd.html">httpd</a></code></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">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>v</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">Options</a></h2>
+ <h3><a name="options.common" id="options.common">Common Options</a></h3>
+ <dl>
+ <dt><code>-n <var>modname</var></code></dt>
+ <dd>This explicitly sets the module name for the <code>-i</code> (install)
+ and <code>-g</code> (template generation) option. Use this to explicitly
+ specify the module name. For option <code>-g</code> this is required, for
+ option <code>-i</code> the <code>apxs</code> tool tries to determine the
+ name from the source or (as a fallback) at least by guessing it from the
+ filename.</dd>
+ </dl>
+
+
+ <h3><a name="options.query" id="options.query">Query Options</a></h3>
+ <dl>
+ <dt><code>-q</code></dt>
+ <dd>Performs a query for variables and environment settings used to
+ build <code>httpd</code>. When invoked without <var>query</var> parameters,
+ it prints all known variables and their values. The optional <code>-v</code>
+ parameter formats the list output.
+
+ <p>Use this to manually determine settings used to build the
+ <code>httpd</code> that will load your module. For instance use</p>
+ <div class="example"><p><code>
+ INC=-I`apxs -q INCLUDEDIR`
+ </code></p></div>
+
+ <p>inside your own Makefiles if you need manual access to Apache's C
+ header files.</p></dd>
+ </dl>
+
+
+ <h3><a name="options.conf" id="options.conf">Configuration Options</a></h3>
+ <dl>
+ <dt><code>-S <var>name</var>=<var>value</var></code></dt>
+ <dd>This option changes the apxs settings described above.</dd>
+ </dl>
+
+
+ <h3><a name="options.template" id="options.template">Template Generation Options</a></h3>
+ <dl>
+ <dt><code>-g</code></dt>
+ <dd>This generates a subdirectory <var>name</var> (see option
+ <code>-n</code>) and there two files: A sample module source file named
+ <code>mod_<var>name</var>.c</code> which can be used as a template for
+ creating your own modules or as a quick start for playing with the
+ apxs mechanism. And a corresponding <code>Makefile</code> for even easier
+ build and installing of this module.</dd>
+ </dl>
+
+
+ <h3><a name="options.dso" id="options.dso">DSO Compilation Options</a></h3>
+ <dl>
+ <dt><code>-c</code></dt>
+ <dd>This indicates the compilation operation. It first compiles the C
+ source files (.c) of <var>files</var> into corresponding object files (.o)
+ and then builds a dynamically shared object in <var>dsofile</var> by
+ linking these object files plus the remaining object files (.o and .a) of
+ <var>files</var>. If no <code>-o</code> option is specified the output
+ file is guessed from the first filename in <var>files</var> and thus
+ usually defaults to <code>mod_<var>name</var>.so</code>.</dd>
+
+ <dt><code>-o <var>dsofile</var></code></dt>
+ <dd>Explicitly specifies the filename of the created dynamically shared
+ object. If not specified and the name cannot be guessed from the
+ <var>files</var> list, the fallback name <code>mod_unknown.so</code> is
+ used.</dd>
+
+ <dt><code>-D <var>name</var>=<var>value</var></code></dt>
+ <dd>This option is directly passed through to the compilation command(s).
+ Use this to add your own defines to the build process.</dd>
+
+ <dt><code>-I <var>incdir</var></code></dt>
+ <dd>This option is directly passed through to the compilation command(s).
+ Use this to add your own include directories to search to the build
+ process.</dd>
+
+ <dt><code>-L <var>libdir</var></code></dt>
+ <dd>This option is directly passed through to the linker command. Use this
+ to add your own library directories to search to the build process.</dd>
+
+ <dt><code>-l <var>libname</var></code></dt>
+ <dd>This option is directly passed through to the linker command. Use this
+ to add your own libraries to search to the build process.</dd>
+
+ <dt><code>-Wc,<var>compiler-flags</var></code></dt>
+ <dd>This option passes <var>compiler-flags</var> as additional flags to
+ the <code>libtool --mode=compile</code> command. Use this to add local
+ compiler-specific options.</dd>
+
+ <dt><code>-Wl,<var>linker-flags</var></code></dt>
+ <dd>This option passes <var>linker-flags</var> as additional
+ flags to the <code>libtool --mode=link</code> command. Use this
+ to add local linker-specific options.</dd>
+
+ <dt><code>-p</code></dt>
+ <dd>This option causes apxs to link against the apr/apr-util libraries.
+ This is useful when compiling helper programs that use the apr/apr-util
+ libraries.</dd>
+ </dl>
+
+
+ <h3><a name="options.dsoinstall" id="options.dsoinstall">DSO Installation and Configuration Options</a></h3>
+
+ <dl>
+ <dt><code>-i</code></dt>
+ <dd>This indicates the installation operation and installs one or more
+ dynamically shared objects into the server's <var>modules</var>
+ directory.</dd>
+
+ <dt><code>-a</code></dt>
+ <dd>This activates the module by automatically adding a corresponding
+ <code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code> line to Apache's
+ <code>httpd.conf</code> configuration file, or by enabling it if it
+ already exists.</dd>
+
+ <dt><code>-A</code></dt>
+ <dd>Same as option <code>-a</code> but the created <code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code> directive is prefixed with a hash
+ sign (<code>#</code>), <em>i.e.</em>, the module is just prepared for
+ later activation but initially disabled.</dd>
+
+ <dt><code>-e</code></dt>
+ <dd>This indicates the editing operation, which can be used with the
+ <code>-a</code> and <code>-A</code> options similarly to the
+ <code>-i</code> operation to edit Apache's <code>httpd.conf</code>
+ configuration file without attempting to install the module.</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">Examples</a></h2>
+ <p>Assume you have an Apache module named <code>mod_foo.c</code> available
+ which should extend Apache's server functionality. To accomplish this you
+ first have to compile the C source into a shared object suitable for loading
+ into the Apache server under runtime via the following command:</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>Then you have to update the Apache configuration by making sure a
+ <code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code> directive is present to
+ load this shared object. To simplify this step <code>apxs</code> provides
+ an automatic way to install the shared object in its "modules" directory
+ and updating the <code>httpd.conf</code> file accordingly. This can be
+ achieved by running:</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 />
+ [activating module `foo' in /path/to/apache/conf/httpd.conf]<br />
+ $ _
+ </code></p></div>
+
+ <p>This way a line named</p>
+
+ <div class="example"><p><code>
+ LoadModule foo_module modules/mod_foo.so
+ </code></p></div>
+
+ <p>is added to the configuration file if still not present. If you want to
+ have this disabled per default use the <code>-A</code> option,
+ <em>i.e.</em></p>
+
+ <div class="example"><p><code>
+ $ apxs -i -A mod_foo.c
+ </code></p></div>
+
+ <p>For a quick test of the apxs mechanism you can create a sample Apache
+ module template plus a corresponding Makefile via:</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>Then you can immediately compile this sample module into a shared object
+ and load it into the Apache server:</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 />
+ [activating module `foo' in /path/to/apache/conf/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>
+
+</div></div>
+<div class="bottomlang">
+<p><span>Available Languages: </span><a href="../en/programs/apxs.html" title="English">&nbsp;en&nbsp;</a> |
+<a href="../fr/programs/apxs.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
+<a href="../ko/programs/apxs.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
+<a href="../tr/programs/apxs.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</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&amp;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/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
+if (typeof(prettyPrint) !== 'undefined') {
+ prettyPrint();
+}
+//--><!]]></script>
+</body></html> \ No newline at end of file
diff --git a/docs/manual/programs/apxs.html.fr.utf8 b/docs/manual/programs/apxs.html.fr.utf8
new file mode 100644
index 0000000..fafaed0
--- /dev/null
+++ b/docs/manual/programs/apxs.html.fr.utf8
@@ -0,0 +1,395 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!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="fr" xml:lang="fr"><head>
+<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
+<!--
+ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+ This file is generated from xml source: DO NOT EDIT
+ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+ -->
+<title>apxs - Utilitaire pour les extensions d'Apache - Serveur HTTP Apache 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/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossaire</a> | <a href="../sitemap.html">Plan du site</a></p>
+<p class="apache">Serveur HTTP Apache Version 2.4</p>
+<img alt="" src="../images/feather.png" /></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/">Serveur HTTP</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.4</a> &gt; <a href="./">Programmes</a></div><div id="page-content"><div id="preamble"><h1>apxs - Utilitaire pour les extensions d'Apache</h1>
+<div class="toplang">
+<p><span>Langues Disponibles: </span><a href="../en/programs/apxs.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
+<a href="../fr/programs/apxs.html" title="Français">&nbsp;fr&nbsp;</a> |
+<a href="../ko/programs/apxs.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
+<a href="../tr/programs/apxs.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
+</div>
+
+ <p><code>apxs</code> est un utilitaire permettant de compiler et
+ d'installer des modules en tant qu'extensions du serveur HTTP
+ Apache. A cet effet, un objet dynamique partagé (DSO) est compilé à
+ partir d'un ou plusieurs <var>fichiers</var> sources ou objets et
+ peut être chargé pendant l'exécution du serveur Apache via la
+ directive <code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code> du
+ module <code class="module"><a href="../mod/mod_so.html">mod_so</a></code>.</p>
+
+ <p>Pour pouvoir utiliser ce mécanisme d'extensions, votre
+ plate-forme doit supporter la fonctionnalité DSO, et votre binaire
+ <code class="program"><a href="../programs/httpd.html">httpd</a></code> Apache doit être compilé avec le module
+ <code class="module"><a href="../mod/mod_so.html">mod_so</a></code>. Si ce n'est pas le cas, l'utilitaire
+ <code>apxs</code> vous le signalera. Vous pouvez aussi vérifier
+ vous-même ces prérequis en exécutant manuellement la commande :</p>
+
+ <div class="example"><p><code>
+ $ httpd -l
+ </code></p></div>
+
+ <p>Le module <code class="module"><a href="../mod/mod_so.html">mod_so</a></code> doit faire partie de la liste
+ des modules affichée. Si ces prérequis sont présents, vous pouvez
+ facilement étendre les fonctionnalités de votre serveur Apache en
+ installant vos propres modules à l'aide de l'utilitaire
+ <code>apxs</code>, via le mécanisme DSO :</p>
+
+ <div class="example"><p><code>
+ $ apxs -i -a -c mod_foo.c<br />
+ gcc -fpic -DSHARED_MODULE -I/chemin/vers/apache/include -c mod_foo.c<br />
+ ld -Bshareable -o mod_foo.so mod_foo.o<br />
+ cp mod_foo.so /chemin/vers/apache/modules/mod_foo.so<br />
+ chmod 755 /chemin/vers/apache/modules/mod_foo.so<br />
+ [activation du module `foo' dans /chemin/vers/apache/etc/httpd.conf]<br />
+ $ apachectl restart<br />
+ /chemin/vers/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 />
+ /chemin/vers/apache/sbin/apachectl restart: httpd started<br />
+ $ _
+ </code></p></div>
+
+ <p>Les arguments <var>fichiers</var> peuvent correspondre à un
+ fichier source C (.c), un fichier objet (.o) ou même une archive de
+ bibliothèques (.a). L'utilitaire <code>apxs</code> reconnaît
+ automatiquement ces extensions et utilise automatiquement les
+ fichiers source C pour la compilation, et les fichiers objets et
+ archives pour l'édition de liens. Cependant, si vous utilisez des
+ fichiers objets précompilés, assurez-vous que leur code soit
+ indépendant de la position (PIC), afin de pouvoir les utiliser avec
+ un objet partagé chargé dynamiquement. Avec GCC, par exemple, il
+ vous suffit de toujours utiliser l'option de compilation
+ <code>-fpic</code>. Pour les autres compilateurs C, consultez leur
+ page de manuel, ou vérifiez les drapeaux qu'<code>apxs</code>
+ utilise pour compiler les fichiers objets.</p>
+
+ <p>Pour plus de détails à propos du support DSO dans Apache, lire la
+ documentation du module <code class="module"><a href="../mod/mod_so.html">mod_so</a></code>, ou même, consultez
+ le fichier source <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">Syntaxe</a></li>
+<li><img alt="" src="../images/down.gif" /> <a href="#options">Options</a></li>
+<li><img alt="" src="../images/down.gif" /> <a href="#examples">Exemples</a></li>
+</ul><h3>Voir aussi</h3><ul class="seealso"><li><code class="program"><a href="../programs/apachectl.html">apachectl</a></code></li><li><code class="program"><a href="../programs/httpd.html">httpd</a></code></li><li><a href="#comments_section">Commentaires</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">Syntaxe</a></h2>
+ <p><code><strong>apxs</strong> -<strong>g</strong>
+ [ -<strong>S</strong> <var>nom</var>=<var>valeur</var> ]
+ -<strong>n</strong> <var>nom-module</var></code></p>
+
+ <p><code><strong>apxs</strong> -<strong>q</strong>
+ [ -<strong>v</strong> ]
+ [ -<strong>S</strong> <var>nom</var>=<var>valeur</var> ]
+ <var>requête</var> ...</code></p>
+
+ <p><code><strong>apxs</strong> -<strong>c</strong>
+ [ -<strong>S</strong> <var>nom</var>=<var>valeur</var> ]
+ [ -<strong>o</strong> <var>fichier-dso</var> ]
+ [ -<strong>I</strong> <var>répertoire-inc</var> ]
+ [ -<strong>D</strong> <var>nom</var>=<var>valeur</var> ]
+ [ -<strong>L</strong> <var>répertoire-lib</var> ]
+ [ -<strong>l</strong> <var>nom-bibliothèque</var> ]
+ [ -<strong>Wc,</strong><var>options-compilation</var> ]
+ [ -<strong>Wl,</strong><var>options-edition-liens</var> ]
+ <var>fichiers</var> ...</code></p>
+
+ <p><code><strong>apxs</strong> -<strong>i</strong>
+ [ -<strong>S</strong> <var>nom</var>=<var>valeur</var> ]
+ [ -<strong>n</strong> <var>nom-module</var> ]
+ [ -<strong>a</strong> ]
+ [ -<strong>A</strong> ]
+ <var>fichier-dso</var> ...</code></p>
+
+ <p><code><strong>apxs</strong> -<strong>e</strong>
+ [ -<strong>S</strong> <var>nom</var>=<var>valeur</var> ]
+ [ -<strong>n</strong> <var>nom-module</var> ]
+ [ -<strong>a</strong> ]
+ [ -<strong>A</strong> ]
+ <var>fichier-dso</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">Options</a></h2>
+ <h3><a name="options.common" id="options.common">Options courantes</a></h3>
+ <dl>
+ <dt><code>-n <var>nom-module</var></code></dt>
+ <dd>Définit explicitement le nom du module pour les options
+ <code>-i</code> (install) et <code>-g</code> (génération de
+ modèles). Utilisez cette option pour spécifier de manière
+ explicite le nom du module. Pour l'option <code>-g</code>, cette
+ option est nécessaire ; pour l'option <code>-i</code>,
+ l'utilitaire <code>apxs</code> tente de déterminer le nom du
+ module à partir des sources, ou (à défaut) en le déduisant du nom
+ de fichier.</dd>
+ </dl>
+
+
+ <h3><a name="options.query" id="options.query">Options de requête</a></h3>
+ <dl>
+ <dt><code>-q</code></dt>
+ <dd>Effectue une requête à propos des variables et de
+ l'environnement utilisés pour compiler <code>httpd</code>.
+ Lorsqu'elle est invoquée sans paramètre <var>requête</var>, cette
+ option affiche toutes les variables connues, ainsi que leurs
+ valeurs. Le paramètre optionnel <code>-v</code> formate la liste
+ affichée.
+
+ <p>Utilisez cette option pour déterminer manuellement les options
+ utilisées pour compiler le binaire <code>httpd</code> qui chargera
+ votre module. Ajoutez par exemple</p>
+ <div class="example"><p><code>
+ INC=-I`apxs -q INCLUDEDIR`
+ </code></p></div>
+
+ <p>dans vos propres Makefiles si vous devez accéder manuellement
+ aux fichiers d'en-têtes C d'Apache.</p></dd>
+ </dl>
+
+
+ <h3><a name="options.conf" id="options.conf">Options de configuration</a></h3>
+ <dl>
+ <dt><code>-S <var>nom</var>=<var>valeur</var></code></dt>
+ <dd>Cette option permet de modifier la configuration d'apxs
+ décrite ci-dessus.</dd>
+ </dl>
+
+
+ <h3><a name="options.template" id="options.template">Option de génération des
+ modèles</a></h3>
+ <dl>
+ <dt><code>-g</code></dt>
+ <dd>Cette option permet de générer un sous-répertoire
+ <var>nom</var> (voir option <code>-n</code>) contenant deux
+ fichiers : le premier fichier est un exemple de fichier source de
+ module nommé <code>mod_<var>nom</var>.c</code> que l'on peut
+ utiliser comme modèle pour créer ses propres modules, ou comme
+ point de départ pour se familiariser avec le mécanisme apxs ; le
+ second fichier est le <code>Makefile</code> correspondant
+ facilitant la compilation et l'installation de ce module.</dd>
+ </dl>
+
+ <h3><a name="options.dso" id="options.dso">Options de compilation DSO</a></h3>
+ <dl>
+ <dt><code>-c</code></dt>
+ <dd>Cette option indique une opération de compilation. Tout
+ d'abord, les fichiers sources (.c) spécifiés par
+ <var>fichiers</var> sont compilés en fichiers objets
+ correspondants (.o), puis un objet dynamiquement partagé
+ <var>fichier-dso</var> est compilé via une édition de liens de ces
+ fichiers objets avec les autres fichiers objets (.o and .a)
+ spécifiés par <var>fichiers</var>. Si l'option <code>-o</code>
+ n'est pas spécifiée, le nom du fichier résultant est déduit du
+ premier nom de fichier spécifié par <var>fichiers</var>, et ainsi
+ prend en général pour valeur par défaut
+ <code>mod_<var>nom</var>.so</code>.</dd>
+
+ <dt><code>-o <var>fichier-dso</var></code></dt>
+ <dd>Spécifie de manière explicite le nom de fichier de l'objet
+ partagé dynamiquement créé. Sans cette option, et si le nom ne
+ peut pas être déduit de la liste <var>fichiers</var>, c'est le nom
+ par défaut <code>mod_unknown.so</code> qui sera utilisé.</dd>
+
+ <dt><code>-D <var>nom</var>=<var>valeur</var></code></dt>
+ <dd>Cette option est transmise directement à la commande de
+ compilation. Vous pouvez l'utiliser pour ajouter vos propres
+ définitions au processus de compilation. </dd>
+
+ <dt><code>-I <var>répertoire-inc</var></code></dt>
+ <dd>Cette option est transmise directement à la commande de
+ compilation. Vous pouvez l'utiliser pour ajouter vos propres
+ chemins de recherche des répertoires <code>include</code> au processus de
+ compilation.</dd>
+
+ <dt><code>-L <var>répertoire-lib</var></code></dt>
+ <dd>Cette option est transmise directement à la commande d'édition
+ de liens. Vous pouvez l'utiliser pour ajouter vos propres
+ chemins de recherche des répertoires de bibliothèques au processus
+ de compilation.</dd>
+
+ <dt><code>-l <var>nom-bibliothèque</var></code></dt>
+ <dd>Cette option est transmise directement à la commande d'édition
+ de liens. Vous pouvez l'utiliser pour ajouter vos propres
+ bibliothèques à rechercher au processus de compilation.</dd>
+
+ <dt><code>-Wc,<var>options-compilation</var></code></dt>
+ <dd>Cette option transmet les <var>options-compilation</var> en
+ tant qu'options supplémentaires à la commande <code>libtool
+ --mode=compile</code>. Vous pouvez l'utiliser pour ajouter des
+ options locales spécifiques au compilateur.</dd>
+
+ <dt><code>-Wl,<var>options-edition-liens</var></code></dt>
+ <dd>Cette option transmet les <var>options-edition-liens</var> en
+ tant qu'options supplémentaires à la commande <code>libtool
+ --mode=link</code>. Vous pouvez l'utiliser pour ajouter des
+ options locales spécifiques à l'éditeur de liens.</dd>
+
+ <dt><code>-p</code></dt>
+ <dd>Avec cette option, apxs effectue l'édition de liens avec les
+ bibliothèques apr/apr-util. Elle permet de compiler les programmes
+ helper qui utilisent les bibliothèques apr/apr-util.</dd>
+ </dl>
+
+
+ <h3><a name="options.dsoinstall" id="options.dsoinstall">Options d'installation et de configuration DSO</a></h3>
+
+ <dl>
+ <dt><code>-i</code></dt>
+ <dd>Cette option indique une opération d'installation et installe
+ un ou plusieurs objets dynamiquement partagés dans le répertoire
+ <var>modules</var> du serveur.</dd>
+
+ <dt><code>-a</code></dt>
+ <dd>Cette option active le module en ajoutant automatiquement une
+ directive <code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code>
+ correspondante au fichier de configuration d'Apache
+ <code>httpd.conf</code>, ou en l'activant s'il existe déjà.</dd>
+
+ <dt><code>-A</code></dt>
+ <dd>Identique à l'option <code>-a</code>, à la différence que la
+ directive <code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code> créée
+ est préfixée par un caractère dièse (<code>#</code>) ; le module
+ est ainsi préparé pour une activation ultérieure, mais est
+ désactivé dans un premier temps.</dd>
+
+ <dt><code>-e</code></dt>
+ <dd>Cette option indique une opération d'édition de liens et peut
+ être utilisée avec les options <code>-a</code> et <code>-A</code>
+ de la même manière qu'au cours de l'opération d'installation pour
+ éditer le fichier de configuration d'Apache
+ <code>httpd.conf</code>, sans toutefois installer le module.</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">Exemples</a></h2>
+ <p>Supposons que vous disposiez d'un module Apache nommé
+ <code>mod_foo.c</code> et destiné à étendre les fonctionnalités du
+ serveur. Pour ce faire, vous devez tout d'abord compiler le fichier
+ source C en un objet partagé pouvant être chargé dans le serveur
+ Apache à l'exécution, via la commande suivante :</p>
+
+ <div class="example"><p><code>
+ $ apxs -c mod_foo.c<br />
+ /chemin/vers/libtool --mode=compile gcc ... -c mod_foo.c<br />
+ /chemin/vers/libtool --mode=link gcc ... -o mod_foo.la mod_foo.slo<br />
+ $ _
+ </code></p></div>
+
+ <p>Vous devez ensuite vérifier la configuration d'Apache en vous
+ assurant qu'une directive <code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code> est bien présente pour
+ charger cet objet partagé. Pour simplifier cette étape,
+ <code>apxs</code> propose une méthode automatique d'installation de
+ l'objet partagé dans son répertoire "modules", et de mise à jour du
+ fichier <code>httpd.conf</code> en conséquence. Pour bénéficier de
+ cette automatisation, utilisez la commande suivante :</p>
+
+ <div class="example"><p><code>
+ $ apxs -i -a mod_foo.la<br />
+ /chemin/vers/instdso.sh mod_foo.la /chemin/vers/apache/modules<br />
+ /chemin/vers/libtool --mode=install cp mod_foo.la /chemin/vers/apache/modules
+ ...
+ chmod 755 /chemin/vers/apache/modules/mod_foo.so<br />
+ [activation du module `foo' dans /chemin/vers/apache/conf/httpd.conf]<br />
+ $ _
+ </code></p></div>
+
+ <p>Une ligne contenant</p>
+
+ <div class="example"><p><code>
+ LoadModule foo_module modules/mod_foo.so
+ </code></p></div>
+
+ <p>est alors ajoutée au fichier de configuration si ce n'est pas
+ déjà fait. Si vous voulez que le module soit désactivé par défaut,
+ utilisez l'option <code>-A</code> comme suit :</p>
+
+ <div class="example"><p><code>
+ $ apxs -i -A mod_foo.c
+ </code></p></div>
+
+ <p>Pour un test rapide du mécanisme apxs, vous pouvez créer un
+ exemple de modèle de module Apache, ainsi que le Makefile
+ correspondant via :</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>Vous pouvez ensuite compiler immédiatement ce module exemple en
+ objet partagé et le charger dans le serveur Apache :</p>
+
+ <div class="example"><p><code>
+ $ cd foo<br />
+ $ make all reload<br />
+ apxs -c mod_foo.c<br />
+ /chemin/vers/libtool --mode=compile gcc ... -c mod_foo.c<br />
+ /chemin/vers/libtool --mode=link gcc ... -o mod_foo.la mod_foo.slo<br />
+ apxs -i -a -n "foo" mod_foo.la<br />
+ /chemin/vers/instdso.sh mod_foo.la /chemin/vers/apache/modules<br />
+ /chemin/vers/libtool --mode=install cp mod_foo.la /chemin/vers/apache/modules
+ ...
+ chmod 755 /chemin/vers/apache/modules/mod_foo.so<br />
+ [activation du module `foo' dans /chemin/vers/apache/conf/httpd.conf]<br />
+ apachectl restart<br />
+ /chemin/vers/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 />
+ /chemin/vers/apache/sbin/apachectl restart: httpd started<br />
+ $ _
+ </code></p></div>
+
+</div></div>
+<div class="bottomlang">
+<p><span>Langues Disponibles: </span><a href="../en/programs/apxs.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
+<a href="../fr/programs/apxs.html" title="Français">&nbsp;fr&nbsp;</a> |
+<a href="../ko/programs/apxs.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
+<a href="../tr/programs/apxs.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</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">Commentaires</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&amp;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 />Autorisé sous <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
+<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossaire</a> | <a href="../sitemap.html">Plan du site</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
+if (typeof(prettyPrint) !== 'undefined') {
+ prettyPrint();
+}
+//--><!]]></script>
+</body></html> \ No newline at end of file
diff --git a/docs/manual/programs/apxs.html.ko.euc-kr b/docs/manual/programs/apxs.html.ko.euc-kr
new file mode 100644
index 0000000..e056e68
--- /dev/null
+++ b/docs/manual/programs/apxs.html.ko.euc-kr
@@ -0,0 +1,354 @@
+<?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="&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.4</a> &gt; <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">&nbsp;en&nbsp;</a> |
+<a href="../fr/programs/apxs.html" hreflang="fr" rel="alternate" title="Fran&#231;ais">&nbsp;fr&nbsp;</a> |
+<a href="../ko/programs/apxs.html" title="Korean">&nbsp;ko&nbsp;</a> |
+<a href="../tr/programs/apxs.html" hreflang="tr" rel="alternate" title="T&#252;rk&#231;e">&nbsp;tr&nbsp;</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">&nbsp;en&nbsp;</a> |
+<a href="../fr/programs/apxs.html" hreflang="fr" rel="alternate" title="Fran&#231;ais">&nbsp;fr&nbsp;</a> |
+<a href="../ko/programs/apxs.html" title="Korean">&nbsp;ko&nbsp;</a> |
+<a href="../tr/programs/apxs.html" hreflang="tr" rel="alternate" title="T&#252;rk&#231;e">&nbsp;tr&nbsp;</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&amp;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> \ No newline at end of file
diff --git a/docs/manual/programs/apxs.html.tr.utf8 b/docs/manual/programs/apxs.html.tr.utf8
new file mode 100644
index 0000000..3b05d28
--- /dev/null
+++ b/docs/manual/programs/apxs.html.tr.utf8
@@ -0,0 +1,388 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!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="tr" xml:lang="tr"><head>
+<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
+<!--
+ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+ This file is generated from xml source: DO NOT EDIT
+ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+ -->
+<title>apxs - Apache Eklenti Aracı - Apache HTTP Sunucusu Sürüm 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/">Modüller</a> | <a href="../mod/directives.html">Yönergeler</a> | <a href="http://wiki.apache.org/httpd/FAQ">SSS</a> | <a href="../glossary.html">Terimler</a> | <a href="../sitemap.html">Site Haritası</a></p>
+<p class="apache">Apache HTTP Sunucusu Sürüm 2.4</p>
+<img alt="" src="../images/feather.png" /></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 Sunucusu</a> &gt; <a href="http://httpd.apache.org/docs/">Belgeleme</a> &gt; <a href="../">Sürüm 2.4</a> &gt; <a href="./">Programlar</a></div><div id="page-content"><div id="preamble"><h1>apxs - Apache Eklenti Aracı</h1>
+<div class="toplang">
+<p><span>Mevcut Diller: </span><a href="../en/programs/apxs.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
+<a href="../fr/programs/apxs.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
+<a href="../ko/programs/apxs.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
+<a href="../tr/programs/apxs.html" title="Türkçe">&nbsp;tr&nbsp;</a></p>
+</div>
+
+ <p><code><strong>apxs</strong></code>, Apache Hiper Metin Aktarım
+ Protokolü (HTTP) sunucusu için ek modül derleme ve kurulum aracıdır. Bu
+ araç sayesinde, bir veya daha fazla kaynak veya nesne
+ <var>dosya</var>sından bir devingen paylaşımlı nesne (DSO - "Dynamic
+ Shared Object" kısaltması) derlemek ve bu nesneyi (modülü) Apache
+ sunucusuna çalışma anında <strong><code class="module"><a href="../mod/mod_so.html">mod_so</a></code></strong>
+ modülünün <strong><code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code></strong> yönergesi üzerinden yüklemek mümkün
+ olmaktadır.</p>
+
+ <p>Bu eklenti mekanizmasını platformunuzda kullanmak için DSO desteğinin
+ olması ve <strong><code class="program"><a href="../programs/httpd.html">httpd</a></code></strong> programının
+ <strong><code class="module"><a href="../mod/mod_so.html">mod_so</a></code></strong> modülünü içerecek şekilde
+ derlenmiş olması gerekir. Eğer bunlar mevcut değilse
+ <strong><code>apxs</code></strong> aracı durumu size bildirecektir. Bunu
+ aşağıdaki komutla kendiniz de sınayabilirsiniz:</p>
+
+ <div class="example"><p><code>
+ $ httpd -l
+ </code></p></div>
+
+ <p><strong><code class="module"><a href="../mod/mod_so.html">mod_so</a></code></strong> modülü gösterilen listede yer
+ almalıdır. Bu gereksinimler sağlandığı takdirde
+ <strong><code>apxs</code></strong> aracı sayesinde DSO mekanizması
+ üzerinden kendi modüllerinizi kurmak suretiyle Apache sunucunuzun
+ işlevselliğini kolayca arttırabilirsiniz. Örnek bir uygulama:</p>
+
+ <div class="example"><p><code>
+ $ apxs -i -a -c mod_foo.c<br />
+ gcc -fpic -DSHARED_MODULE -I/dosya/yolu/apache/include -c mod_foo.c<br />
+ ld -Bshareable -o mod_foo.so mod_foo.o<br />
+ cp mod_foo.so /dosya/yolu/apache/modules/mod_foo.so<br />
+ chmod 755 /dosya/yolu/apache/modules/mod_foo.so<br />
+ [`foo' modülü /dosya/yolu/apache/etc/httpd.conf'ta etkinleştiriliyor]<br />
+ $ apachectl restart<br />
+ /dosya/yolu/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 />
+ /dosya/yolu/apache/sbin/apachectl restart: httpd started<br />
+ $ _
+ </code></p></div>
+
+ <p><var>dosya</var> olarak bir C kaynak dosyası (.c), bir nesne dosyası
+ (.o) ve hatta bir kütüphane arşivi archive (.a) belirtebilirsiniz.
+ <strong><code>apxs</code></strong> aracı bu dosya uzantılarını
+ tanıdığından C dosyalarını derleme işleminden, arşiv ve nesne
+ dosyalarını ise doğrudan ilintileme işleminden geçirir. Fakat böyle
+ önceden derlenmiş nesne dosyalarını kullanırken, devingen paylaşımlı
+ nesne olarak kullanılmalarını sağlamak üzere konumdan bağımsız kod (PIC)
+ üretecek şekilde derlenmiş olduklarından emin olmalısınız. Örneğin
+ GCC'yi bunun için daima <strong><code>-fpic</code></strong> seçeneği ile
+ kullanmalısınız. Diğer C derleyiciler için,
+ <strong><code>apxs</code></strong>'in nesne dosyalarını derlerken
+ kullanacağı seçenekleri öğrenmek için o derleyicilerin kılavuz
+ sayfalarına bakınız.</p>
+
+ <p>Apache'deki DSO desteği ile ilgili daha ayrıntılı bilgi edinmek için
+ <strong><code class="module"><a href="../mod/mod_so.html">mod_so</a></code></strong> belgesini okumakla yetinmeyip
+ <code>src/modules/standard/mod_so.c</code> kaynak dosyasını da
+ okuyunuz.</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">Kullanım</a></li>
+<li><img alt="" src="../images/down.gif" /> <a href="#options">Seçenekler</a></li>
+<li><img alt="" src="../images/down.gif" /> <a href="#examples">Örnekler</a></li>
+</ul><h3>Ayrıca bakınız:</h3><ul class="seealso"><li><code class="program"><a href="../programs/apachectl.html">apachectl</a></code></li><li><code class="program"><a href="../programs/httpd.html">httpd</a></code></li><li><a href="#comments_section">Yorumlar</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">Kullanım</a></h2>
+ <p><code><strong>apxs</strong> -<strong>g</strong>
+ [ -<strong>S</strong> <var>isim=deÄŸer</var> ]
+ -<strong>n</strong> <var>modüladı</var></code></p>
+
+ <p><code><strong>apxs</strong> -<strong>q</strong>
+ [ -<strong>v</strong> ]
+ [ -<strong>S</strong> <var>isim=deÄŸer</var> ]
+ <var>sorgu</var> ...</code></p>
+
+ <p><code><strong>apxs</strong> -<strong>c</strong>
+ [ -<strong>S</strong> <var>isim=deÄŸer</var> ]
+ [ -<strong>o</strong> <var>dso-dosyası</var> ]
+ [ -<strong>I</strong> <var>include-dizini</var> ]
+ [ -<strong>D</strong> <var>isim=deÄŸer</var> ]
+ [ -<strong>L</strong> <var>lib-dizini</var> ]
+ [ -<strong>l</strong> <var>kütüphane-adı</var> ]
+ [ -<strong>Wc,</strong><var>derleyici-seçenekleri</var> ]
+ [ -<strong>Wl,</strong><var>ilintileyici-seçenekleri</var> ]
+ [ -<strong>p</strong> ]
+ <var>dosya</var> ...</code></p>
+
+ <p><code><strong>apxs</strong> -<strong>i</strong>
+ [ -<strong>S</strong> <var>isim=deÄŸer</var> ]
+ [ -<strong>n</strong> <var>modüladı</var> ]
+ [ -<strong>a</strong> ]
+ [ -<strong>A</strong> ]
+ <var>dso-dosyası</var> ...</code></p>
+
+ <p><code><strong>apxs</strong> -<strong>e</strong>
+ [ -<strong>S</strong> <var>isim=deÄŸer</var> ]
+ [ -<strong>n</strong> <var>modüladı</var> ]
+ [ -<strong>a</strong> ]
+ [ -<strong>A</strong> ]
+ <var>dso-dosyası</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">Seçenekler</a></h2>
+ <h3><a name="options.common" id="options.common">Ortak Seçenekler</a></h3>
+ <dl>
+ <dt><code><strong>-n</strong> <var>modüladı</var></code></dt>
+ <dd><code><strong>-i</strong></code> (kurulum) ve
+ <code><strong>-g</strong></code> (şablon üretimi)
+ seçenekleri için modül ismi belirtmek amacıyla kullanılır. Bir modül
+ ismi belirtmek için bu seçeneği kullanın.
+ <code><strong>-g</strong></code> seçeneği için bu gereklidir.
+ <code><strong>-i</strong></code> seçeneği için ise araç, modül
+ ismini kaynağın ismine bakarak veya (son çare olarak) dosya isminden
+ tahmin etmeye çalışarak saptamaya çalışır.</dd>
+ </dl>
+
+
+ <h3><a name="options.query" id="options.query">Sorgu Seçenekleri</a></h3>
+ <dl>
+ <dt><code><strong>-q</strong> <var>sorgu</var></code></dt>
+ <dd><code>httpd</code>'yi derlemekte kullanılacak değişkenler ve
+ ortam ayarları için bir sorgu gerçekleştirir. When invoked without
+ <code><var>sorgu</var></code> belirtilmeksizin çağrıldığında, bilinen
+ değişkenleri değerleriyle birlikte basar. İsteğe bağlı
+ <code><strong>-v</strong></code> seçeneği liste çıktısını biçemler.
+
+ <p>Modülünüzü yükleyecek <code><strong>httpd</strong></code>'yi
+ derlemek için kullanılacak ayarları elle belirtmek için kullanılır.
+ Örneğin, Apache'nin C başlık dosyalarının yerini kendi Makefile
+ dosyalarınızın içinde şöyle belirtebilirsiniz:</p>
+ <div class="example"><p><code>
+ INC=-I`apxs -q INCLUDEDIR`
+ </code></p></div></dd>
+ </dl>
+
+
+ <h3><a name="options.conf" id="options.conf">Yapılandırma Seçenekleri</a></h3>
+ <dl>
+ <dt><code><strong>-S</strong> <var>isim=deÄŸer</var></code></dt>
+ <dd>Bu seçenek yukarıda açıklanan <code><strong>apxs</strong></code>
+ ayarlarını değiştirir.</dd>
+ </dl>
+
+
+ <h3><a name="options.template" id="options.template">Şablon Üretme Seçenekleri</a></h3>
+ <dl>
+ <dt><code><strong>-g</strong></code></dt>
+ <dd><code><var>modüladı</var></code> (<strong><code>-n</code></strong>
+ seçeneğine bakınız) adında bir alt dizin oluşturur ve içine iki dosya
+ yerleştirir: Kendi modülünüzü oluşturabilmeniz için veya
+ <code><strong>apxs</strong></code> mekanizmaları ile hemen oynamaya
+ başlayabilmeniz için <code>mod_<var>modüladı</var>.c</code> adında bir
+ modül kaynak dosyası örneği ve bu modülü derleyip kurmayı
+ kolaylaştırmak için bir <code>Makefile</code> dosyası.</dd>
+ </dl>
+
+
+ <h3><a name="options.dso" id="options.dso">DSO Derleme Seçenekleri</a></h3>
+ <dl>
+ <dt><code><strong>-c</strong></code></dt>
+ <dd>Bu seçenek derleme yapılacağını belirtir. Önce belirtilen C kaynak
+ <var>dosyalar</var>ını (.c), nesne dosyalarını (.o) elde etmek için
+ derler. Sonra bunları kalan nesne dosyaları (.o ve .a) ile
+ ilintileyerek <var>dso-dosyası</var> adında bir devingen paylaşımlı
+ nesne oluşturur. Eğer <strong><code>-o</code></strong> seçeneği ile
+ modül ismi belirtilmemişse <var>dosyalar</var> arasındaki ilk dosyanın
+ ismine bakarak dosya ismi tahmin edilmeye çalışılır ve
+ <code>mod_<var>isim</var>.so</code> dosya adı bu isimden elde
+ edilir.</dd>
+
+ <dt><code><strong>-o</strong> <var>dso-dosyası</var></code></dt>
+ <dd>Oluşturulacak devingen paylaşımlı nesnenin ismini belirtmek için
+ kullanılır. Modül ismi bu seçenekle belirtilmez ve <var>dosya</var>
+ listesinden bir isim tahmini de yapılamazsa son çare olarak
+ <code>mod_unknown.so</code> ismi kullanılır.</dd>
+
+ <dt><code><strong>-D</strong> <var>isim=deÄŸer</var></code></dt>
+ <dd>Bu seçenek doğrudan derleme komutlarına aktarılır. Bu seçeneği
+ derleme işlemine kendi tanımlarınızı belirtmek için kullanın.</dd>
+
+ <dt><code><strong>-I</strong> <var>include-dizini</var></code></dt>
+ <dd>Bu seçenek doğrudan derleme komutlarına aktarılır. Bu seçeneği
+ derleme işleminde kullanılmak üzere kendi başlık dosyalarınızı içeren
+ dizinleri arama yollarına eklemek için kullanın.</dd>
+
+ <dt><code><strong>-L</strong> <var>lib-dizini</var></code></dt>
+ <dd>Bu seçenek doğrudan derleme komutlarına aktarılır. Bu seçeneği
+ derleme işleminde kullanılmak üzere kendi kütüphane dizinlerinizi
+ arama yollarına eklemek için kullanın.</dd>
+
+ <dt><code><strong>-l</strong> <var>kütüphane-adı</var></code></dt>
+ <dd>Bu seçenek doğrudan derleme komutlarına aktarılır. Bu seçeneği
+ derleme işleminde kullanılmak üzere kendi kütüphanelerinizi arama
+ yollarına eklemek için kullanın.</dd>
+
+ <dt><code><strong>-Wc</strong>,<var>derleyici-seçenekleri</var></code></dt>
+ <dd>Bu seçenek <code>libtool --mode=compile</code> komutuna doğrudan
+ seçenek aktarmak için kullanılır. Bu seçeneği yerel derleyiciniz için
+ gereken ek seçenekleri belirtmek için kullanın.</dd>
+
+ <dt><code><strong>-Wl</strong>,<var>ilintileyici-seçenekleri</var></code></dt>
+ <dd>Bu seçenek <code>libtool --mode=link</code> komutuna doğrudan
+ seçenek aktarmak için kullanılır. Bu seçeneği yerel ilintileyiciniz
+ için gereken ek seçenekleri belirtmek için kullanın.</dd>
+
+ <dt><code><strong>-p</strong></code></dt>
+ <dd>Bu seçenek apxs'in apr/apr-util kütüphaneleriyle ilintilenmesini
+ sağlar. apr/apr-util kütüphanelerini kullanan yardımcı uygulamaları
+ derlerken yararlıdır.</dd>
+ </dl>
+
+
+ <h3><a name="options.dsoinstall" id="options.dsoinstall">DSO Kurulum ve Yapılandırma Seçenekleri</a></h3>
+
+ <dl>
+ <dt><code><strong>-i</strong></code></dt>
+ <dd>Kurulum işlemini belirtir ve devingen olarak paylaşımlı nesneleri
+ sunucunun <var>modules</var> dizinine kurar.</dd>
+
+ <dt><code><strong>-a</strong></code></dt>
+ <dd>İlgili <code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code> satırını
+ Apache'nin <code>httpd.conf</code> yapılandırma dosyasına özdevinimli
+ olarak ekleyerek veya böyle bir satır varsa bunu etkin kılarak modülü
+ etkinleÅŸtirir.</dd>
+
+ <dt><code><strong>-A</strong></code></dt>
+ <dd><strong><code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code></strong>
+ yönergesini daha sonra etkinleştirmek üzere satırın başına bir diyez
+ imi (<code>#</code>) yerleştirmesi dışında
+ <strong><code>-a</code></strong> seçeneği ile aynıdır.</dd>
+
+ <dt><code><strong>-e</strong></code></dt>
+ <dd>Modülü kurmaya çalışmaksızın Apache'nin <code>httpd.conf</code>
+ yapılandırma dosyasını <strong><code>-i</code></strong> işlemine
+ benzer ÅŸekilde <strong><code>-a</code></strong> ve
+ <strong><code>-A</code></strong> seçenekleri ile düzenleme işlemini
+ belirtir.</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">Örnekler</a></h2>
+ <p>Apache'nin sunucu işlevselliğini genişletmek amacıyla kullanacağınız
+ <code>mod_foo.c</code> adında bir Apache modülünüz olduğunu varsayalım.
+ Öncelikle, C kaynak dosyasını, Apache sunucusuna çalışma anında
+ yüklenmeye uygun bir paylaşımlı nesne olarak derlemeniz gerekir. Bunu
+ sağlamak için şu komutları vermelisiniz:</p>
+
+ <div class="example"><p><code>
+ $ apxs -c mod_foo.c<br />
+ /dosya/yolu/libtool --mode=compile gcc ... -c mod_foo.c<br />
+ /dosya/yolu/libtool --mode=link gcc ... -o mod_foo.la mod_foo.slo<br />
+ $ _
+ </code></p></div>
+
+ <p>Bundan sonra, Apache yapılandırmanızın bu paylaşımlı nesneyi yüklemek
+ için bir <strong><code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code></strong> yönergesi içermesini
+ sağlamalısınız. <strong><code>apxs</code></strong> bu adımı
+ basitleştirmek amacıyla, paylaşımlı nesneyi sunucunun <var>modules</var>
+ dizinine özdevinimli olarak kurmak ve <code>httpd.conf</code> dosyasını
+ buna uygun olarak güncellemek için bir yol sağlar. Bu sonuç şöyle elde
+ edilebilir:</p>
+
+ <div class="example"><p><code>
+ $ apxs -i -a mod_foo.la<br />
+ /dosya/yolu/instdso.sh mod_foo.la /path/to/apache/modules<br />
+ /dosya/yolu/libtool --mode=install cp mod_foo.la /dosya/yolu/apache/modules
+ ...
+ chmod 755 /dosya/yolu/apache/modules/mod_foo.so<br />
+ [`foo' modülü /dosya/yolu/apache/conf/httpd.conf'da etkinleştiriliyor] <br />
+ $ _
+ </code></p></div>
+
+ <p>Yapılandıma dosyasına (eğer yoksa) şu satır eklenir:</p>
+
+ <div class="example"><p><code>
+ LoadModule foo_module modules/mod_foo.so
+ </code></p></div>
+
+ <p>Bunu öntanımlı olarak iptal etmek isterseniz
+ <strong><code>-A</code></strong> seçeneğini kullanmanız gerekir:</p>
+
+ <div class="example"><p><code>
+ $ apxs -i -A mod_foo.c
+ </code></p></div>
+
+ <p><strong><code>apxs</code></strong> mekanizmalarını hızlıca denemek
+ için örnek bir Apache modül şablonunu ve bir Makefile dosyasını şöyle
+ oluÅŸturabilirsiniz:</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>Ardından bu örnek modülü bir paylaşımlı nesne olarak derleyip Apache
+ sunucusuna yükleyebilirsiniz:</p>
+
+ <div class="example"><p><code>
+ $ cd foo<br />
+ $ make all reload<br />
+ apxs -c mod_foo.c<br />
+ /dosya/yolu/libtool --mode=compile gcc ... -c mod_foo.c<br />
+ /dosya/yolu/libtool --mode=link gcc ... -o mod_foo.la mod_foo.slo<br />
+ apxs -i -a -n "foo" mod_foo.la<br />
+ /dosya/yolu/instdso.sh mod_foo.la /dosya/yolu/apache/modules<br />
+ /dosya/yolu/libtool --mode=install cp mod_foo.la /dosya/yolu/apache/modules
+ ...
+ chmod 755 /dosya/yolu/apache/modules/mod_foo.so<br />
+ [`foo' modülü /dosya/yolu/apache/conf/httpd.conf'ta etkinleştiriliyor]<br />
+ apachectl restart<br />
+ /dosya/yolu/apache/sbin/apachectl restart: httpd not running, trying to start<br />
+ chmod 755 /dosya/yolu/apache/modules/mod_foo.so<br />
+ [`foo' modülü /dosya/yolu/apache/etc/httpd.conf'ta etkinleştiriliyor]<br />
+ apachectl restart<br />
+ /dosya/yolu/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 />
+ /dosya/yolu/apache/sbin/apachectl restart: httpd started<br />
+ $ _
+ </code></p></div>
+
+</div></div>
+<div class="bottomlang">
+<p><span>Mevcut Diller: </span><a href="../en/programs/apxs.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
+<a href="../fr/programs/apxs.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
+<a href="../ko/programs/apxs.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
+<a href="../tr/programs/apxs.html" title="Türkçe">&nbsp;tr&nbsp;</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">Yorumlar</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&amp;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 /><a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> altında lisanslıdır.</p>
+<p class="menu"><a href="../mod/">Modüller</a> | <a href="../mod/directives.html">Yönergeler</a> | <a href="http://wiki.apache.org/httpd/FAQ">SSS</a> | <a href="../glossary.html">Terimler</a> | <a href="../sitemap.html">Site Haritası</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
+if (typeof(prettyPrint) !== 'undefined') {
+ prettyPrint();
+}
+//--><!]]></script>
+</body></html> \ No newline at end of file