From: Rich Bowen Date: Fri, 24 Apr 2026 15:57:20 +0000 (+0000) Subject: Rebuild html, meta files X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ef11228fcd3f9d5b3e1ec7228b57cfd66127646f;p=thirdparty%2Fapache%2Fhttpd.git Rebuild html, meta files git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933312 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/bind.html.ja.utf8 b/docs/manual/bind.html.ja.utf8 index fef1c8759d..677e45f37f 100644 --- a/docs/manual/bind.html.ja.utf8 +++ b/docs/manual/bind.html.ja.utf8 @@ -7,7 +7,7 @@ This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> -バインド - Apache HTTP サーバ バージョン 2.5 +アドレスとポートのバインド - Apache HTTP サーバ バージョン 2.5 @@ -21,7 +21,7 @@
<-
-Apache > HTTP サーバ > ドキュメンテーション > バージョン 2.5

アドレスとポートのバインド

翻訳済み言語:  de  |  en  | @@ -31,16 +31,14 @@  ko  |  tr 

-
この日本語訳はすでに古くなっている - 可能性があります。 - 最近更新された内容を見るには英語版をご覧下さい。 -
-

Apache が使用するアドレスとポートの設定をします。

+

特定のアドレスとポートで待ち受けるための Apache HTTP Server の設定。

top
@@ -50,131 +48,183 @@ -

Apache は起動時に、ローカルマシンのあるポートおよびアドレス - に対して接続し、リクエストが来るのを待ちます。 - デフォルトではマシンのすべてのアドレスに対して Listen します。 - 特定のポートか、特定のアドレスのみか、 - またはそれらの組み合わせで Listen するように指定したい場合もあります。 - 異なる IP アドレス、ホスト名、ポートに対して Apache がどのように - 応答するかを制御するバーチャルホスト機能と組み合わせてよく使われます。

+

httpd は起動時に、ローカルマシンのあるポートとアドレスに対して + バインドし、リクエストが来るのを待ちます。デフォルトでは + マシンのすべてのアドレスで待ち受けます。しかし、特定のポートのみ、 + または選択したアドレスのみ、あるいはその両方の組み合わせで + 待ち受けるように指定する必要がある場合もあります。これは多くの場合、 + httpd が異なる IP アドレス、ホスト名、ポートに対して + どのように応答するかを決定するバーチャルホスト + 機能と組み合わせて使用されます。

Listen - ディレクティブで、特定のポートやアドレス・ポートの組から入ってくる - リクエストのみを受け付けるようにできます。 - もしポート番号だけが Listen - ディレクティブで指定された場合は、 - すべてのインターフェースの与えられたポート番号に対して - Listen します。 IP アドレスとポート番号とが同時に与えられた場合は、 - サーバは与えられたインターフェースのポートを Listen します。 - Listen ディレクティブを複数使って - Listen するアドレスとポートをいくつも指定できます。 - サーバは指定されたアドレスやポートからのリクエストすべてに - 対して応答します。

- -

たとえば、全てのインターフェースのポート 80 と 8000 の両方において - 接続を受け付けるには

+ ディレクティブは、指定されたポートまたは + アドレスとポートの組み合わせでのみ受信リクエストを + 受け付けるようサーバに指示します。 + Listen + ディレクティブでポート番号のみが指定された場合、 + サーバはすべてのインターフェースの指定されたポートで待ち受けます。 + IP アドレスとポートが同時に指定された場合は、 + サーバは指定されたポートとインターフェースで待ち受けます。 + 複数の Listen + ディレクティブを使って、待ち受けるアドレスとポートを + 複数指定することができます。 + サーバは指定されたアドレスとポートのいずれかからの + リクエストに応答します。

+ +

たとえば、すべてのインターフェースのポート 80 と + ポート 8000 の両方で接続を受け付けるには、次のようにします:

+ +
Listen 80
+Listen 8000
+
-

- Listen 80
- Listen 8000 -

+

あるインターフェースではポート 80 で、別のインターフェースでは + ポート 8000 で接続を受け付けるには、次のようにします

-

とします。 - あるインターフェースでは 80 番で、また、同時に他のインターフェースの - 8000 番ポートで接続を受け付けるには、 -

+
Listen 192.0.2.1:80
+Listen 192.0.2.5:8000
+
-

- Listen 192.0.2.1:80
- Listen 192.0.2.5:8000 -

+

IPv6 アドレスは、次の例のように角括弧で囲む必要があります:

+ +
Listen [2001:db8::a00:20ff:fea7:ccea]:80
+
-

とします。 - IPv6 アドレスは、角括弧で次の例のように囲まなければいけません。

+

Listen ディレクティブが重複すると、 + サーバの起動を妨げる致命的なエラーが発生します。

- Listen [2001:db8::a00:20ff:fea7:ccea]:80 + (48)Address already in use: make_sock: could not bind to address [::]:80

+ +

さらなるトラブルシューティングのヒントについては、 + wiki + での議論を参照してください。

+ +
+ +
top
+
+

再起動時の Listen 設定の変更

+ + +

httpd を再起動する際には、Listen + ディレクティブの変更に対して特別な配慮が必要です。再起動中、httpd は + サーバへの新しい接続試行に対する「Connection refused」エラーを + 避けるために、(元の設定のまま)ポートをバインドしたままにします。 + 使用中の Listen + ディレクティブのセットに対して古い設定と競合する変更が行われた場合、 + 設定は失敗しサーバは終了します。

+ +

たとえば、次の設定から:

+ +
Listen 127.0.0.1:80
+
+ +

次の設定に変更すると失敗する可能性があります。なぜなら、 + すべてのアドレスのポート 80 へのバインドは、 + 127.0.0.1 のみのポート 80 へのバインドと競合するからです。

+ +
Listen 80
+
+ +

このような設定変更を有効にするには、 + サーバを停止してから起動する必要があります。

+
top

IPv6 の特記事項

-

多くのプラットホームで IPv6 がサポートされてきていて、 +

多くのプラットフォームで IPv6 が実装されてきており、 APR はこれらのほとんどで IPv6 をサポートしているので、 - Apache は IPv6 ソケットを割り当てて IPv6 - 経由で送られてきたリクエストを扱うことができます。

- -

IPv6 ソケットが IPv4 と IPv6 コネクションの両方を扱うことができるか - どうかは、Apache 管理者にとって厄介な問題です。 - IPv4 コネクションを IPv6 ソケットで扱う場合は、 - IPv4 マップされた IPv6 アドレスを使用していて、 - ほとんどのプラットホームではデフォルトで使用可能ですが、 - FreeBSD, NetBSD, OpenBSD では、システム全体としてのポリシーとの整合性から、 - デフォルトでは使用不可に設定されています。 - これらのデフォルトで使用不可のプラットホームであっても、 - 特別な configure の - 設定パラメータで Apache の挙動を変化させることができます。

- -

一方で、Linux や Tru64 といったプラットホームで IPv4 と IPv6 - の両方を扱うには、マップドアドレスを使用する以外の方法はありません。 - IPv4 と IPv6 のコネクションを最小限のソケットで扱いたいのであれば、 - IPv4 マップの IPv6 アドレスを使用する必要があり、 - --enable-v4-mapped configure - オプションを指定します。

- -

--enable-v4-mapped は、 - FreeBSD, NetBSD, OpenBSD 以外の全てのプラットホームでのデフォルトです。 - ですから、おそらくお手元の Apache はこの設定でビルドされているでしょう。

+ httpd は IPv6 ソケットを割り当てて IPv6 + 経由で送られてきたリクエストを処理することができます。

+ +

httpd 管理者にとって厄介な問題の一つは、IPv6 ソケットが + IPv4 と IPv6 の両方のコネクションを処理できるかどうかです。 + IPv6 ソケットでの IPv4 コネクションの処理には + IPv4 マップド IPv6 アドレスが使用されますが、 + これはほとんどのプラットフォームではデフォルトで許可されていますが、 + FreeBSD、NetBSD、OpenBSD では、これらのプラットフォームの + システム全体のポリシーに合わせるため、 + デフォルトでは無効になっています。 + デフォルトで無効になっているシステムでも、 + 特別な configure パラメータで + httpd のこの動作を変更できます。

+ +

一方、Linux や Tru64 などのプラットフォームでは、 + IPv6 と IPv4 の両方を処理する唯一の方法は + マップドアドレスを使用することです。 + IPv4 マップド IPv6 アドレスの使用を必要とする + 最小限のソケットで httpd に IPv4 と IPv6 のコネクションを + 処理させたい場合は、--enable-v4-mapped configure + オプションを指定してください。

+ +

--enable-v4-mapped は FreeBSD、NetBSD、OpenBSD を除く + すべてのプラットフォームでのデフォルトですので、 + おそらくお手元の httpd はこの設定でビルドされているでしょう。

プラットフォームや APR が何をサポートするかに関わらず、 - IPv4 コネクションのみを扱うようにしたい場合は、 - 次の例のように全ての + httpd に IPv4 コネクションのみを処理させたい場合は、 + 次の例のようにすべての Listen ディレクティブで - IPv4 アドレスを指定してください。

+ IPv4 アドレスを指定してください:

-

