From: Yoshiki Hayashi Date: Thu, 13 Jun 2002 07:22:37 +0000 (+0000) Subject: New Japanese translation. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b3dae99c4eafc80edc7e28724f90b92e9e93a7e;p=apache New Japanese translation. Submitted by: Hiroaki KAWAI Reviewed by: Yoshiki Hayashi git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95638 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/invoking.html b/docs/manual/invoking.html deleted file mode 100644 index a9c625551f..0000000000 --- a/docs/manual/invoking.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - Starting Apache - - - - - - -

Starting Apache

- - -
- -

Starting Apache On - Windows

- -

On Windows, Apache is normally run as a service on Windows - NT, or as a console application on Windows 95. For details, see - running Apache for - Windows.

- -

Starting Apache on Unix

- -

On Unix, the httpd program - is run as a daemon which executes continuously in the - background to handle requests.

- -

If the Listen specified in - the configuration file is default of 80 (or any other port - below 1024), then it is necessary to have root privileges in - order to start apache, so that it can bind to this privileged - port. Once the server has started and performed a few - preliminary activities such as opening its log files, it will - launch several child processes which do the work of - listening for and answering requests from clients. The main - httpd process continues to run as the root user, - but the child processes run as a less privileged user. This is - controlled by the selected Multi-Processing - Module.

- -

The first thing that httpd does when it is - invoked is to locate and read the configuration file - httpd.conf. The location of this file is set at - compile-time, but it is possible to specify its location at run - time using the -f command-line option as in

- -
- /usr/local/apache/bin/httpd -f - /usr/local/apache/conf/httpd.conf -
- -

As an alternative to invoking the httpd binary - directly, a shell script called apachectl is provided which - can be used to control the daemon process with simple commands - such as apachectl start and apachectl - stop.

- -

If all goes well during startup, the server will detach from - the terminal and the command prompt will return almost - immediately. This indicates that the server is up and running. - You can then use your browser to connect to the server and view - the test page in the DocumentRoot directory - and the local copy of the documentation linked from that - page.

- -

Errors During - Start-up

- -

If Apache suffers a fatal problem during startup, it will - write a message describing the problem either to the console or - to the ErrorLog before - exiting. One of the most common error messages is "Unable - to bind to Port ...". This message is usually caused by - either:

- - - -

For further trouble-shooting instructions, consult the - Apache FAQ.

- -

Starting at Boot-Time

- -

If you want your server to continue running after a system - reboot, you should add a call to httpd or - apachectl to your system startup files (typically - rc.local or a file in an rc.N - directory). This will start Apache as root. Before doing this - ensure that your server is properly configured for security and - access restrictions. The apachectl script is - designed so that it can often be linked directly as an init - script, but be sure to check the exact requirements of your - system.

- -

Additional Information

- -

Additional information about the command-line options of httpd and apachectl as well as other - support programs included with the server is available on the - Server and Supporting Programs page. - There is also documentation on all the modules included with the Apache distribution - and the directives that they - provide.

- - - - diff --git a/docs/manual/invoking.html.ja.jis b/docs/manual/invoking.html.ja.jis new file mode 100644 index 0000000000..722f5ff424 --- /dev/null +++ b/docs/manual/invoking.html.ja.jis @@ -0,0 +1,144 @@ + + + + + + Starting Apache + + + + + + + +

Apache の起動

+ + +
+ +

Windows + での Apache の起動

+ +

Windows 上では、Apache は通常は + Windows NT ではサービスとして、Windows 95 + ではコンソールアプリケーションとして実行されます。 + 詳細に関しては、「 + Windows で Apache を実行する」をご覧下さい。

+ +

Unix + での Apache の起動

+ +

Unixでは、httpd + プログラムが、リクエスト処理をバックグラウンドで常に動作する + デーモンとして実行されます。

+ +

もし、設定ファイル中で指定されている + Listen + がデフォルトの 80 (もしくは 1024 以下の他のポート) + である場合は、Apache を起動するためには root + 権限が必要になりますが、 + これはこの特権ポートにバインドするためです。 + 起動して、一度ログファイルを開くといった準備のための + 動作を幾つか実行した後は、クライアントからのリクエストに対する + listen と応答を実際に行うプロセスを起動します。 + メインの httpd プロセスは root 権限で走り続けますが、 + 子プロセスはもっと低い権限で走ります。 + これは選択したマルチプロセッシングモジュールで制御されます。

+ +

httpd が起動されてまず最初にすることは、 + 設定ファイル httpd.conf + の位置を特定して読み込むことです。 + このファイルの位置はコンパイル時に設定されますが、実行時に + -f コマンドラインオプションを使って + 位置を指定することもできます。例えば次のようにです。

+ +
+ /usr/local/apache/bin/httpd -f + /usr/local/apache/conf/httpd.conf +
+ +

httpd のバイナリを直接起動する代わりに、 + apachectl + と呼ばれるシェルスクリプトが提供されています。 + apachectl startapachectl stop + といった簡単なコマンドで、 + デーモンプロセスを制御するのに使えます。

+ +

スタートアップが万事上手くいったら、サーバはターミナルから + 切り離されて、コマンドプロンプトが即座に戻ってくるでしょう。 + これはサーバが起動している状態を示しています。 + その後はブラウザでサーバに接続して、 + DocumentRoot + ディレクトリのテストページやそこからリンクされている + ローカルのドキュメントを見ることができるでしょう。

+ +

スタートアップ時のエラー +

+ +

Apache は、スタートアップ時に致命的な問題に遭遇すると、 + 終了する前に、コンソールか + ErrorLog + のどちらかに問題を記述したメッセージを出力します。 + 最もよくあるエラーメッセージは + "Unable to bind to Port ..." + です。このメッセージは普通は次のどちらかが原因です:

+ + + +

より多くの問題解決の方策の説明は、 + Apache FAQ をご覧下さい。

+ +

ブート時の起動

+ +

システムがリブートした後でも + サーバが実行され続けるようにしたい場合は、 + httpdapachectl + を呼び出すものをシステムスタートアップファイル + (通常 rc.localrc.N + 内のファイル) に追加しなければなりません。 + この方法では Apache を root 権限で起動します。 + これをする前に、セキュリティやアクセス制限が + 適切に設定されていていることを確認してください。 + apachectl スクリプトは通常は、 init + スクリプトとして直接リンクできるように設計されていますが、 + 念のためシステムの要求に合致していることを確認してください。

+ +

追加情報

+ +

httpd や + apachectl + 、サーバに含まれていたその他補助プログラムの、 + コマンドラインオプションに関する追加情報は、 + サーバと補助プログラムページに + 記載されています。 + Apache 配布に含まれている全モジュール、 + それによって提供されるディレクティブ + のドキュメントもあります。

+ + + +