diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:01:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:01:30 +0000 |
commit | 6beeb1b708550be0d4a53b272283e17e5e35fe17 (patch) | |
tree | 1ce8673d4aaa948e5554000101f46536a1e4cc29 /docs/manual/bind.html | |
parent | Initial commit. (diff) | |
download | apache2-3d46059c28a1d66e6e1aeb209491f1324c913a25.tar.xz apache2-3d46059c28a1d66e6e1aeb209491f1324c913a25.zip |
Adding upstream version 2.4.57.upstream/2.4.57
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | docs/manual/bind.html | 25 | ||||
-rw-r--r-- | docs/manual/bind.html.de | 229 | ||||
-rw-r--r-- | docs/manual/bind.html.en | 246 | ||||
-rw-r--r-- | docs/manual/bind.html.fr.utf8 | 254 | ||||
-rw-r--r-- | docs/manual/bind.html.ja.utf8 | 209 | ||||
-rw-r--r-- | docs/manual/bind.html.ko.euc-kr | 179 | ||||
-rw-r--r-- | docs/manual/bind.html.tr.utf8 | 244 |
7 files changed, 1386 insertions, 0 deletions
diff --git a/docs/manual/bind.html b/docs/manual/bind.html new file mode 100644 index 0000000..150fa61 --- /dev/null +++ b/docs/manual/bind.html @@ -0,0 +1,25 @@ +# GENERATED FROM XML -- DO NOT EDIT + +URI: bind.html.de +Content-Language: de +Content-type: text/html; charset=ISO-8859-1 + +URI: bind.html.en +Content-Language: en +Content-type: text/html; charset=UTF-8 + +URI: bind.html.fr.utf8 +Content-Language: fr +Content-type: text/html; charset=UTF-8 + +URI: bind.html.ja.utf8 +Content-Language: ja +Content-type: text/html; charset=UTF-8 + +URI: bind.html.ko.euc-kr +Content-Language: ko +Content-type: text/html; charset=EUC-KR + +URI: bind.html.tr.utf8 +Content-Language: tr +Content-type: text/html; charset=UTF-8 diff --git a/docs/manual/bind.html.de b/docs/manual/bind.html.de new file mode 100644 index 0000000..fcad060 --- /dev/null +++ b/docs/manual/bind.html.de @@ -0,0 +1,229 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!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="de" xml:lang="de"><head> +<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type" /> +<!-- + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + This file is generated from xml source: DO NOT EDIT + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + --> +<title>An Adressen und Ports binden - 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/">Module</a> | <a href="./mod/directives.html">Direktiven</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html">Glossar</a> | <a href="./sitemap.html">Seitenindex</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/">Dokumentation</a> > <a href="./">Version 2.4</a></div><div id="page-content"><div id="preamble"><h1>An Adressen und Ports binden</h1> +<div class="toplang"> +<p><span>Verfügbare Sprachen: </span><a href="./de/bind.html" title="Deutsch"> de </a> | +<a href="./en/bind.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./fr/bind.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="./ja/bind.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/bind.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/bind.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div> +<div class="outofdate">Diese Übersetzung ist möglicherweise + nicht mehr aktuell. Bitte prüfen Sie die englische Version auf + die neuesten Änderungen.</div> + + <p>Konfiguration der vom Apache HTTP Server verwendeten Adressen und + Ports.</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="#overview">Überblick</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#ipv6">Betrachtung von IPv6-Besonderheiten</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#protocol">Angabe des Protokolls bei Listen</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#virtualhost">Das Zusammenspiel mit virtuellen Hosts</a></li> +</ul><h3>Siehe auch</h3><ul class="seealso"><li><a href="vhosts/">Virtuelle Hosts</a></li><li><a href="dns-caveats.html">Probleme bezüglich DNS und + Apache</a></li><li><a href="#comments_section">Kommentare</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="overview" id="overview">Überblick</a></h2> + + + <table class="related"><tr><th>Referenzierte Module</th><th>Referenzierte Direktiven</th></tr><tr><td><ul><li><code class="module"><a href="./mod/core.html">core</a></code></li><li><code class="module"><a href="./mod/mpm_common.html">mpm_common</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code></li><li><code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code></li></ul></td></tr></table> + + <p>Beim Start bindet sich der httpd an bestimmte Adressen und Ports + der lokalen Maschine und wartet auf eingehende Anfragen. + Standardmäßig lauscht er an allen Adressen des Systems. + Es kann jeodch notwendig sein, ihm mit zuteilen, nur an bestimmten + Ports zu lauschen oder nur an ausgewählten Adressen, bzw. einer + Kombination aus beidem. Dies wird oft mit der Funktionalität <a href="vhosts/">virtueller Hosts</a> kombiniert, die bestimmt, wie + der <code>httpd</code> auf verschiedene IP-Adressen, Hostnamen und + Ports reagiert.</p> + + <p>Die Direktive <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> + weist den Server an, eingehende Anfragen nur an bestimmten Port(s) + oder Adress/Port-Kombinationen zu akzeptieren. Wenn bei der + <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>-Direktive nur eine + Portnummer angegeben wird, dann lauscht der Server auf allen + Netzwerkinterfaces an dem angegebenen Port. Ist auch eine IP-Adresse + angegeben, dann lauscht der Server an der angegebenen Schnittstelle + auf dem angegebenen Port. Es können mehrere <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>-Anweisungen verwendet werden, + um eine Reihe von Adressen und Ports anzugeben, an denen gelauscht + werden soll. Der Server wird dann auf Anfragen an jeder der + abgehörten Adressen und Ports antworten.</p> + + <p>Um beispielsweise den Server zu veranlassen, auf allen + Netzwerkinterfaces sowohl an Port 80, als auch an Port 8000 + Verbindungen zu akzeptieren, geben Sie an:</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 80 +Listen 8000</pre> +</div> + + <p>Um den Server Verbindungen an Port 80 auf einem Netzwerkinterface + akzeptieren zu lassen und an Port 8080 auf einem anderen Interface, geben + Sie an:</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 192.0.2.1:80 +Listen 192.0.2.5:8000</pre> +</div> + + <p>IPv6-Adressen müssen wie im folgenden Beispiel in eckigen + Klammern angegeben werden:</p> + + <div class="example"><pre class="prettyprint lang-config">Listen [2001:db8::a00:20ff:fea7:ccea]:80</pre> +</div> + + <div class="warning"><p>Sich überlappende <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>-Direktiven generieren einen + fatalen Fehler, der verhindert, dass der Server hochfährt.</p> + + <div class="example"><p><code> + (48)Address already in use: make_sock: could not bind to address [::]:80 + </code></p></div> + + <p><a href="http://wiki.apache.org/httpd/CouldNotBindToAddress">Diese + Diskussion im Wiki</a> gibt weitere Tipps zur Fehlerbehebung.</p> + </div> + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="ipv6" id="ipv6">Betrachtung von IPv6-Besonderheiten</a></h2> + + + <p>Eine wachsende Anzahl von Plattformen implementiert IPv6. Die + <a class="glossarylink" href="./glossary.html#apr" title="siehe Glossar">APR</a> unterstützt IPv6 auf den meisten + dieser Plattformen und ermöglicht dem httpd, IPv6-Sockets zu + verwenden und über IPv6 gesendete Anfragen zu behandeln.</p> + + <p>Für httpd-Administratoren kommt erschwerend die Frage hinzu, + ob IPv6-Sockets sowohl IPv4- als auch IPv6-Verbindungen handhaben + können. Zum Betrieb von IPv4-Verbindungen an IPv6-Sockets + werden auf IPv6 abgebildete IPv4-Adressen <span class="transnote">(<em>Anm.d.Ü.:</em> so genannete + IPv4-gemappte IPv6-Adressen)</span> verwendet, welche + standardmäßig auf den meisten Plattformen erlaubt sind. + Unter FreeBSD, NetBSD und OpenBSD jedoch sind sie + standardmäßig deaktiviert, um den Systemgrundsätzen + dieser Plattformen zu entsprechen. Auf Systemen, wo dies + standardmäßig dekativiert ist, kann dieses Verhalten mit + einem speziellen <code class="program"><a href="./programs/configure.html">configure</a></code>-Parameter für den + httpd geändert werden.</p> + + <p>Auf der anderen Seite ist die Verwendung von gemappten Adressen + bei einigen Plattformen wie Linux und True64 der + <strong>einzige</strong> Weg, sowohl IPv4 wie auch IPv6 zu + verwenden. Wenn Sie möchten, dass der <code>httpd</code> IPv4- + und IPv6-Verbindungen mit einem Minimum an Sockets behandelt, was + die Verwendung von IPv4-gemappten IPv6-Adressen erfordert, dann + müssen Sie die <code class="program"><a href="./programs/configure.html">configure</a></code>-Option + <code>--enable-v4-mapped</code> angeben.</p> + + <p><code>--enable-v4-mapped</code> ist die Voreinstellung auf allen + Plattformen außer FreeBSD, NetBSD und OpenBSD, so dass Ihr + httpd wahrscheinlich so übersetzt wurde.</p> + + <p>Geben Sie wie in dem folgenden Beispiel bei allen <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>-Anweisungen eine IPv4-Adresse + an, wenn Sie möchten, dass Ihr httpd lediglich IPv4-Adressen + behandelt, unabhängig davon, was Ihre Plattform und die APR + unterstützen:</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 0.0.0.0:80 +Listen 192.0.2.1:80</pre> +</div> + + <p>Wenn Sie möchten, dass der httpd IPv4- und IPv6-Verbindungen + an separaten Sockets behandelt (d.h. IPv4-gemappte Adressen + deaktiviert werden sollen) und Ihre Plattform es unterstützt, + dann müssen Sie die <code class="program"><a href="./programs/configure.html">configure</a></code>-Option + <code>--disable-v4-mapped</code> angeben. Unter FreeBSD, NetBSD und + OpenBSD ist <code>--disable-v4-mapped</code> voreingestellt.</p> + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="protocol" id="protocol">Angabe des Protokolls bei Listen</a></h2> + + <p>Das optionale zweite <var>Protokoll</var>-Argument von <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> ist für die meisten + Konfigurationen gar nicht erforderlich. Wenn nicht angegeben, sind + <code>https</code> für Port 443 und <code>http</code> für + alle anderen Ports die Voreinstellungen. Die Protokollangabe wird + sowohl dazu verwendet, herauszufinden, welches Modul Anfragen + verarbeiten soll, als auch, um protokollspezifische Optimierungen + bei der <code class="directive"><a href="./mod/core.html#acceptfilter">AcceptFilter</a></code>-Direktive + zu aktivieren.</p> + + <p>Sie müssen das Protokoll nur angeben, wenn Sie + ungewöhnliche Ports benutzen, beispielsweise <code>https</code> + auf Port 8443:</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 192.170.2.1:8443 https</pre> +</div> + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="virtualhost" id="virtualhost">Das Zusammenspiel mit virtuellen Hosts</a></h2> + + + <p>Die Direktive <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> + implementiert keine virtuellen Hosts - sie teilt dem Hauptserver + lediglich mit, an welchen Adressen und Ports er zu lauschen hat. + Werden keine <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code>-Container verwendet, dann + verhält sich der Server bei allen angenommenen Anfragen gleich. + <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code>-Abschnitte können jedoch + dazu verwendet werden, ein unterschiedliches Verhalten für eine + oder mehrere Adressen und Ports festzulegen. Um einen virtuellen + Host einzurichten, muss dem Server zunächst mitgeteilt werden, + an den betreffenden Adressen oder Ports zu lauschen. Dann sollte ein + <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code>-Abschnitt für die + angebene Adresse und den angegebenen Port erstellt werden, um das + Verhalten dieses virtuellen Hosts festzulegen. Beachten Sie bitte, + dass auf einen <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> nicht zugegriffen werden + kann, wenn er für eine Adresse und einen Port eingerichtet + wurde, an dem der Server nicht lauscht.</p> + </div></div> +<div class="bottomlang"> +<p><span>Verfügbare Sprachen: </span><a href="./de/bind.html" title="Deutsch"> de </a> | +<a href="./en/bind.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./fr/bind.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="./ja/bind.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/bind.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/bind.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">Kommentare</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/bind.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 />Lizenziert unter der <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="menu"><a href="./mod/">Module</a> | <a href="./mod/directives.html">Direktiven</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html">Glossar</a> | <a href="./sitemap.html">Seitenindex</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/bind.html.en b/docs/manual/bind.html.en new file mode 100644 index 0000000..1c8567b --- /dev/null +++ b/docs/manual/bind.html.en @@ -0,0 +1,246 @@ +<?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>Binding to Addresses and Ports - 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="<-" 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></div><div id="page-content"><div id="preamble"><h1>Binding to Addresses and Ports</h1> +<div class="toplang"> +<p><span>Available Languages: </span><a href="./de/bind.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/bind.html" title="English"> en </a> | +<a href="./fr/bind.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="./ja/bind.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/bind.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/bind.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div> + + <p>Configuring Apache HTTP Server to listen on specific addresses and ports.</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="#overview">Overview</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#reload">Changing Listen configuration on restart</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#ipv6">Special IPv6 Considerations</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#protocol">Specifying the protocol with Listen</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#virtualhost">How This Works With Virtual Hosts</a></li> +</ul><h3>See also</h3><ul class="seealso"><li><a href="vhosts/">Virtual Hosts</a></li><li><a href="dns-caveats.html">DNS Issues</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="overview" id="overview">Overview</a></h2> + + + <table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td><ul><li><code class="module"><a href="./mod/core.html">core</a></code></li><li><code class="module"><a href="./mod/mpm_common.html">mpm_common</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code></li><li><code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code></li></ul></td></tr></table> + + + <p>When httpd starts, it binds to some port and address on + the local machine and waits for incoming requests. By default, + it listens to all addresses on the machine. However, it may need to + be told to listen on specific ports, or only on selected + addresses, or a combination of both. This is often combined with the + <a href="vhosts/">Virtual Host</a> feature, which determines how + <code>httpd</code> responds to different IP addresses, hostnames and + ports.</p> + + <p>The <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> + directive tells the server to accept + incoming requests only on the specified port(s) or + address-and-port combinations. If only a port number is + specified in the <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> + directive, the server listens to the given port on all interfaces. + If an IP address is given as well as a port, the server will listen + on the given port and interface. Multiple <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> directives may be used to + specify a number of addresses and ports to listen on. The + server will respond to requests from any of the listed + addresses and ports.</p> + + <p>For example, to make the server accept connections on both + port 80 and port 8000, on all interfaces, use:</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 80 +Listen 8000</pre> +</div> + + <p>To make the server accept connections on port 80 for one interface, + and port 8000 on another, use</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 192.0.2.1:80 +Listen 192.0.2.5:8000</pre> +</div> + + <p>IPv6 addresses must be enclosed in square brackets, as in the + following example:</p> + + <div class="example"><pre class="prettyprint lang-config">Listen [2001:db8::a00:20ff:fea7:ccea]:80</pre> +</div> + + <div class="warning"><p>Overlapping <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> directives will result in a + fatal error which will prevent the server from starting up.</p> + + <div class="example"><p><code> + (48)Address already in use: make_sock: could not bind to address [::]:80 + </code></p></div> + + <p>See <a href="http://wiki.apache.org/httpd/CouldNotBindToAddress">the + discussion in the wiki</a> for further troubleshooting tips.</p> + +</div> + + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="reload" id="reload">Changing Listen configuration on restart</a></h2> + + + <p>When httpd is restarted, special consideration must be made for + changes to <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> directives. During a restart, httpd keeps ports + bound (as in the original configuration) to avoid generating + "Connection refused" errors for any new attempts to connect to the + server. If changes are made to the set of <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> directives used + which conflict with the old configuration, configuration will fail + and the server will terminate.</p> + + <p>For example, changing from configuration:</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 127.0.0.1:80</pre> +</div> + + <p>to the following may fail, because binding to port 80 across + all addresses conflicts with binding to port 80 on just + 127.0.0.1.</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 80</pre> +</div> + + <p>To have such configuration changes take effect, it is necessary + to stop and then start the server.</p> + + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="ipv6" id="ipv6">Special IPv6 Considerations</a></h2> + + + <p>A growing number of platforms implement IPv6, and + <a class="glossarylink" href="./glossary.html#apr" title="see glossary">APR</a> supports IPv6 on most of these platforms, + allowing httpd to allocate IPv6 sockets, and to handle requests sent + over IPv6.</p> + + <p>One complicating factor for httpd administrators is whether or + not an IPv6 socket can handle both IPv4 connections and IPv6 + connections. Handling IPv4 connections with an IPv6 socket uses + IPv4-mapped IPv6 addresses, which are allowed by default on most + platforms, but are disallowed by default on FreeBSD, NetBSD, and + OpenBSD, in order to match the system-wide policy on those + platforms. On systems where it is disallowed by default, a + special <code class="program"><a href="./programs/configure.html">configure</a></code> parameter can change this behavior + for httpd.</p> + + <p>On the other hand, on some platforms, such as Linux and Tru64, the + <strong>only</strong> way to handle both IPv6 and IPv4 is to use + mapped addresses. If you want <code>httpd</code> to handle IPv4 and IPv6 connections + with a minimum of sockets, which requires using IPv4-mapped IPv6 + addresses, specify the <code>--enable-v4-mapped</code> <code class="program"><a href="./programs/configure.html">configure</a></code> option.</p> + + <p><code>--enable-v4-mapped</code> is the default on all platforms except + FreeBSD, NetBSD, and OpenBSD, so this is probably how your httpd was + built.</p> + + <p>If you want httpd to handle IPv4 connections only, regardless of + what your platform and APR will support, specify an IPv4 address on all + <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> directives, as in the + following examples:</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 0.0.0.0:80 +Listen 192.0.2.1:80</pre> +</div> + + <p>If your platform supports it and you want httpd to handle IPv4 and + IPv6 connections on separate sockets (i.e., to disable IPv4-mapped + addresses), specify the <code>--disable-v4-mapped</code> <code class="program"><a href="./programs/configure.html">configure</a></code> option. <code>--disable-v4-mapped</code> is the + default on FreeBSD, NetBSD, and OpenBSD.</p> + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="protocol" id="protocol">Specifying the protocol with Listen</a></h2> + + <p>The optional second <var>protocol</var> argument of + <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> + is not required for most + configurations. If not specified, <code>https</code> is the default for + port 443 and <code>http</code> the default for all other ports. The + protocol is used to determine which module should handle a request, and + to apply protocol specific optimizations with the + <code class="directive"><a href="./mod/core.html#acceptfilter">AcceptFilter</a></code> directive.</p> + + <p>You only need to set the protocol if you are running on non-standard + ports. For example, running an <code>https</code> site on port 8443:</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 192.170.2.1:8443 https</pre> +</div> + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="virtualhost" id="virtualhost">How This Works With Virtual Hosts</a></h2> + + + <p> The <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> directive does not implement + Virtual Hosts - it only tells the + main server what addresses and ports to listen on. If no + <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> + directives are used, the server will behave + in the same way for all accepted requests. However, + <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> + can be used to specify a different behavior + for one or more of the addresses or ports. To implement a + VirtualHost, the server must first be told to listen to the + address and port to be used. Then a + <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> section + should be created for the specified address and port to set the + behavior of this virtual host. Note that if the + <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> + is set for an address and port that the + server is not listening to, it cannot be accessed.</p> + </div></div> +<div class="bottomlang"> +<p><span>Available Languages: </span><a href="./de/bind.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/bind.html" title="English"> en </a> | +<a href="./fr/bind.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="./ja/bind.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/bind.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/bind.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/bind.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/bind.html.fr.utf8 b/docs/manual/bind.html.fr.utf8 new file mode 100644 index 0000000..d5a6e03 --- /dev/null +++ b/docs/manual/bind.html.fr.utf8 @@ -0,0 +1,254 @@ +<?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>Ecoute sélective - 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="<-" alt="<-" src="./images/left.gif" /></a></div> +<div id="path"> +<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">Serveur HTTP</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="./">Version 2.4</a></div><div id="page-content"><div id="preamble"><h1>Ecoute sélective</h1> +<div class="toplang"> +<p><span>Langues Disponibles: </span><a href="./de/bind.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/bind.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./fr/bind.html" title="Français"> fr </a> | +<a href="./ja/bind.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/bind.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/bind.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div> + + <p>Configuration du serveur HTTP Apache pour l'écoute + sur un port et une adresse IP spécifiques.</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="#overview">Vue d'ensemble</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#reload">Changer la configuration de l'écoute au redémarrage</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#ipv6">Remarques spécifiques à IPv6</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#protocol">Spécification du protocole avec Listen</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#virtualhost">Qu'en est-il avec les serveurs virtuels</a></li> +</ul><h3>Voir aussi</h3><ul class="seealso"><li><a href="vhosts/">Serveurs virtuels</a></li><li><a href="dns-caveats.html">Problèmes liés au DNS</a></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="overview" id="overview">Vue d'ensemble</a></h2> + + + <table class="related"><tr><th>Modules Apparentés</th><th>Directives Apparentées</th></tr><tr><td><ul><li><code class="module"><a href="./mod/core.html">core</a></code></li><li><code class="module"><a href="./mod/mpm_common.html">mpm_common</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code></li><li><code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code></li></ul></td></tr></table> + + + <p>Au démarrage de httpd, un port et une adresse lui sont associés sur + l'hôte local et le serveur se met en attente de l'arrivée d'une requête. + Par défaut, le serveur écoute toutes les adresses de l'hôte local. + Cependant, on peut lui préciser des ports et des adresses spécifiques à + écouter, ou une combinaison des deux. Tout ceci est souvent associé avec la + fonctionnalité des <a href="vhosts/">serveurs virtuels</a> qui détermine la + manière dont <code>httpd</code> répond aux différents ports, noms d'hôtes et + adresses IP.</p> + + <p>La directive <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> permet + d'indiquer au serveur qu'il ne doit accepter des requêtes que sur le(s) + port(s) spécifiés ou une combinaison adresse/port. Si seul un numéro de port + est spécifié dans la directive <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>, le serveur se met à l'écoute sur ce + port et sur toutes les interfaces réseau. Si une adresse IP est spécifiée + en plus du port, le serveur va écouter sur ce port et uniquement sur + l'interface réseau correspondante. On peut utiliser plusieurs directives + <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> pour spécifier plusieurs + adresses et ports à écouter. Le serveur répondra alors aux requêtes sur tous + les ports et adresses spécifiés.</p> + + <p>Par exemple, pour faire en sorte que le serveur accepte des connexions + sur les ports 80 et 8000 et sur toutes les interfaces, utilisez :</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 80 +Listen 8000</pre> +</div> + + <p>Pour faire en sorte que le serveur accepte des connexions sur le port 80 + pour une interface, et sur le port 8000 pour une + autre interface, utilisez :</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 192.0.2.1:80 +Listen 192.0.2.5:8000</pre> +</div> + + <p>Les adresses IPv6 doivent être mises entre crochets, comme dans + l'exemple suivant :</p> + + <div class="example"><pre class="prettyprint lang-config">Listen [2001:db8::a00:20ff:fea7:ccea]:80</pre> +</div> + + <div class="warning"><p>Des directives <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> + imbriquées provoqueront une erreur fatale qui + empêchera le serveur de démarrer.</p> + + <div class="example"><p><code> + (48)Address already in use: make_sock: could not bind to address [::]:80 + </code></p></div> + + <p>Voir <a href="http://wiki.apache.org/httpd/CouldNotBindToAddress">cette + discussion dans le wiki</a> pour plus de détails à propos de la résolution + de ce problème.</p> + + </div> + + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="reload" id="reload">Changer la configuration de l'écoute au redémarrage</a></h2> + + + <p>Lorsque httpd est redémarré, certaines remarques sont à prendre en compte + quant aux modifications apportées aux directives <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>. Au cours du redémarrage, httpd + conserve la liaison avec les ports de la configuration précédente afin + d'éviter l'obtention d'un message d'erreur "Connection refused" lors d'une + tentative ultérieure de connexion au serveur. Si les modifications apportées au jeu de + directives <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> utilisé entrent + en conflit avec ce dernier, le serveur refusera de redémarrer.</p> + + <p>Par exemple, modifier la configuration suivante :</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 127.0.0.1:80</pre> +</div> + + <p>pour utiliser la suivante pourra échouer car écouter le port 80 sur + toutes les adresses IP entre en conflit avec une écoute sélective du port 80 + sur la seule adresse IP 127.0.0.1.</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 80</pre> +</div> + + <p>Pour qu'une telle modification de configuration soit prise en compte avec + succès, il est nécessaire d'arrêter, puis de démarrer le serveur.</p> + + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="ipv6" id="ipv6">Remarques spécifiques à IPv6</a></h2> + + + <p>Un nombre croissant de plateformes implémentent IPv6, et + <a class="glossarylink" href="./glossary.html#apr" title="voir glossaire">APR</a> supporte IPv6 sur la plupart d'entre elles, + ce qui permet à httpd d'allouer des points de connexion (sockets) IPv6 + et de traiter des requêtes envoyées sur IPv6.</p> + + <p>Les administrateurs de httpd doivent se préoccuper de la possibilité + pour un point de connexion IPv6 de traiter à la fois des connexions IPv4 + et des connexions IPv6. + Le traitement de connexions IPv4 avec un point de connexion IPv6 utilise + des adresses IPv6 traduites en IPv4 qui sont autorisées par défaut sur la + plupart des plateformes, mais sont interdites par défaut sous FreeBSD, NetBSD, + et OpenBSD, afin de respecter la politique de sécurité du système sur ces plateformes. + Sur les systèmes où ces adresses sont interdites par défaut, un + paramètre spécial du script <code class="program"><a href="./programs/configure.html">configure</a></code> permet de modifier + ce comportement pour httpd.</p> + + <p>En revanche, sur certaines plateformes comme Linux et Tru64, la + <strong>seule</strong> manière de gérer à la fois IPv6 et IPv4 passe + par l'utilisation d'adresses traduites. Si vous voulez que <code>httpd</code> gère + des connexions IPv4 et IPv6 avec un minimum de points de connexion, + ce qui nécessite l'utilisation d'adresses IPv6 traduites en IPv4, + utilisez l'option <code>--enable-v4-mapped</code> du script <code class="program"><a href="./programs/configure.html">configure</a></code>.</p> + + <p>L'option <code>--enable-v4-mapped</code> est utilisée par défaut sur + toutes les plateformes sauf FreeBSD, NetBSD, et OpenBSD; + votre httpd a donc probablement été construit avec cette option.</p> + + <p>Si vous souhaitez que httpd ne gère que des connexions IPv4, sans se + soucier de ce que votre plateforme et APR supportent, spécifiez une adresse + IPv4 dans toutes les directives + <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>, comme dans l'exemple + suivant :</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 0.0.0.0:80 +Listen 192.0.2.1:80</pre> +</div> + + <p>Si votre plateforme le supporte et si vous souhaitez que httpd gère + des connexions IPv4 et IPv6 sur des points de connexion séparés + (c'est à dire désactiver la traduction des adresses IPv6 au format IPv4), + utilisez l'option <code>--disable-v4-mapped</code> du script + <code class="program"><a href="./programs/configure.html">configure</a></code>. <code>--disable-v4-mapped</code> est + utilisé par défaut sur FreeBSD, NetBSD, et OpenBSD.</p> + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="protocol" id="protocol">Spécification du protocole avec Listen</a></h2> + + <p>Dans la plupart des configurations, le second paramètre optionnel + <var>protocol</var> de la directive <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> n'est pas obligatoire. S'il + n'est pas spécifié, les protocoles par défaut + sont <code>https</code> pour le port 443, et <code>http</code> pour + tous les autres ports. Le protocole sert à déterminer quel module + doit traiter une requête, et à appliquer les optimisations + spécifiques au protocole via la directive <code class="directive"><a href="./mod/core.html#acceptfilter">AcceptFilter</a></code>.</p> + + <p>Vous ne devez définir le protocole que si vous travaillez avec + des ports non standards. Par exemple, pour travailler en + <code>https</code> sur le port 8443 :</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 192.170.2.1:8443 https</pre> +</div> + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="virtualhost" id="virtualhost">Qu'en est-il avec les serveurs virtuels</a></h2> + + + <p> La directive <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> n'implémente pas les serveurs virtuels. + Elle indique simplement au serveur principal sur quels adresses et ports + il doit écouter. Si aucune directive + <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> + n'est présente, le serveur se comportera de la même façon pour toutes + les requêtes acceptées. En revanche, la directive + <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> + peut être utilisée pour provoquer une réaction différente du serveur + pour un ou plusieurs adresses ou ports. Pour implémenter un serveur virtuel, + on doit d'abord indiquer au serveur sur quels adresses et ports il doit écouter. + Ensuite, une section + <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> + doit être créée pour le couple adresse+port spécifié afin de définir le + comportement de cet hôte virtuel. Notez que si la directive + <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> + est définie pour une adresse et un port sur lesquels le serveur n'est pas censé + écouter, cet hôte virtuel ne sera pas accessible.</p> + </div></div> +<div class="bottomlang"> +<p><span>Langues Disponibles: </span><a href="./de/bind.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/bind.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./fr/bind.html" title="Français"> fr </a> | +<a href="./ja/bind.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/bind.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/bind.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">Commentaires</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/bind.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/bind.html.ja.utf8 b/docs/manual/bind.html.ja.utf8 new file mode 100644 index 0000000..a719842 --- /dev/null +++ b/docs/manual/bind.html.ja.utf8 @@ -0,0 +1,209 @@ +<?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="ja" xml:lang="ja"><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>バインド - Apache HTTP サーバ バージョン 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 サーバ バージョン 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 サーバ</a> > <a href="http://httpd.apache.org/docs/">ドキュメンテーション</a> > <a href="./">バージョン 2.4</a></div><div id="page-content"><div id="preamble"><h1>バインド</h1> +<div class="toplang"> +<p><span>翻訳済み言語: </span><a href="./de/bind.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/bind.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./fr/bind.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="./ja/bind.html" title="Japanese"> ja </a> | +<a href="./ko/bind.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/bind.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div> +<div class="outofdate">この日本語訳はすでに古くなっている + 可能性があります。 + 最近更新された内容を見るには英語版をご覧下さい。 + </div> + + <p>Apache が使用するアドレスとポートの設定をします。</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="#overview">概要</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#ipv6">IPv6 の特記事項</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#virtualhost">バーチャルホストに対してどう働くのか</a></li> +</ul><h3>参照</h3><ul class="seealso"><li><a href="vhosts/">バーチャルホスト</a></li><li><a href="dns-caveats.html">DNS の問題</a></li><li><a href="#comments_section">コメント</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="overview" id="overview">概要</a></h2> + + + <table class="related"><tr><th>関連モジュール</th><th>関連ディレクティブ</th></tr><tr><td><ul><li><code class="module"><a href="./mod/core.html">core</a></code></li><li><code class="module"><a href="./mod/mpm_common.html">mpm_common</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code></li><li><code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code></li></ul></td></tr></table> + + + <p>Apache は起動時に、ローカルマシンのあるポートおよびアドレス + に対して接続し、リクエストが来るのを待ちます。 + デフォルトではマシンのすべてのアドレスに対して Listen します。 + 特定のポートか、特定のアドレスのみか、 + またはそれらの組み合わせで Listen するように指定したい場合もあります。 + 異なる IP アドレス、ホスト名、ポートに対して Apache がどのように + 応答するかを制御するバーチャルホスト機能と組み合わせてよく使われます。</p> + + <p><code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> + ディレクティブで、特定のポートやアドレス・ポートの組から入ってくる + リクエストのみを受け付けるようにできます。 + もしポート番号だけが <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> + ディレクティブで指定された場合は、 + すべてのインターフェースの与えられたポート番号に対して + Listen します。 IP アドレスとポート番号とが同時に与えられた場合は、 + サーバは与えられたインターフェースのポートを Listen します。 + <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> ディレクティブを複数使って + Listen するアドレスとポートをいくつも指定できます。 + サーバは指定されたアドレスやポートからのリクエストすべてに + 対して応答します。</p> + + <p>たとえば、全てのインターフェースのポート 80 と 8000 の両方において + 接続を受け付けるには</p> + + <div class="example"><p><code> + Listen 80<br /> + Listen 8000 + </code></p></div> + + <p>とします。 + あるインターフェースでは 80 番で、また、同時に他のインターフェースの + 8000 番ポートで接続を受け付けるには、 + </p> + + <div class="example"><p><code> + Listen 192.0.2.1:80<br /> + Listen 192.0.2.5:8000 + </code></p></div> + + <p>とします。 + IPv6 アドレスは、角括弧で次の例のように囲まなければいけません。</p> + + <div class="example"><p><code> + Listen [2001:db8::a00:20ff:fea7:ccea]:80 + </code></p></div> + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="ipv6" id="ipv6">IPv6 の特記事項</a></h2> + + + <p>多くのプラットホームで IPv6 がサポートされてきていて、 + <a class="glossarylink" href="./glossary.html#apr" title="用語集を参照">APR</a> はこれらのほとんどで IPv6 をサポートしているので、 + Apache は IPv6 ソケットを割り当てて IPv6 + 経由で送られてきたリクエストを扱うことができます。</p> + + <p>IPv6 ソケットが IPv4 と IPv6 コネクションの両方を扱うことができるか + どうかは、Apache 管理者にとって厄介な問題です。 + IPv4 コネクションを IPv6 ソケットで扱う場合は、 + IPv4 マップされた IPv6 アドレスを使用していて、 + ほとんどのプラットホームではデフォルトで使用可能ですが、 + FreeBSD, NetBSD, OpenBSD では、システム全体としてのポリシーとの整合性から、 + デフォルトでは使用不可に設定されています。 + これらのデフォルトで使用不可のプラットホームであっても、 + 特別な <code class="program"><a href="./programs/configure.html">configure</a></code> の + 設定パラメータで Apache の挙動を変化させることができます。</p> + + <p>一方で、Linux や Tru64 といったプラットホームで IPv4 と IPv6 + の両方を扱うには、マップドアドレスを使用する<strong>以外の方法はありません</strong>。 + IPv4 と IPv6 のコネクションを最小限のソケットで扱いたいのであれば、 + IPv4 マップの IPv6 アドレスを使用する必要があり、 + <code>--enable-v4-mapped</code> <code class="program"><a href="./programs/configure.html">configure</a></code> + オプションを指定します。</p> + + <p><code>--enable-v4-mapped</code> は、 + FreeBSD, NetBSD, OpenBSD 以外の全てのプラットホームでのデフォルトです。 + ですから、おそらくお手元の Apache はこの設定でビルドされているでしょう。</p> + + <p>プラットフォームや APR が何をサポートするかに関わらず、 + IPv4 コネクションのみを扱うようにしたい場合は、 + 次の例のように全ての + <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> ディレクティブで + IPv4 アドレスを指定してください。</p> + + <div class="example"><p><code> + Listen 0.0.0.0:80<br /> + Listen 192.0.2.1:80 + </code></p></div> + + <p>条件を満たすプラットホームで、Apache が + IPv4 と IPv6 のコネクションを別々のソケットで扱うようにしたい場合 + (つまり IPv4 マップのアドレスを無効にしたい場合) + は、<code>--disable-v4-mapped</code> + <code class="program"><a href="./programs/configure.html">configure</a></code> + オプションを指定して、次のように個別指定の + <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> + ディレクティブを使用してください。 + <code>--disable-v4-mapped</code> は、 + FreeBSD, NetBSD, OpenBSD プラットホームでのデフォルトです。</p> + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="virtualhost" id="virtualhost">バーチャルホストに対してどう働くのか</a></h2> + + + <p><code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> ディレクティブ + でバーチャルホストが実装されるわけではありません。 + Listen は単にメインサーバにどのアドレスとポートを Listen すべきかを + 教えるだけです。 + <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> + ディレクティブが使われない場合は、 + 受け入れたリクエストすべてに対して全く同じ挙動をします。 + しかしながら + <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> + を使って、 + 一つ以上のアドレスやポートに対して異なる挙動をするように + 指定することができます。 + VirtualHost を実装するには、まず初めに使用したいアドレスとポートに対して + サーバが Listen していなければなりません。 + そして、その指定したアドレスとポートでの + このバーチャルホストの挙動を設定するために、 + <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> + セクションを作ります。もし + <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> + が Listen していないアドレスとポートに対して + 設定されてしまうと、 + それにはアクセスできないということに注意してください。</p> + </div></div> +<div class="bottomlang"> +<p><span>翻訳済み言語: </span><a href="./de/bind.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/bind.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./fr/bind.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="./ja/bind.html" title="Japanese"> ja </a> | +<a href="./ko/bind.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/bind.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">コメント</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/bind.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> のライセンスで提供されています。.</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/bind.html.ko.euc-kr b/docs/manual/bind.html.ko.euc-kr new file mode 100644 index 0000000..34b0252 --- /dev/null +++ b/docs/manual/bind.html.ko.euc-kr @@ -0,0 +1,179 @@ +<?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>ּҿ Ʈ (Binding) - 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></div><div id="page-content"><div id="preamble"><h1>ּҿ Ʈ (Binding)</h1> +<div class="toplang"> +<p><span> : </span><a href="./de/bind.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/bind.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./fr/bind.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="./ja/bind.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/bind.html" title="Korean"> ko </a> | +<a href="./tr/bind.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div> +<div class="outofdate"> ֽ ƴմϴ. + ֱٿ ϼ.</div> + + <p>ġ Ư ּҿ Ʈ ϵ ϱ.</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="#overview"></a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#ipv6">IPv6 Ư </a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#virtualhost">ȣƮ dz</a></li> +</ul><h3></h3><ul class="seealso"><li><a href="vhosts/">ȣƮ</a></li><li><a href="dns-caveats.html">DNS </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="overview" id="overview"></a></h2> + + + <table class="related"><tr><th>õ </th><th>õ þ</th></tr><tr><td><ul><li><code class="module"><a href="./mod/core.html">core</a></code></li><li><code class="module"><a href="./mod/mpm_common.html">mpm_common</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code></li><li><code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code></li></ul></td></tr></table> + + + <p>ġ ϸ ġ ǻ Ʈ ּҿ + Ͽ, û ٸ. ⺻ ġ + ǻ ּҿ ٸ. ġ Ư Ʈ + ּҸ ٸ ؾ 찡 ִ. + ġ ٸ IP ּ, ȣƮ, Ʈ + ϴ ȣƮ ɰ õִ.</p> + + <p><code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> þ + Ư Ʈ ּҿ Ʈ տ û ް + Ѵ. <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> + þ Ʈ ȣ ϸ, ̽ + Ʈ ٸ. <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> þ ٸ + ּҿ Ʈ ִ. ּҿ Ʈ + û Ѵ.</p> + + <p> , 80 8000 Ʈ ο + Ϸ:</p> + + <div class="example"><p><code> + Listen 80<br /> + Listen 8000 + </code></p></div> + + <p> ̽ Ʈ ٸ + Ϸ,</p> + + <div class="example"><p><code> + Listen 192.0.2.1:80<br /> + Listen 192.0.2.5:8000 + </code></p></div> + + <p>IPv6 ּҴ ȣ Ѵ:</p> + + <div class="example"><p><code> + Listen [2001:db8::a00:20ff:fea7:ccea]:80 + </code></p></div> + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="ipv6" id="ipv6">IPv6 Ư </a></h2> + + + <p>IPv6 ÷ ð ְ APR ̵ ÷ κп + IPv6 ϱ, ġ IPv6 ҴϿ IPv6 + û ó ִ.</p> + + <p>ġ ڿ κ IPv6 IPv4 + IPv6 ó ִĴ ̴. κ ÷ + IPv4-(mapped) IPv6 ּҸ Ͽ IPv6 Ͽ IPv4 + , FreeBSD NetBSD OpenBSD ýü å + ⺻ ʴ´. ⺻ ʴ + ý̶ ġ Ư Ķͷ + ִ.</p> + + <p>ݸ Tru64 Ϻ ÷ IPv4 IPv6 + óϷ ּҸ <strong>ؾ߸</strong> + Ѵ. ġ ּ Ͽ IPv4 IPv6 + Ϸ, IPv4- IPv6 ּҸ ϰ + <a href="programs/configure.html">configure</a> ɼ + <code>--enable-v4-mapped</code> Ѵ.</p> + + <p><code>--enable-v4-mapped</code> FreeBSD, NetBSD, OpenBSD + ÷ ⺻̰, Ƹ ġ + ̴.</p> + + <p>÷ APR ο ġ IPv4 Ḹ + Ϸ, <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> þ IPv4 ּҸ + Ѵ:</p> + + <div class="example"><p><code> + Listen 0.0.0.0:80<br /> + Listen 192.0.2.1:80 + </code></p></div> + + <p>÷ ϸ ġ ٸ IPv4 + IPv6 Ϸ ( IPv4- ּҸ + ), <a href="programs/configure.html">configure</a> + ɼ <code>--disable-v4-mapped</code> + Ѵ. <code>--disable-v4-mapped</code> FreeBSD, NetBSD, + OpenBSD ⺻̴.</p> + + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="virtualhost" id="virtualhost">ȣƮ dz</a></h2> + + + <p><code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> + ȣƮ ʴ´. ̴ ּ + ּҿ Ʈ ٸ ˷ش. <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> þ + , û Ȱ óѴ. + <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> ּҿ Ʈ + ٸ ൿ ִ. ȣƮ + ּҿ Ʈ ˷ Ѵ. + Ư ּҿ Ʈ ȣƮ ൿ + <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> + ʿϴ. ּ ٸʴ ּҿ Ʈ ϴ + <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> + ϶.</p> + </div></div> +<div class="bottomlang"> +<p><span> : </span><a href="./de/bind.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/bind.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./fr/bind.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="./ja/bind.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/bind.html" title="Korean"> ko </a> | +<a href="./tr/bind.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/bind.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/bind.html.tr.utf8 b/docs/manual/bind.html.tr.utf8 new file mode 100644 index 0000000..ab535ae --- /dev/null +++ b/docs/manual/bind.html.tr.utf8 @@ -0,0 +1,244 @@ +<?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>Adresleri ve Portları Dinleme - 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="<-" 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 Sunucusu</a> > <a href="http://httpd.apache.org/docs/">Belgeleme</a> > <a href="./">Sürüm 2.4</a></div><div id="page-content"><div id="preamble"><h1>Adresleri ve Portları Dinleme</h1> +<div class="toplang"> +<p><span>Mevcut Diller: </span><a href="./de/bind.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/bind.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./fr/bind.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="./ja/bind.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/bind.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/bind.html" title="Türkçe"> tr </a></p> +</div> + + <p>Apache HTTPD sunucusunun belli adresleri ve portları dinlemek üzere + yapılandırılması.</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="#overview">Genel Bakış</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#reload">Dinleme yapılandırmasının yeniden başlatırken değiştirilmesi</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#ipv6">IPv6 Adreslerin Durumu</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#protocol">Protokolü Listen ile Belirtme</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#virtualhost">Sanal Konaklarla Nasıl Çalışır?</a></li> +</ul><h3>Ayrıca bakınız:</h3><ul class="seealso"><li><a href="vhosts/">Sanal Konaklar</a></li><li><a href="dns-caveats.html">DNS Konuları</a></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="overview" id="overview">Genel Bakış</a></h2> + + + <table class="related"><tr><th>İlgili Modüller</th><th>İlgili Yönergeler</th></tr><tr><td><ul><li><code class="module"><a href="./mod/core.html">core</a></code></li><li><code class="module"><a href="./mod/mpm_common.html">mpm_common</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code></li><li><code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code></li></ul></td></tr></table> + + + <p>httpd başlatıldığında yerel makinedeki bazı adres ve portları kendine + bağlar ve gelecek istekleri bekler. Öntanımlı olarak makine üzerindeki + tüm adresleri dinler. Bununla birlikte, belli portları veya sadece + seçilmiş bazı adresleri ya da her ikisini de dinlemesi için bunun + belirtilmesi gerekebilir. Bu çoğunlukla, httpd’nin farklı IP + adreslerine, konak isimlerine ve portlarına nasıl yanıt vereceğinin + belirlendiği <a href="vhosts/">sanal konak</a> özelliği ile birlikte + yürür.</p> + + <p><code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> yönergesi sunucuya + gelen istekleri sadece belli port(lar)dan veya belli adres ve port + birleşimlerinden kabul etmesini söyler. <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> yönergesinde sadece port + numarası belirtilmişse sunucu tüm arabirimlerin belirtilen portunu + dinleyecektir. Portla birlikte bir IP adresi de belirtilmişse sunucu + belirtilen portu ve arabirimi dinleyecektir. Çok sayıda adres ve portu + dinlemek için çok sayıda <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> yönergesi kullanılabilir. Sunucu + böyle bir durumda belirtilen bütün adres ve portlardan gelen isteklere + yanıt verecektir.</p> + + <p>Örneğin, sunucunun hem 80 portundan hem de 8000 portundan gelen + bağlantıları kabul etmesini sağlamak için,</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 80 +Listen 8000</pre> +</div> + + <p>yapılandırmasını kullanabilirsiniz. Sunucunun 80 portuna gelen + bağlantıları bir arabirimden 8000 portuna gelenleri ise başka bir + arabirimden kabul etmesini sağlamak için ise,</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 192.0.2.1:80 +Listen 192.0.2.5:8000</pre> +</div> + + <p>yapılandırmasını kullanabilirsiniz. IPv6 adresleri aşağıdaki örnekteki + gibi köşeli ayraçlar içine alınarak belirtilmelidir:</p> + + <div class="example"><pre class="prettyprint lang-config">Listen [2001:db8::a00:20ff:fea7:ccea]:80</pre> +</div> + + <div class="warning"> + <p>Bir <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> yönergesinin + aynısının tekrarı sunucunun başlatılmasını engelleyen ölümcül bir hatayla + sonuçlanacaktır.</p> + + <div class="example"><p><code> + (48)Address already in use: make_sock: could not bind to address [::]:80 + </code></p></div> + + <p>Sorun giderme ile ilgili ipuçları için + <a href="http://wiki.apache.org/httpd/CouldNotBindToAddress">wiki + belgesine</a> bakınız.</p> + </div> + + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="reload" id="reload">Dinleme yapılandırmasının yeniden başlatırken değiştirilmesi</a></h2> + + + <p>httpd yeniden başlatılırken, + <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> yönergelerindeki + değişiklikler için özel değerlendirmeler yapılmalıdır. Yeniden başlatma + sırasında, httpd, yeni bağlanma çabalarında "Connection refused" (bağlantı + reddedildi) hatasından kaçınmak için [özgün yapılandırmadaki gibi] portları + bağlı tutar. Bu bakımdan, <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> + yönergelerinden yapılan değişiklikler yenden başlatılrken yapılandırmanın + başarısız olmasına ve sunucunun sonlanmasına sebep olur.</p> + + <p>Örneğin:</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 127.0.0.1:80</pre> +</div> + + <p>yapılandırmasını aşağıdakiyle değiştirmek yenden başlatma sırasında + sucunun hta verip sonlanmasına sebep olur. Çünkü, tüm adreslerden 80 porta + bağlanmak sadece 127.0.0.1 adresine bağlanmakla çelişir.</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 80</pre> +</div> + + <p>Böyle değişikliklerin etkili olabilmesi için sunucu önce durdurulmalı + sonra başlatımalıdır (restart yerine stop ve start kullanılmalıdır).</p> + + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="ipv6" id="ipv6">IPv6 Adreslerin Durumu</a></h2> + + + <p>IPv6’yı gerçekleyen platformların sayısı giderek artmaktadır. Bu + platformların çoğunda <a class="glossarylink" href="./glossary.html#apr" title="sözlüğe bakınız">APR</a>, httpd’nin IPv6 + soketleri ayırmasını mümkün kılarak IPv6’yı desteklemekte ve IPv6 + üzerinden gönderilmiş istekleri elde etmektedir.</p> + + <p>httpd yöneticilerinin kafasını karıştırıran tek şey IPv6 soketlerin + hem IPv4 hem de IPv6 bağlantılarını kabul edip etmeyeceğidir. IPv4 + bağlantılarını kabul eden IPv6 soketleri IPv4 eşlemli IPv6 adresleri + kullanırlar. Bu çoğu sistemde öntanımlı olarak böyleyken, FreeBSD, + NetBSD ve OpenBSD’de sistem geneline uygulanan kurallar gereğince + öntanımlı olarak buna izin verilmez; bu sistemlerde özel bir + <code class="program"><a href="./programs/configure.html">configure</a></code> parametresi ile <code>httpd</code>’nin + davranışı değiştirilebilir.</p> + + <p>Diğer taraftan, Linux ve Tru64 gibi bazı platformlarda hem IPv4 hem de + IPv6 adresleri kabul etmenin <strong>tek yolu</strong> eşlemli adresler + kullanmaktır. <code>httpd</code>’nin IPv4 ve IPv6 adresleri, IPv4 eşlemli + IPv6 adreslerin kullanımını gerektiren en az sayıda soketle kabul etmesini + istiyorsanız, <code class="program"><a href="./programs/configure.html">configure</a></code> betiğine + <code>--enable-v4-mapped</code> seçeneğini belirtiniz.</p> + + <p><code>--enable-v4-mapped</code> seçeneği, FreeBSD, NetBSD ve OpenBSD + hariç tüm platformlarda öntanımlıdır. Muhtemelen siz de + <code>httpd</code>’nin böyle derlenmesini isterdiniz.</p> + + <p>Platformunuzun ve APR’nin neyi desteklediğine bakmaksızın + <code>httpd</code>’nin sadece IPv4 adresleri kabul etmesini istiyorsanız, + tüm <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> yönergelerinde + örnekteki gibi IPv4 adresleri belirtiniz:</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 0.0.0.0:80 +Listen 192.0.2.1:80</pre> +</div> + + <p>Platformunuz IPv4 ve IPv6 adresleri ayrı soketlerden kabul ediyorsa ve + <code>httpd</code>’nin de buna uygun davranmasını (yani IPv4 eşlemli IPv6 + adreslerin iptalini) istiyorsanız <code class="program"><a href="./programs/configure.html">configure</a></code> + betiğine <code>--disable-v4-mapped</code> seçeneğini belirtiniz. Bu + seçenek FreeBSD, NetBSD ve OpenBSD’de öntanımlıdır.</p> + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="protocol" id="protocol">Protokolü Listen ile Belirtme</a></h2> + + <p><code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> yönergesinin isteğe + bağlı ikinci değiştirgesi <var>protokol</var> çoğu yapılandırmada gerekli + olmaz. Belirtilmediği takdirde, <code>https</code> için 443, + <code>http</code> için ise diğer bütün portlar öntanımlıdır. Protokol, + isteğin hangi modül tarafından işleneceğini ve <code class="directive"><a href="./mod/core.html#acceptfilter">AcceptFilter</a></code> yönergesi ile uygulanacak + protokole özgü en iyilemeleri belirlemekte kullanılır.</p> + + <p>Sadece standartdışı bir port kullanmak isterseniz protokolü belirtmeniz + gerekir. Örneğin, bir<code>https</code> sitesini port 8443 üzerinde + çalıştırmak isterseniz:</p> + + <div class="example"><pre class="prettyprint lang-config">Listen 192.170.2.1:8443 https</pre> +</div> + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="virtualhost" id="virtualhost">Sanal Konaklarla Nasıl Çalışır?</a></h2> + + + <p><code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> yönergesi sanal + konaklar için gerçeklenmemiştir; sadece ana sunucuya hangi adresleri ve + portları dinleyeceğini söyler. Hiç <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> yönergesi kullanılmamışsa sunucu + kabul edilen tüm isteklere aynı şekilde davranacaktır. Eğer bir veya + daha fazla adres ve port için farklı bir davranış belirtmek + istiyorsanız <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> kullanabilirsiniz. Bir sanal + konağı gerçeklemek için önce sunucunun sanal konak için kullanacağı + adres ve portu dinleyeceğini belirtmek gerekir. Bundan sonra bu sanal + konağın davranışını ayarlamak üzere belirtilen adres ve port için bir + <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> bölümü + oluşturulmalıdır. Yalnız dikkat edin, eğer <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> için belirtilen adres ve port + sunucu tarafından dinlenmiyorsa ona erişemezsiniz.</p> + </div></div> +<div class="bottomlang"> +<p><span>Mevcut Diller: </span><a href="./de/bind.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/bind.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./fr/bind.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="./ja/bind.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/bind.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/bind.html" 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">Yorumlar</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/bind.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 |