- Listen 0.0.0.0:80
- Listen 192.0.2.1:80 -

+
Listen 0.0.0.0:80
+Listen 192.0.2.1:80
+
-

条件を満たすプラットホームで、Apache が - IPv4 と IPv6 のコネクションを別々のソケットで扱うようにしたい場合 - (つまり IPv4 マップのアドレスを無効にしたい場合) - は、--disable-v4-mapped - configure - オプションを指定して、次のように個別指定の - Listen - ディレクティブを使用してください。 - --disable-v4-mapped は、 - FreeBSD, NetBSD, OpenBSD プラットホームでのデフォルトです。

+

プラットフォームがサポートしており、httpd に IPv4 と + IPv6 のコネクションを別々のソケットで処理させたい場合 + (つまり IPv4 マップドアドレスを無効にしたい場合)は、 + --disable-v4-mapped configure + オプションを指定してください。--disable-v4-mapped は + FreeBSD、NetBSD、OpenBSD でのデフォルトです。

+
top
+
+

Listen でプロトコルを指定する

+ +

Listen の + オプションの第二引数 protocol は、 + ほとんどの設定では必要ありません。 + 指定しない場合、ポート 443 では https が、 + その他すべてのポートでは http がデフォルトになります。 + プロトコルは、どのモジュールがリクエストを処理すべきかを決定し、 + AcceptFilter + ディレクティブでプロトコル固有の最適化を適用するために使用されます。

+ +

非標準のポートで実行している場合にのみ、プロトコルを設定する + 必要があります。たとえば、ポート 8443 で https + サイトを実行する場合:

+ +
Listen 192.170.2.1:8443 https
+
top
-

バーチャルホストに対してどう働くのか

+

バーチャルホストとの連携

-

Listen ディレクティブ - でバーチャルホストが実装されるわけではありません。 - Listen は単にメインサーバにどのアドレスとポートを Listen すべきかを - 教えるだけです。 +

Listen + ディレクティブはバーチャルホストを実装するものではありません。 + メインサーバにどのアドレスとポートで待ち受けるかを指示するだけです。 <VirtualHost> - ディレクティブが使われない場合は、 - 受け入れたリクエストすべてに対して全く同じ挙動をします。 - しかしながら + ディレクティブが使われない場合、サーバは受け付けたすべてのリクエストに + 対して同じように振る舞います。しかし、 <VirtualHost> - を使って、 - 一つ以上のアドレスやポートに対して異なる挙動をするように - 指定することができます。 - VirtualHost を実装するには、まず初めに使用したいアドレスとポートに対して - サーバが Listen していなければなりません。 - そして、その指定したアドレスとポートでの - このバーチャルホストの挙動を設定するために、 + を使って、一つ以上のアドレスやポートに対して + 異なる振る舞いを指定することができます。 + VirtualHost を実装するには、まず使用するアドレスとポートで + サーバが待ち受けている必要があります。 + そして、指定したアドレスとポートでのバーチャルホストの振る舞いを + 設定するために <VirtualHost> - セクションを作ります。もし + セクションを作成します。 + サーバが待ち受けていないアドレスとポートに対して <VirtualHost> - が Listen していないアドレスとポートに対して - 設定されてしまうと、 - それにはアクセスできないということに注意してください。

+ が設定された場合、そのバーチャルホストにはアクセスできないことに + 注意してください。

翻訳済み言語:  de  | diff --git a/docs/manual/bind.html.ko.euc-kr b/docs/manual/bind.html.ko.euc-kr index 20ccaea1b3..4f1329bd5d 100644 --- a/docs/manual/bind.html.ko.euc-kr +++ b/docs/manual/bind.html.ko.euc-kr @@ -31,14 +31,14 @@  ko  |  tr 

-
ÀÌ ¹®¼­´Â ÃÖ½ÅÆÇ ¹ø¿ªÀÌ ¾Æ´Õ´Ï´Ù. - ÃÖ±Ù¿¡ º¯°æµÈ ³»¿ëÀº ¿µ¾î ¹®¼­¸¦ Âü°íÇϼ¼¿ä.
-

¾ÆÆÄÄ¡°¡ ƯÁ¤ ÁÖ¼Ò¿Í Æ÷Æ®¿¡¼­ ¼­ºñ½ºÇϵµ·Ï ¼³Á¤Çϱâ.

+

Apache HTTP Server°¡ ƯÁ¤ ÁÖ¼Ò¿Í Æ÷Æ®¿¡¼­ ¼ö½ÅÇϵµ·Ï ¼³Á¤ÇÕ´Ï´Ù.

Âü°í

top
@@ -48,103 +48,166 @@ -

¾ÆÆÄÄ¡¸¦ ½ÃÀÛÇÏ¸é ¾ÆÆÄÄ¡´Â ÄÄÇ»ÅÍÀÇ ¾î¶² Æ÷Æ®¿Í ÁÖ¼Ò¿¡ - ¿¬°áÇÏ¿©, µé¾î¿À´Â ¿äûÀ» ±â´Ù¸°´Ù. ±âº»ÀûÀ¸·Î ¾ÆÆÄÄ¡´Â - ÄÄÇ»ÅÍÀÇ ¸ðµç ÁÖ¼Ò¿¡¼­ ±â´Ù¸°´Ù. ±×·¯³ª ¾ÆÆÄÄ¡°¡ ƯÁ¤ Æ÷Æ®³ª - ¼±ÅÃÇÑ ÁÖ¼Ò¸¸À» ±â´Ù¸®°Ô ÇØ¾ßÇÒ °æ¿ì°¡ ÀÖ´Ù. ¶Ç ÀÌ ¹®Á¦´Â - ¾ÆÆÄÄ¡°¡ ¾î¶»°Ô ´Ù¸¥ IP ÁÖ¼Ò, È£½ºÆ®¸í, Æ÷Æ®¿¡ ¹ÝÀÀÇÒÁö¸¦ - °áÁ¤ÇÏ´Â °¡»óÈ£½ºÆ® ±â´É°úµµ °ü·ÃµÇÀÖ´Ù.

+

httpd´Â ½ÃÀÛÇÒ ¶§ ·ÎÄà ¸Ó½ÅÀÇ Æ¯Á¤ Æ÷Æ®¿Í ÁÖ¼Ò¿¡ ¿¬°á(bind)Çϰí + µé¾î¿À´Â ¿äûÀ» ±â´Ù¸³´Ï´Ù. ±âº»ÀûÀ¸·Î ¸Ó½ÅÀÇ ¸ðµç ÁÖ¼Ò¿¡¼­ + ¼ö½ÅÇÕ´Ï´Ù. ±×·¯³ª ƯÁ¤ Æ÷Æ®¿¡¼­¸¸ ¼ö½ÅÇϰųª, ¼±ÅÃÇÑ ÁÖ¼Ò¿¡¼­¸¸ + ¼ö½ÅÇϰųª, µÎ °¡Áö¸¦ Á¶ÇÕÇϵµ·Ï ¼³Á¤ÇØ¾ß ÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÌ ±â´ÉÀº + httpd°¡ ¼­·Î ´Ù¸¥ IP ÁÖ¼Ò, È£½ºÆ®¸í, Æ÷Æ®¿¡ ¾î¶»°Ô + ÀÀ´äÇÒÁö °áÁ¤ÇÏ´Â °¡»óÈ£½ºÆ® ±â´É°ú ÇÔ²² + »ç¿ëÇÏ´Â °æ¿ì°¡ ¸¹½À´Ï´Ù.

Listen Áö½Ã¾î´Â - ¼­¹ö°¡ ƯÁ¤ Æ÷Æ®³ª ÁÖ¼Ò¿Í Æ÷Æ® Á¶ÇÕ¿¡¼­¸¸ ¿äûÀ» ¹Þ°Ô - ÇÑ´Ù. Listen - Áö½Ã¾î¿¡ Æ÷Æ® ¹øÈ£¸¸ ÁöÁ¤Çϸé, ¼­¹ö´Â ¸ðµç ÀÎÅÍÆäÀ̽º¿¡¼­ - ÁöÁ¤ÇÑ Æ÷Æ®¸¦ ±â´Ù¸°´Ù. ¿©·¯ Listen Áö½Ã¾î·Î ±â´Ù¸± ¿©·¯ - ÁÖ¼Ò¿Í Æ÷Æ®¸¦ ÁöÁ¤ÇÒ ¼öµµ ÀÖ´Ù. ¼­¹ö´Â ¿­°ÅÇÑ ÁÖ¼Ò¿Í Æ÷Æ®·Î - ¿äûÀÌ µé¾î¿À¸é ÀÀ´äÇÑ´Ù.

+ ¼­¹ö°¡ ÁöÁ¤ÇÑ Æ÷Æ® ¶Ç´Â ÁÖ¼Ò¿Í Æ÷Æ® Á¶ÇÕ¿¡¼­¸¸ µé¾î¿À´Â ¿äûÀ» + ¹Þ¾ÆµéÀ̵µ·Ï ÇÕ´Ï´Ù. Listen + Áö½Ã¾î¿¡ Æ÷Æ® ¹øÈ£¸¸ ÁöÁ¤ÇÏ¸é ¼­¹ö´Â ¸ðµç ÀÎÅÍÆäÀ̽º¿¡¼­ ÇØ´ç + Æ÷Æ®¸¦ ¼ö½ÅÇÕ´Ï´Ù. IP ÁÖ¼Ò¿Í Æ÷Æ®¸¦ ÇÔ²² ÁöÁ¤ÇÏ¸é ¼­¹ö´Â ÇØ´ç + Æ÷Æ®¿Í ÀÎÅÍÆäÀ̽º¿¡¼­ ¼ö½ÅÇÕ´Ï´Ù. ¿©·¯ °³ÀÇ + Listen Áö½Ã¾î¸¦ »ç¿ëÇÏ¿© + ¼ö½ÅÇÒ ÁÖ¼Ò¿Í Æ÷Æ®¸¦ ¿©·¯ °³ ÁöÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù. ¼­¹ö´Â ³ª¿­µÈ + ÁÖ¼Ò¿Í Æ÷Æ®¿¡¼­ µé¾î¿À´Â ¸ðµç ¿äû¿¡ ÀÀ´äÇÕ´Ï´Ù.

+ +

¿¹¸¦ µé¾î, ¸ðµç ÀÎÅÍÆäÀ̽º¿¡¼­ 80¹ø Æ÷Æ®¿Í 8000¹ø Æ÷Æ® ¸ðµÎ¿¡¼­ + ¿¬°áÀ» ¹Þ¾ÆµéÀÌ·Á¸é ´ÙÀ½°ú °°ÀÌ ¼³Á¤ÇÕ´Ï´Ù:

+ +
Listen 80
+Listen 8000
+
-

¿¹¸¦ µé¾î, ¼­¹ö°¡ 80¹ø°ú 8000¹ø Æ÷Æ® ¸ðµÎ¿¡¼­ ¿¬°áÀ» - ¹Þµµ·Ï ÇÏ·Á¸é:

+

ÇÑ ÀÎÅÍÆäÀ̽º¿¡¼­´Â 80¹ø Æ÷Æ®·Î, ´Ù¸¥ ÀÎÅÍÆäÀ̽º¿¡¼­´Â 8000¹ø + Æ÷Æ®·Î ¿¬°áÀ» ¹Þ¾ÆµéÀÌ·Á¸é ´ÙÀ½°ú °°ÀÌ ¼³Á¤ÇÕ´Ï´Ù:

-

- Listen 80
- Listen 8000 -

+
Listen 192.0.2.1:80
+Listen 192.0.2.5:8000
+
-

¼­¹ö°¡ ÁöÁ¤ÇÑ µÎ ÀÎÅÍÆäÀ̽º¿Í Æ÷Æ®¿¡¼­ ¿¬°áÀ» ±â´Ù¸®µµ·Ï - ÇÏ·Á¸é,

+

IPv6 ÁÖ¼Ò´Â ´ÙÀ½ ¿¹¿Í °°ÀÌ ´ë°ýÈ£·Î °¨½Î¾ß ÇÕ´Ï´Ù:

-

- Listen 192.0.2.1:80
- Listen 192.0.2.5:8000 -

+
Listen [2001:db8::a00:20ff:fea7:ccea]:80
+
-

IPv6 ÁÖ¼Ò´Â ´ÙÀ½°ú °°ÀÌ ´ë°ýÈ£·Î ¹­¾î¾ß ÇÑ´Ù:

+

Listen Áö½Ã¾î°¡ Áߺ¹µÇ¸é + ¼­¹ö ½ÃÀÛÀ» ¸·´Â Ä¡¸íÀûÀÎ ¿À·ù°¡ ¹ß»ýÇÕ´Ï´Ù.

- Listen [2001:db8::a00:20ff:fea7:ccea]:80 + (48)Address already in use: make_sock: could not bind to address [::]:80

+ +

Ãß°¡ ¹®Á¦ ÇØ°á ¹æ¹ýÀº À§Å°ÀÇ + °ü·Ã ¹®¼­¸¦ Âü°íÇϽʽÿÀ.

+ +
+
top
-

IPv6¿¡¼­ Ưº°È÷ °í·ÁÇÒ Á¡

+

Àç½ÃÀ۽à Listen ¼³Á¤ º¯°æ

-

IPv6¸¦ ±¸ÇöÇÑ Ç÷¡ÆûÀÌ ´Ã°í ÀÖ°í APRÀÌ À̵é Ç÷¡Æû ´ëºÎºÐ¿¡¼­ - IPv6¸¦ Áö¿øÇϱ⶧¹®¿¡, ¾ÆÆÄÄ¡´Â IPv6 ¼ÒÄÏÀ» ÇÒ´çÇÏ¿© IPv6·Î - ¹ÞÀº ¿äûÀ» ó¸®ÇÒ ¼ö ÀÖ´Ù.

- -

¾ÆÆÄÄ¡ °ü¸®ÀÚ¿¡°Ô º¹ÀâÇÑ ºÎºÐÀº IPv6 ¼ÒÄÏÀÌ IPv4 ¿¬°á°ú - IPv6 ¿¬°áÀ» ¸ðµÎ ó¸®ÇÒ ¼ö ÀÖ´À³Ä´Â Á¡ÀÌ´Ù. ´ëºÎºÐÀÇ Ç÷¡Æû¿¡¼­´Â - IPv4-´ëÀÀ(mapped) IPv6 ÁÖ¼Ò¸¦ »ç¿ëÇÏ¿© IPv6 ¼ÒÄÏ¿¡¼­ IPv4 - ¿¬°áÀ» ¹ÞÁö¸¸, FreeBSD¿Í NetBSD¿Í OpenBSDÀº ½Ã½ºÅÛÀüü Á¤Ã¥¶§¹®¿¡ - ±âº»ÀûÀ¸·Î Çã¿ëÇÏÁö ¾Ê´Â´Ù. ±×·¯³ª ±âº»ÀûÀ¸·Î Çã¿ëÇÏÁö¾Ê´Â - ½Ã½ºÅÛÀÌ¶óµµ ¾ÆÆÄÄ¡¸¦ À§ÇØ Æ¯º°ÇÑ ¼³Á¤ ÆÄ¶ó¹ÌÅÍ·Î º¯°æÇÒ - ¼ö ÀÖ´Ù.

- -

¹Ý¸é ¸®´ª½º¿Í Tru64 °°Àº ÀϺΠÇ÷¡Æû¿¡¼­ IPv4¿Í IPv6À» - ¸ðµÎ ó¸®ÇÏ·Á¸é ´ëÀÀ ÁÖ¼Ò¸¦ »ç¿ëÇØ¾ß¸¸ - ÇÑ´Ù. ¾ÆÆÄÄ¡°¡ ÃÖ¼ÒÇÑÀÇ ¼ÒÄÏÀ» »ç¿ëÇÏ¿© IPv4 ¿¬°á°ú IPv6 - ¿¬°áÀ» ¸ðµÎ ¹Þµµ·ÏÇÏ·Á¸é, IPv4-´ëÀÀ IPv6 ÁÖ¼Ò¸¦ »ç¿ëÇϰí - configure ¿É¼Ç - --enable-v4-mapped¸¦ ÁöÁ¤ÇÑ´Ù.

+

httpd¸¦ Àç½ÃÀÛÇÒ ¶§ Listen + Áö½Ã¾îÀÇ º¯°æ »çÇ׿¡ ´ëÇØ Ưº°È÷ ÁÖÀÇÇØ¾ß ÇÕ´Ï´Ù. Àç½ÃÀÛ Áß¿¡ httpd´Â + ¼­¹ö¿¡ ´ëÇÑ »õ·Î¿î ¿¬°á ½Ãµµ¿¡¼­ "Connection refused" ¿À·ù°¡ ¹ß»ýÇÏÁö + ¾Êµµ·Ï (¿ø·¡ ¼³Á¤´ë·Î) Æ÷Æ®¸¦ ¹ÙÀεùÇÑ »óÅ·ΠÀ¯ÁöÇÕ´Ï´Ù. »ç¿ë ÁßÀÎ + Listen Áö½Ã¾î°¡ ÀÌÀü ¼³Á¤°ú + Ãæµ¹Çϵµ·Ï º¯°æµÇ¸é ¼³Á¤ÀÌ ½ÇÆÐÇÏ°í ¼­¹ö°¡ Á¾·áµË´Ï´Ù.

-

--enable-v4-mapped´Â FreeBSD, NetBSD, OpenBSD¸¦ - Á¦¿ÜÇÑ ¸ðµç Ç÷¡Æû¿¡¼­ ±âº»°ªÀ̰í, ¾Æ¸¶µµ ´ç½ÅÀÇ ¾ÆÆÄÄ¡µµ - ¸¶Âù°¡ÁöÀÏ °ÍÀÌ´Ù.

+

¿¹¸¦ µé¾î, ´ÙÀ½ ¼³Á¤¿¡¼­:

+ +
Listen 127.0.0.1:80
+
-

Ç÷¡Æû°ú APRÀÇ Áö¿ø¿©ºÎ¿Í °ü°è¾øÀÌ ¾ÆÆÄÄ¡°¡ IPv4 ¿¬°á¸¸À» - ¹Þµµ·ÏÇÏ·Á¸é, ´ÙÀ½ ¿¹Á¦¿Í °°ÀÌ ¸ðµç Listen Áö½Ã¾î¿¡ IPv4 ÁÖ¼Ò¸¦ - »ç¿ëÇÑ´Ù:

+

´ÙÀ½°ú °°ÀÌ º¯°æÇÏ¸é ½ÇÆÐÇÒ ¼ö ÀÖ½À´Ï´Ù. ¸ðµç ÁÖ¼Ò¿¡¼­ 80¹ø + Æ÷Æ®¿¡ ¹ÙÀεùÇÏ´Â °ÍÀÌ 127.0.0.1¿¡¼­¸¸ 80¹ø Æ÷Æ®¿¡ ¹ÙÀεùÇÏ´Â + °Í°ú Ãæµ¹Çϱ⠶§¹®ÀÔ´Ï´Ù.

-

- Listen 0.0.0.0:80
- Listen 192.0.2.1:80 -

+
Listen 80
+
-

Ç÷¡Æû¿¡¼­ Áö¿øÇÏ¸ç ¾ÆÆÄÄ¡°¡ ¼­·Î ´Ù¸¥ ¼ÒÄÏÀ¸·Î IPv4 - ¿¬°á°ú IPv6 ¿¬°áÀ» ¹Þµµ·ÏÇÏ·Á¸é (Áï IPv4-´ëÀÀ ÁÖ¼Ò¸¦ »ç¿ëÇÏÁö - ¾ÊÀ¸·Á¸é), configure - ¿É¼Ç --disable-v4-mapped¸¦ - ÁöÁ¤ÇÑ´Ù. --disable-v4-mapped´Â FreeBSD, NetBSD, - OpenBSD¿¡¼­ ±âº»°ªÀÌ´Ù.

+

ÀÌ·¯ÇÑ ¼³Á¤ º¯°æÀ» Àû¿ëÇÏ·Á¸é ¼­¹ö¸¦ ÁßÁöÇÑ ÈÄ ´Ù½Ã ½ÃÀÛÇØ¾ß + ÇÕ´Ï´Ù.

top
-

°¡»óÈ£½ºÆ®¿Í ¾î¶»°Ô ¿¬°üµÇ³ª

+

IPv6 Ưº° °í·Á»çÇ×

-

ListenÀº - °¡»óÈ£½ºÆ®¸¦ ¸¸µéÁö ¾Ê´Â´Ù. ÀÌ´Â ´ÜÁö ÁÖ¼­¹ö°¡ - ¾î¶² ÁÖ¼Ò¿Í Æ÷Æ®¸¦ ±â´Ù¸±Áö¸¸ ¾Ë·ÁÁØ´Ù. <VirtualHost> Áö½Ã¾î¸¦ - »ç¿ëÇÏÁö ¾ÊÀ¸¸é, ¼­¹ö´Â ¹ÞÀº ¸ðµç ¿äûÀ» ¶È°°ÀÌ Ã³¸®ÇÑ´Ù. - ±×·¯³ª <VirtualHost>·Î ¿©·¯ ÁÖ¼Ò¿Í Æ÷Æ®¿¡ - ´ëÇØ ´Ù¸¥ ÇൿÀ» ÁöÁ¤ÇÒ ¼ö ÀÖ´Ù. °¡»óÈ£½ºÆ®¸¦ ¸¸µé·Á¸é - ¸ÕÀú ¼­¹ö¿¡°Ô »ç¿ëÇÒ ÁÖ¼Ò¿Í Æ÷Æ®¸¦ ¾Ë·ÁÁà¾ß ÇÑ´Ù. ±×¸®°í - ƯÁ¤ ÁÖ¼Ò¿Í Æ÷Æ®¿¡ ´ëÇÑ °¡»óÈ£½ºÆ®ÀÇ ÇൿÀ» ÁöÁ¤ÇÒ +

Á¡Á¡ ´õ ¸¹Àº Ç÷§ÆûÀÌ IPv6¸¦ ±¸ÇöÇϰí ÀÖÀ¸¸ç, + APRÀº ÀÌ·¯ÇÑ Ç÷§Æû ´ëºÎºÐ¿¡¼­ IPv6¸¦ + Áö¿øÇϹǷΠhttpd°¡ IPv6 ¼ÒÄÏÀ» ÇÒ´çÇϰí IPv6¸¦ ÅëÇØ Àü¼ÛµÈ + ¿äûÀ» ó¸®ÇÒ ¼ö ÀÖ½À´Ï´Ù.

+ +

httpd °ü¸®ÀÚ¿¡°Ô º¹ÀâÇÑ ¿ä¼Ò Áß Çϳª´Â IPv6 ¼ÒÄÏÀÌ IPv4 + ¿¬°á°ú IPv6 ¿¬°áÀ» ¸ðµÎ ó¸®ÇÒ ¼ö ÀÖ´ÂÁö ¿©ºÎÀÔ´Ï´Ù. IPv6 + ¼ÒÄÏÀ¸·Î IPv4 ¿¬°áÀ» ó¸®ÇÏ·Á¸é IPv4 ¸ÅÇÎ IPv6 ÁÖ¼Ò¸¦ + »ç¿ëÇϴµ¥, ´ëºÎºÐÀÇ Ç÷§Æû¿¡¼­´Â ±âº»ÀûÀ¸·Î Çã¿ëµÇÁö¸¸ + FreeBSD, NetBSD, OpenBSD¿¡¼­´Â ÇØ´ç Ç÷§ÆûÀÇ ½Ã½ºÅÛ Àüü + Á¤Ã¥¿¡ ¸ÂÃß¾î ±âº»ÀûÀ¸·Î Çã¿ëµÇÁö ¾Ê½À´Ï´Ù. ±âº»ÀûÀ¸·Î + Çã¿ëµÇÁö ¾Ê´Â ½Ã½ºÅÛ¿¡¼­´Â Ưº°ÇÑ configure + ¸Å°³º¯¼ö·Î httpdÀÇ ÀÌ µ¿ÀÛÀ» º¯°æÇÒ ¼ö ÀÖ½À´Ï´Ù.

+ +

¹Ý¸é¿¡ Linux¿Í Tru64 °°Àº ÀϺΠÇ÷§Æû¿¡¼­´Â IPv6¿Í IPv4¸¦ + ¸ðµÎ ó¸®ÇÏ´Â À¯ÀÏÇÑ ¹æ¹ýÀÌ ¸ÅÇÎ ÁÖ¼Ò¸¦ + »ç¿ëÇÏ´Â °ÍÀÔ´Ï´Ù. httpd°¡ ÃÖ¼ÒÇÑÀÇ ¼ÒÄÏÀ¸·Î IPv4¿Í + IPv6 ¿¬°áÀ» ¸ðµÎ ó¸®Çϵµ·Ï ÇÏ·Á¸é IPv4 ¸ÅÇÎ IPv6 ÁÖ¼Ò¸¦ + »ç¿ëÇØ¾ß Çϸç, --enable-v4-mapped + configure ¿É¼ÇÀ» ÁöÁ¤ÇϽʽÿÀ.

+ +

--enable-v4-mapped´Â FreeBSD, NetBSD, OpenBSD¸¦ + Á¦¿ÜÇÑ ¸ðµç Ç÷§Æû¿¡¼­ ±âº»°ªÀ̹ǷÎ, ¾Æ¸¶µµ ¿©·¯ºÐÀÇ httpd´Â + ÀÌ·¸°Ô ºôµåµÇ¾úÀ» °ÍÀÔ´Ï´Ù.

+ +

Ç÷§Æû°ú APRÀÇ Áö¿ø ¿©ºÎ¿¡ °ü°è¾øÀÌ httpd°¡ IPv4 ¿¬°á¸¸ + ó¸®Çϵµ·Ï ÇÏ·Á¸é ´ÙÀ½ ¿¹¿Í °°ÀÌ ¸ðµç + Listen Áö½Ã¾î¿¡ + IPv4 ÁÖ¼Ò¸¦ ÁöÁ¤ÇϽʽÿÀ:

+ +
Listen 0.0.0.0:80
+Listen 192.0.2.1:80
+
+ +

Ç÷§ÆûÀÌ Áö¿øÇϰí httpd°¡ º°µµÀÇ ¼ÒÄÏ¿¡¼­ IPv4¿Í IPv6 + ¿¬°áÀ» ó¸®Çϵµ·Ï ÇÏ·Á¸é (Áï, IPv4 ¸ÅÇÎ ÁÖ¼Ò¸¦ ºñȰ¼ºÈ­ÇÏ·Á¸é) + --disable-v4-mapped + configure ¿É¼ÇÀ» ÁöÁ¤ÇϽʽÿÀ. + --disable-v4-mapped´Â FreeBSD, NetBSD, + OpenBSD¿¡¼­ ±âº»°ªÀÔ´Ï´Ù.

+
top
+
+

Listen¿¡¼­ ÇÁ·ÎÅäÄÝ ÁöÁ¤

+ +

ListenÀÇ ¼±ÅÃÀûÀÎ + µÎ ¹øÂ° protocol Àμö´Â ´ëºÎºÐÀÇ ¼³Á¤¿¡¼­ ÇÊ¿äÇÏÁö + ¾Ê½À´Ï´Ù. ÁöÁ¤ÇÏÁö ¾ÊÀ¸¸é 443¹ø Æ÷Æ®¿¡´Â https°¡, + ´Ù¸¥ ¸ðµç Æ÷Æ®¿¡´Â http°¡ ±âº»°ªÀ¸·Î »ç¿ëµË´Ï´Ù. + ÇÁ·ÎÅäÄÝÀº ¾î¶² ¸ðµâÀÌ ¿äûÀ» ó¸®ÇÒÁö °áÁ¤Çϰí, + AcceptFilter Áö½Ã¾î·Î + ÇÁ·ÎÅäÄݺ° ÃÖÀûÈ­¸¦ Àû¿ëÇÏ´Â µ¥ »ç¿ëµË´Ï´Ù.

+ +

ºñÇ¥ÁØ Æ÷Æ®¿¡¼­ ½ÇÇàÇÏ´Â °æ¿ì¿¡¸¸ ÇÁ·ÎÅäÄÝÀ» ¼³Á¤ÇÏ¸é µË´Ï´Ù. + ¿¹¸¦ µé¾î, 8443¹ø Æ÷Æ®¿¡¼­ https »çÀÌÆ®¸¦ ½ÇÇàÇÏ´Â + °æ¿ì:

+ +
Listen 192.170.2.1:8443 https
+
+
top
+
+

°¡»óÈ£½ºÆ®¿ÍÀÇ °ü°è

+ + +

Listen Áö½Ã¾î´Â + °¡»óÈ£½ºÆ®¸¦ ±¸ÇöÇÏÁö ¾ÊÀ¸¸ç, ÁÖ ¼­¹ö°¡ ¾î¶² ÁÖ¼Ò¿Í Æ÷Æ®¿¡¼­ + ¼ö½ÅÇÒÁö¸¸ ÁöÁ¤ÇÕ´Ï´Ù. + <VirtualHost> + Áö½Ã¾î¸¦ »ç¿ëÇÏÁö ¾ÊÀ¸¸é ¼­¹ö´Â ¹Þ¾ÆµéÀÎ ¸ðµç ¿äû¿¡ ´ëÇØ + µ¿ÀÏÇÏ°Ô µ¿ÀÛÇÕ´Ï´Ù. ±×·¯³ª + <VirtualHost>¸¦ + »ç¿ëÇÏ¿© Çϳª ÀÌ»óÀÇ ÁÖ¼Ò³ª Æ÷Æ®¿¡ ´ëÇØ ´Ù¸¥ µ¿ÀÛÀ» ÁöÁ¤ÇÒ ¼ö + ÀÖ½À´Ï´Ù. °¡»óÈ£½ºÆ®¸¦ ±¸ÇöÇÏ·Á¸é ¸ÕÀú ¼­¹ö°¡ »ç¿ëÇÒ ÁÖ¼Ò¿Í + Æ÷Æ®¸¦ ¼ö½ÅÇϵµ·Ï ¼³Á¤ÇØ¾ß ÇÕ´Ï´Ù. ±×·± ´ÙÀ½ ÁöÁ¤ÇÑ ÁÖ¼Ò¿Í + Æ÷Æ®¿¡ ´ëÇØ <VirtualHost> - ¼½¼ÇÀÌ ÇÊ¿äÇÏ´Ù. ÁÖ¼­¹ö°¡ ±â´Ù¸®Áö¾Ê´Â ÁÖ¼Ò¿Í Æ÷Æ®¸¦ »ç¿ëÇÏ´Â - <VirtualHost>´Â - Á¢±ÙÇÒ ¼ö ¾øÀ½À» ÁÖÀÇÇ϶ó.

+ ¼½¼ÇÀ» ¸¸µé¾î ÀÌ °¡»óÈ£½ºÆ®ÀÇ µ¿ÀÛÀ» ¼³Á¤ÇØ¾ß ÇÕ´Ï´Ù. ¼­¹ö°¡ + ¼ö½ÅÇÏÁö ¾Ê´Â ÁÖ¼Ò¿Í Æ÷Æ®¿¡ ´ëÇØ + <VirtualHost>¸¦ + ¼³Á¤Çϸé Á¢±ÙÇÒ ¼ö ¾ø´Ù´Â Á¡¿¡ ÁÖÀÇÇϽʽÿÀ.

°¡´ÉÇÑ ¾ð¾î:  de  | diff --git a/docs/manual/bind.html.tr.utf8 b/docs/manual/bind.html.tr.utf8 index 7ab49f1958..8c8d0cbdd1 100644 --- a/docs/manual/bind.html.tr.utf8 +++ b/docs/manual/bind.html.tr.utf8 @@ -31,12 +31,12 @@  ko  |  tr 

-
Bu çeviri güncel olmayabilir. Son değişiklikler için İngilizce sürüm geçerlidir.

Apache HTTPD sunucusunun belli adresleri ve portları dinlemek üzere yapılandırılması.

top
+
top
+
+

Yeniden başlatmada dinleme yapılandırmasının değiştirilmesi

+ + +

httpd yeniden başlatıldığında, Listen yönergelerindeki değişiklikler için + özel olarak dikkat edilmelidir. Yeniden başlatma sırasında httpd, portları + (özgün yapılandırmadaki gibi) bağlı tutar ve sunucuya yeni bağlantı + girişimleri için "Connection refused" hatalarının oluşmasını engeller. + Kullanılan Listen yönergeleri + kümesinde eski yapılandırmayla çelişen değişiklikler yapılırsa, + yapılandırma başarısız olur ve sunucu sonlandırılır.

+ +

Örneğin, yapılandırmanın:

+ +
Listen 127.0.0.1:80
+
+ +

aşağıdaki gibi değiştirilmesi başarısız olabilir, çünkü tüm + adreslerde 80 portuna bağlanmak sadece 127.0.0.1 üzerinde 80 portuna + bağlanmakla çelişir.

+ +
Listen 80
+
+ +

Bu tür yapılandırma değişikliklerinin etkili olması için sunucunun + durdurulması ve sonra başlatılması gerekir.

+ +
top

IPv6 Adreslerin Durumu

@@ -137,10 +165,9 @@ tüm Listen yönergelerinde örnekteki gibi IPv4 adresleri belirtiniz:

-

- Listen 0.0.0.0:80
- Listen 192.0.2.1:80 -

+
Listen 0.0.0.0:80
+Listen 192.0.2.1:80
+

Platformunuz IPv4 ve IPv6 adresleri ayrı soketlerden kabul ediyorsa ve httpd’nin de buna uygun davranmasını (yani IPv4 eşlemli IPv6 @@ -162,9 +189,8 @@ gerekir. Örneğin, birhttps sitesini port 8443 üzerinde çalıştırmak isterseniz:

-

- Listen 192.170.2.1:8443 https -

+
Listen 192.170.2.1:8443 https
+
top

Sanal Konaklarla Nasıl Çalışır?

diff --git a/docs/manual/bind.xml.ja b/docs/manual/bind.xml.ja index 0547cef013..56d6f0e429 100644 --- a/docs/manual/bind.xml.ja +++ b/docs/manual/bind.xml.ja @@ -1,7 +1,7 @@ - + - + + + -Tutoriel Apache : Contenu dynamique basé sur CGI - Serveur HTTP Apache Version 2.5 +Didacticiel du serveur HTTP Apache : Contenu dynamique basé sur CGI - Serveur HTTP Apache Version 2.5 @@ -21,7 +21,7 @@
<-
-Apache > Serveur HTTP > Documentation > Version 2.5 > Recettes et tutoriels

Tutoriel Apache : Contenu dynamique basé sur CGI

+Apache > Serveur HTTP > Documentation > Version 2.5 > Recettes et tutoriels

Didacticiel du serveur HTTP Apache : Contenu dynamique basé sur CGI

Langues Disponibles:  en  |  es  | @@ -29,11 +29,9 @@  ja  |  ko 

-
Cette traduction peut être périmée. Vérifiez la version - anglaise pour les changements récents.
top
-

Configurer Apache pour autoriser CGI

+

Configurer httpd pour autoriser CGI

-

Apache doit être configuré pour permettre l'exécution des +

httpd doit être configuré pour permettre l'exécution des programmes CGI, pour que vos programmes CGI puissent fonctionner correctement. Il existe plusieurs méthodes pour y parvenir.

-
Note: si Apache a été compilé avec le support +
Note: si httpd a été compilé avec le support des modules partagés (DSO), vous devez vous assurer que le module CGI est chargé ; vous devez pour cela vérifier que la directive LoadModule correspondante n'a pas été commentée dans votre httpd.conf. Une directive correcte @@ -84,8 +82,8 @@

ScriptAlias

-

La directive ScriptAlias indique à Apache qu'un - répertoire particulier est dédié aux programmes CGI. Apache +

La directive ScriptAlias indique à httpd qu'un + répertoire particulier est dédié aux programmes CGI. httpd considérera que tout fichier situé dans ce répertoire est un programme CGI, et tentera de l'exécuter lorsque cette ressource fera l'objet d'une requête client.

@@ -97,7 +95,7 @@

Cet exemple est tiré de votre fichier de configuration - httpd.conf par défaut, si vous avez installé Apache + httpd.conf par défaut, si vous avez installé httpd dans son répertoire par défaut. La directive ScriptAlias est similaire à la directive Alias, qui définit à quel répertoire particulier doit correspondre un préfixe @@ -109,17 +107,17 @@ réside dans le fait que ScriptAlias indique en plus que tout ce qui se trouve sous le préfixe d'URL doit être considéré comme un programme CGI. Ainsi, l'exemple ci-dessus - indique à Apache que toute requête pour une ressource commençant + indique à httpd que toute requête pour une ressource commençant par /cgi-bin/ doit être servie depuis le répertoire /usr/local/apache2/cgi-bin/, et doit être traitée en tant que programme CGI.

Par exemple, si une requête pour l'URL http://www.example.com/cgi-bin/test.pl est - effectuée, Apache tentera d'exécuter le fichier + effectuée, httpd tentera d'exécuter le fichier /usr/local/apache2/cgi-bin/test.pl et en renverra la sortie. Bien entendu, le fichier doit exister, être exécutable, et - retourner sa sortie d'une manière particulière, sinon Apache + retourner sa sortie d'une manière particulière, sinon httpd renverra un message d'erreur.

@@ -163,7 +161,7 @@ </Directory> -

La directive ci-dessus indique à Apache qu'il doit permettre +

La directive ci-dessus indique à httpd qu'il doit permettre l'exécution des fichiers CGI. Vous devez aussi indiquer au serveur quels fichiers sont des fichiers CGI. La directive AddHandler suivante indique au serveur qu'il doit traiter tous les fichiers possédant une @@ -251,7 +249,7 @@ print "Hello, World.";

Même si Perl ne vous est pas familier, vous devriez être capable de comprendre le fonctionnement de ce programme. La - première ligne indique à Apache (ou à toute interface à partir de + première ligne indique à httpd (ou à toute interface à partir de laquelle le programme s'exécute) que ce programme peut être exécuté en fournissant son fichier à l'interpréteur /usr/bin/perl. La seconde ligne affiche la @@ -295,19 +293,19 @@ print "Hello, World.";

Le code source de votre programme CGI ou un message "POST Method Not Allowed"
-
Cela signifie que vous n'avez pas configuré Apache de manière +
Cela signifie que vous n'avez pas configuré httpd de manière à ce qu'il puisse traiter votre programme CGI. Relisez la section - sur la configuration d'Apache, et + sur la configuration de httpd, et essayez de trouver votre erreur.
Un message commençant par "Forbidden"
Ce type de message est révélateur d'un problème de droits. Consultez le journal des erreurs - d'Apache et la section ci-dessous sur les droits des fichiers.
+ de httpd et la section ci-dessous sur les droits des fichiers.
Un message contenant "Internal Server Error"
Si vous consultez le journal des erreurs - d'Apache, vous y trouverez probablement des messages du type + de httpd, vous y trouverez probablement des messages du type "Premature end of script headers" (Fin prématurée des en-têtes de script), éventuellement accompagnés d'un message d'erreur généré par votre programme CGI. Dans ce cas, il va vous falloir lire @@ -384,7 +382,7 @@ print "Hello, World.";

Si votre programme CGI dépend de variables d'environnement non standards, vous devrez vous assurez que - ces variables lui sont bien transmises par Apache.

+ ces variables lui sont bien transmises par httpd.

Lorsque des en-têtes HTTP ne sont pas transmis à l'environnement, assurez-vous qu'ils sont bien formatés selon la @@ -412,13 +410,13 @@ print "Hello, World.";

(N'invoquez pas l'interpréteur perl. Le shell et - Apache doivent être capable de le déterminer à partir de l'information sur le chemin située sur + httpd doivent être capable de le déterminer à partir de l'information sur le chemin située sur la première ligne du script.)

La première chose que vous devriez voir affichée par votre programme est un ensemble d'en-têtes HTTP, comprenant entre autres le Content-Type, et suivi d'une ligne vide. Si vous - voyez quoi que ce soit d'autre, Apache renverra l'erreur + voyez quoi que ce soit d'autre, httpd renverra l'erreur Premature end of script headers si vous tentez d'exécuter le programme depuis le serveur. Voir Ecriture d'un programme CGI ci-dessus pour plus de détails.

@@ -451,7 +449,7 @@ print "Hello, World.";

Pour savoir si vous pouvez utiliser suexec, tapez la commande apachectl -V, et regardez le chemin indiqué par - SUEXEC_BIN. Si au démarrage d'Apache, ce dernier + SUEXEC_BIN. Si au démarrage d'httpd, ce dernier trouve un exécutable suexec dans ce chemin, suexec sera activé.

@@ -494,7 +492,7 @@ print "Hello, World."; définissent aussi des variables d'environnement, de façon à ce qu'ils puissent communiquer entre eux. Ces variables définissent entre autre le type de navigateur (Netscape, IE, Lynx), le type de - serveur (Apache, IIS, WebSite), le nom du programme CGI en cours + serveur (httpd, IIS, WebSite), le nom du programme CGI en cours d'exécution, etc...

Ces variables sont à la disposition du programmeur CGI, et @@ -505,12 +503,12 @@ print "Hello, World.";

Ce programme CGI basique en Perl permet d'afficher toutes les variables d'environnement qui sont échangées. Deux programmes - similaires sont fournis avec la distribution d'Apache et situés + similaires sont fournis avec la distribution de httpd et situés dans le répertoire cgi-bin. Notez que certaines variables sont obligatoires, alors que d'autres sont optionnelles, si bien que vous verrez s'afficher certaines variables qui ne font pas partie - de la liste officielle. De plus, Apache vous propose de nombreuses + de la liste officielle. De plus, httpd vous propose de nombreuses méthodes pour ajouter vos propres variables d'environnement aux variables de base fournies par défaut.

@@ -609,8 +607,8 @@ foreach my $key (keys %ENV) {

Notez que les questions à propos de problèmes CGI ne doivent jamais être postées dans la base de données de - bogues d'Apache, à moins que vous ne soyez sûr d'avoir trouvé un - problème dans le code source d'Apache.

+ bogues de httpd, à moins que vous ne soyez sûr d'avoir trouvé un + problème dans le code source de httpd.

Langues Disponibles:  en  | diff --git a/docs/manual/howto/cgi.xml.meta b/docs/manual/howto/cgi.xml.meta index b7cd1c9800..c7cff59430 100644 --- a/docs/manual/howto/cgi.xml.meta +++ b/docs/manual/howto/cgi.xml.meta @@ -9,7 +9,7 @@ en es - fr + fr ja ko diff --git a/docs/manual/misc/perf-scaling.html.en.utf8 b/docs/manual/misc/perf-scaling.html.en.utf8 index 0f8549bdf4..b003c48e1b 100644 --- a/docs/manual/misc/perf-scaling.html.en.utf8 +++ b/docs/manual/misc/perf-scaling.html.en.utf8 @@ -29,14 +29,14 @@

-

The Performance Tuning page in the Apache 1.3 documentation says: +

The Performance Tuning page in the Apache HTTP Server 1.3 documentation says:

- "Apache is a general webserver, which is designed to be + "httpd is a general webserver, which is designed to be correct first, and fast second. Even so, its performance is quite satisfactory. Most sites have less than 10Mbits of outgoing bandwidth, which - Apache can fill using only a low end Pentium-based + httpd can fill using only a low end Pentium-based webserver."

However, this sentence was written a few years ago, and in the @@ -78,7 +78,7 @@ gather information about its performance, or lack thereof. We'll assume that you don't have an unlimited budget for server hardware, so the existing infrastructure will have to do the - job. You have no desire to compile your own Apache, or to recompile + job. You have no desire to compile your own httpd, or to recompile the operating system kernel. We do assume, though, that you have some familiarity with the Apache httpd configuration file.

@@ -272,7 +272,7 @@ Swap: 3903784 12540 3891244

The mod_status module gives an overview of the server performance at a given moment. It generates an HTML page - with, among others, the number of Apache processes running + with, among others, the number of httpd processes running and how many bytes each has served, and the CPU load caused by httpd and the rest of the system. The Apache Software Foundation uses mod_status on its own @@ -344,7 +344,7 @@ Swap: 3903784 12540 3891244

On a server that is visible to the Internet, expect to see a lot of exploit attempt and worm attacks in the error log. A lot of these will be targeted at other server platforms - instead of Apache, but the current state of affairs is that + instead of httpd, but the current state of affairs is that attack scripts just throw everything they have at any open port, regardless of which server is actually running or what applications might be installed. You could block these @@ -520,7 +520,7 @@ Swap: 3903784 12540 3891244

-

-

Remote username as authenticated by Apache

+

Remote username as authenticated by httpd

@@ -602,7 +602,7 @@ Swap: 3903784 12540 3891244

This approach also works on Windows, just not as smoothly. While the httpd process on your Windows server will keep writing to the log file after it has been renamed, the - Windows Service that runs Apache can not do a graceful + Windows Service that runs httpd can not do a graceful restart. Restarting a Service on Windows means stopping it and then starting it again. The advantage of a graceful restart is that the httpd child processes get to complete @@ -629,9 +629,9 @@ CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common

The program on the other end of the pipe will receive the - Apache log data on its stdin stream, and can do with this + httpd log data on its stdin stream, and can do with this data whatever it wants. The rotatelogs program that comes - with Apache seamlessly turns over the log file based on + with httpd seamlessly turns over the log file based on time elapsed or the amount of data written, and leaves the old log files with a timestamp suffix to its name. This method for rotating logfiles works well on unix platforms, @@ -643,7 +643,7 @@ CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common

Logging and Performance

-

Writing entries to the Apache log files obviously takes some +

Writing entries to the httpd log files obviously takes some effort, but the information gathered from the logs is so valuable that under normal circumstances logging should not be turned off. For optimal performance, you should put your @@ -672,12 +672,12 @@ CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common to make httpd print the hostname of the virtual host that received the request or the error at the beginning of each log line. A simple Perl script can split out the log file - after it rotates: one is included with the Apache source + after it rotates: one is included with the httpd source under support/split-logfile.

You can use the BufferedLogs - directive to have Apache collect several log lines in + directive to have httpd collect several log lines in memory before writing them to disk. This might yield better performance, but could affect the order in which the server's log is written. @@ -696,7 +696,7 @@ CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common test load against your web server.

@@ -740,16 +740,16 @@ CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common

Httpd Configuration

-

The Apache 2.2 httpd is by default a pre-forking web server. +

The httpd 2.2 server is by default a pre-forking web server. When the server starts, the parent process spawns a number of child processes that do the actual work of servicing requests. - But Apache httpd 2.0 introduced the concept of the + But httpd 2.0 introduced the concept of the Multi-Processing Module (MPM). Developers can write MPMs to suit the process- or threadingarchitecture of their specific - operating system. Apache 2 comes with special MPMs for Windows, + operating system. httpd 2 comes with special MPMs for Windows, OS/2, Netware and BeOS. On unix-like platforms, the two most popular MPMs are Prefork and Worker. The Prefork MPM offers the - same pre-forking process model that Apache 1.3 uses. The Worker + same pre-forking process model that httpd 1.3 uses. The Worker MPM runs a smaller number of child processes, and spawns multiple request handling threads within each child process. In 2.4 MPMs are no longer hard-wired. They too can be exchanged @@ -785,7 +785,7 @@ CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common and MaxSpareServers - ,which specify the number of workers Apache keeps waiting + ,which specify the number of workers httpd keeps waiting in the wings ready to serve requests. The absolute maximum number of processes is configurable through the ServerLimit @@ -804,11 +804,11 @@ CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common complicated. Threaded MPMs support the ThreadsPerChild - directive1 . Apache requires that MaxClients + directive1 . httpd requires that MaxClients is evenly divisible by ThreadsPerChild .If you set either directive to a number that doesn't - meet this requirement, Apache will send a message of + meet this requirement, httpd will send a message of complaint to the error log and adjust the ThreadsPerChild @@ -848,7 +848,7 @@ CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common

The difference between these two is the amount of memory per-process. The shared segment really exists only once and is used for the code and libraries loaded and the dynamic - inter-process tally, or 'scoreboard,' that Apache + inter-process tally, or 'scoreboard,' that httpd keeps. How much memory each process takes for itself depends heavily on the number and kind of modules you use. The best approach to use in determining this need is to @@ -908,7 +908,7 @@ CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common

This has been a sore point within the PHP community. The PHP processor heavily relies on third-party libraries and cannot guarantee that all of these are thread-safe. The - good news is that if you are running Apache on Linux, you + good news is that if you are running httpd on Linux, you can run PHP in the preforked MPM without fear of losing too much performance relative to the threaded option.

@@ -949,7 +949,7 @@ CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common the server may exhibit the Thundering Herd syndrome.

Consider an American Football team poised on the line of - scrimmage. If the football players were Apache processes + scrimmage. If the football players were httpd processes all team members would go for the ball simultaneously at the snap. One process would get it, and all the others would have to lumber back to the line for the next snap. In @@ -962,9 +962,9 @@ CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common avoid it whenever possible. Hence the revolving door construction. In recent years, many operating systems, including Linux and Solaris, have put code in place to - prevent the Thundering Herd syndrome. Apache recognizes + prevent the Thundering Herd syndrome. httpd recognizes this and if you run with just one network listener, meaning - one virtual host or just the main server, Apache will + one virtual host or just the main server, httpd will refrain from using an accept mutex. If you run with multiple listeners (for instance because you have a virtual host serving SSL requests), it will activate the accept @@ -983,7 +983,7 @@ CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common manipulate them with care.

There is no compelling reason to disable the accept mutex. - Apache automatically recognizes the single listener + httpd automatically recognizes the single listener situation described above and knows if it is safe to run without mutex on your platform.

@@ -1009,12 +1009,12 @@ CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common

The usual mantra regarding RAM is "more is better". As discussed above, unused RAM is put to good - use as file system cache. The Apache processes get bigger + use as file system cache. The httpd processes get bigger if you load more modules, especially if you use modules that generate dynamic page content within the processes, like PHP and mod_perl. A large configuration file-with many virtual hosts-also tends to inflate the process footprint. - Having ample RAM allows you to run Apache with more child + Having ample RAM allows you to run httpd with more child processes, which allows the server to process more concurrent requests.

@@ -1069,7 +1069,7 @@ CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common

Given a machine with plenty of RAM and processor capacity, - you can run hundreds of Apache processes if necessary. . . + you can run hundreds of httpd processes if necessary. . . and if your kernel allows it.

Consider a situation in which several hundred web servers @@ -1114,7 +1114,7 @@ CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common

command. Once again, this must be done prior to starting - Apache. + httpd.

@@ -1191,9 +1191,8 @@ CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common will show which services are enabled and disable them respectively.

-

In a similar fashion, cast a critical eye on the Apache - modules you load. Most binary distributions of Apache - httpd, and pre-installed versions that come with Linux +

In a similar fashion, cast a critical eye on the httpd + modules you load. Most binary distributions of httpd, and pre-installed versions that come with Linux distributions, have their modules enabled through the LoadModule directive.

@@ -1244,7 +1243,7 @@ CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common Valentine's Day. When the user searches for red roses, they are served the pre-rendered page. Queries for, say, yellow roses will be generated directly from the database. The - mod_rewrite module included with Apache is a great tool to + mod_rewrite module included with httpd is a great tool to implement these substitutions.

@@ -1273,14 +1272,14 @@ CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/access_log 86400" common

This can be run periodically from Cron, after you upload - content, etc. To make Apache substitute the statically + content, etc. To make httpd substitute the statically rendered pages for the dynamic content, we'll use - mod_rewrite. This module is included with the Apache source + mod_rewrite. This module is included with the httpd source code, but is not compiled by default. It can be built with the server by passing the option --enable-rewrite[=shared] to the configure command. Many binary distributions of - Apache come with mod_rewrite included. The following is an - example of an Apache virtual host that takes advantage of + httpd come with mod_rewrite included. The following is an + example of an httpd virtual host that takes advantage of pre-rendered blog pages:

diff --git a/docs/manual/misc/perf-scaling.html.fr.utf8 b/docs/manual/misc/perf-scaling.html.fr.utf8 index d2dceac91f..17bc99f1d6 100644 --- a/docs/manual/misc/perf-scaling.html.fr.utf8 +++ b/docs/manual/misc/perf-scaling.html.fr.utf8 @@ -27,6 +27,8 @@  es  |  fr 

+
Cette traduction peut être périmée. Vérifiez la version + anglaise pour les changements récents.

Il est dit dans la documentation d'Apache 1.3 diff --git a/docs/manual/misc/perf-scaling.xml.es b/docs/manual/misc/perf-scaling.xml.es index afded96e3e..f0f2abbdf3 100644 --- a/docs/manual/misc/perf-scaling.xml.es +++ b/docs/manual/misc/perf-scaling.xml.es @@ -1,7 +1,7 @@ - + + + diff --git a/docs/manual/mod/mod_authnz_ldap.xml.meta b/docs/manual/mod/mod_authnz_ldap.xml.meta index 4ec661a32d..7a6a237d9a 100644 --- a/docs/manual/mod/mod_authnz_ldap.xml.meta +++ b/docs/manual/mod/mod_authnz_ldap.xml.meta @@ -8,6 +8,6 @@ en - fr + fr diff --git a/docs/manual/mod/mod_cache.html.fr.utf8 b/docs/manual/mod/mod_cache.html.fr.utf8 index abf2157c5e..c669ec7328 100644 --- a/docs/manual/mod/mod_cache.html.fr.utf8 +++ b/docs/manual/mod/mod_cache.html.fr.utf8 @@ -31,8 +31,6 @@  ja  |  ko 

-
Cette traduction peut être périmée. Vérifiez la version - anglaise pour les changements récents.
@@ -720,7 +718,15 @@ Modified. être mis en cache, même sans date de dernière modification. Si le document ne possède ni date d'expiration, ni date de dernière modification, la valeur spécifiée par la directive CacheDefaultExpire servira à générer une date - d'expiration.

+ d'expiration.

+ +
Plus précisément, une réponse 200 OK n’est mise en cache que si elle + contient au moins un des en-têtes Last-Modified, + ETag ou Expires, ou une directive + Cache-Control: max-age ou s-maxage. Cette + directive permet de s’affranchir entièrement de cette condition préalable. + Si un de ces en-têtes est déjà présent, cette directive n’a aucun + effet.
CacheIgnoreNoLastMod On
diff --git a/docs/manual/mod/mod_cache.xml.meta b/docs/manual/mod/mod_cache.xml.meta index 29181a9f48..92f1aa1403 100644 --- a/docs/manual/mod/mod_cache.xml.meta +++ b/docs/manual/mod/mod_cache.xml.meta @@ -8,7 +8,7 @@ en - fr + fr ja ko diff --git a/docs/manual/mod/mod_dav.html.fr.utf8 b/docs/manual/mod/mod_dav.html.fr.utf8 index 3003d9e068..a0d7b45ac6 100644 --- a/docs/manual/mod/mod_dav.html.fr.utf8 +++ b/docs/manual/mod/mod_dav.html.fr.utf8 @@ -31,8 +31,6 @@  ja  |  ko 

-
Cette traduction peut être périmée. Vérifiez la version - anglaise pour les changements récents.
Description:Filtre de mise en cache HTTP conforme à la RFC 2616
Statut:Extension
Identificateur de Module:cache_module
@@ -80,13 +78,14 @@ documents via le web (WebDAV) compilé dans le serveur ou chargé au démarrage à l'aide de la directive LoadModule.

-

Si vous souhaitez limiter l'accès aux répertoires où DAV est - activé, vous pouvez ajouter une clause <Limit> dans la section <Location> considérée. Pour - définir la quantité maximale de données en octets qu'un client - DAV peut envoyer par requête, vous devez utiliser la directive - LimitXMLRequestBody, car La - directive LimitRequestBody - "habituelle" n'a aucune incidence sur les requêtes DAV.

+

Dans l’exemple ci-après, la directive <RequireAny> permet de s’assurer que les méthodes + spécifiques à DAV (autrement dit les méthodes autres que GET, + POST et OPTIONS) sont réservées aux utilisateurs + authentifiés.

+ +

Pour définir la quantité maximale de données en octets qu'un client DAV + peut envoyer par requête, vous devez utiliser la directive LimitXMLRequestBody, car La directive LimitRequestBody "habituelle" n'a aucune incidence + sur les requêtes DAV.

Exemple complet

<Directory "/usr/local/apache2/htdocs/foo">
     Dav On
diff --git a/docs/manual/mod/mod_dav.xml.meta b/docs/manual/mod/mod_dav.xml.meta
index 61fcd96a32..2d094cad4d 100644
--- a/docs/manual/mod/mod_dav.xml.meta
+++ b/docs/manual/mod/mod_dav.xml.meta
@@ -8,7 +8,7 @@
 
   
     en
-    fr
+    fr
     ja
     ko
   
diff --git a/docs/manual/mod/mod_ldap.html.en.utf8 b/docs/manual/mod/mod_ldap.html.en.utf8
index e30e1b5f44..ff06b5b10a 100644
--- a/docs/manual/mod/mod_ldap.html.en.utf8
+++ b/docs/manual/mod/mod_ldap.html.en.utf8
@@ -50,9 +50,7 @@ by other LDAP modules
     

SSL/TLS support is dependent on which LDAP toolkit has been linked to APR. As of this writing, APR-util supports: OpenLDAP SDK (2.x or later), - Novell LDAP - SDK, - Mozilla LDAP SDK, native Solaris LDAP SDK (Mozilla based) or the + Mozilla LDAP SDK, native Solaris LDAP SDK (Mozilla based) or the native Microsoft LDAP SDK. See the APR website for details.

@@ -334,36 +332,6 @@ LDAPTrustedGlobalCert CA_SECMOD /certs/secmod -

Novell SDK

- -

One or more CA certificates must be specified for the Novell - SDK to work correctly. These certificates can be specified as - binary DER or Base64 (PEM) encoded files.

- -

Note: Client certificates are specified globally rather than per - connection, and so must be specified with the LDAPTrustedGlobalCert - directive as below. Trying to set client certificates via the - LDAPTrustedClientCert - directive will cause an error to be logged - when an attempt is made to connect to the LDAP server.

- -

The SDK supports both SSL and STARTTLS, set using the - LDAPTrustedMode parameter. - If an ldaps:// URL is specified, - SSL mode is forced, override this directive.

- -
# Specify two CA certificate files
-LDAPTrustedGlobalCert CA_DER /certs/cacert1.der
-LDAPTrustedGlobalCert CA_BASE64 /certs/cacert2.pem
-# Specify a client certificate file and key
-LDAPTrustedGlobalCert CERT_BASE64 /certs/cert1.pem
-LDAPTrustedGlobalCert KEY_BASE64 /certs/key1.pem [password]
-# Do not use this directive, as it will throw an error
-#LDAPTrustedClientCert CERT_BASE64 /certs/cert1.pem
- - - -

OpenLDAP SDK

One or more CA certificates must be specified for the OpenLDAP @@ -804,10 +772,10 @@ Certificate Authority or global client certificates

  • CERT_BASE64 - PEM encoded client certificate
  • CERT_KEY3_DB - Netscape key3.db client certificate database file
  • CERT_NICKNAME - Client certificate "nickname" (Netscape SDK)
  • -
  • CERT_PFX - PKCS#12 encoded client certificate (Novell SDK)
  • +
  • CERT_PFX - PKCS#12 encoded client certificate
  • KEY_DER - binary DER encoded private key
  • KEY_BASE64 - PEM encoded private key
  • -
  • KEY_PFX - PKCS#12 encoded private key (Novell SDK)
  • +
  • KEY_PFX - PKCS#12 encoded private key
  • diff --git a/docs/manual/mod/mod_ldap.html.fr.utf8 b/docs/manual/mod/mod_ldap.html.fr.utf8 index f9591531e6..8cb419bb5d 100644 --- a/docs/manual/mod/mod_ldap.html.fr.utf8 +++ b/docs/manual/mod/mod_ldap.html.fr.utf8 @@ -29,6 +29,8 @@

    Langues Disponibles:  en  |  fr 

    +
    Cette traduction peut être périmée. Vérifiez la version + anglaise pour les changements récents.
    Description:Fonctionnalité de création et gestion de versions de documents via le web (WebDAV)
    Statut:Extension
    diff --git a/docs/manual/mod/mod_ldap.xml.fr b/docs/manual/mod/mod_ldap.xml.fr index 6b2991de9f..1d54892b6f 100644 --- a/docs/manual/mod/mod_ldap.xml.fr +++ b/docs/manual/mod/mod_ldap.xml.fr @@ -1,7 +1,7 @@ - + diff --git a/docs/manual/mod/mod_ldap.xml.meta b/docs/manual/mod/mod_ldap.xml.meta index 92fe318361..c8ca841281 100644 --- a/docs/manual/mod/mod_ldap.xml.meta +++ b/docs/manual/mod/mod_ldap.xml.meta @@ -8,6 +8,6 @@ en - fr + fr diff --git a/docs/manual/mod/mod_proxy_fcgi.html.en.utf8 b/docs/manual/mod/mod_proxy_fcgi.html.en.utf8 index 57c242749c..bafafeeedf 100644 --- a/docs/manual/mod/mod_proxy_fcgi.html.en.utf8 +++ b/docs/manual/mod/mod_proxy_fcgi.html.en.utf8 @@ -38,14 +38,13 @@

    Summary

    This module requires the service of mod_proxy. It provides support for the - FastCGI protocol.

    + FastCGI protocol.

    Thus, in order to get the ability of handling the FastCGI protocol, mod_proxy and mod_proxy_fcgi have to be present in the server.

    -

    Unlike mod_fcgid - and mod_fastcgi, +

    Unlike mod_fcgid, mod_proxy_fcgi has no provision for starting the application process; fcgistarter is provided (on some platforms) for that purpose. Alternatively, external launching diff --git a/docs/manual/mod/mod_proxy_fcgi.xml.fr b/docs/manual/mod/mod_proxy_fcgi.xml.fr index 63daca77de..d1c34ee340 100644 --- a/docs/manual/mod/mod_proxy_fcgi.xml.fr +++ b/docs/manual/mod/mod_proxy_fcgi.xml.fr @@ -1,7 +1,7 @@ - + + diff --git a/docs/manual/platform/netware.xml.ko b/docs/manual/platform/netware.xml.ko index 4f3eb791c4..346db7fd67 100644 --- a/docs/manual/platform/netware.xml.ko +++ b/docs/manual/platform/netware.xml.ko @@ -1,7 +1,7 @@ - + + diff --git a/docs/manual/ssl/ssl_intro.xml.ja b/docs/manual/ssl/ssl_intro.xml.ja index adf2cf4b57..5fd23b5aa6 100644 --- a/docs/manual/ssl/ssl_intro.xml.ja +++ b/docs/manual/ssl/ssl_intro.xml.ja @@ -1,7 +1,7 @@ - +

    Description:Conservation des connexions LDAP et services de mise en cache du résultat à destination des autres modules LDAP
    Statut:Extension