現在、CygWin を使用して Windows サーバーに Apache2 をインストールしようとしています。ここでは、コンパイル済みの .msi from: hereを使用します。
インストールするには、次のコマンドを使用します。Msiexec /i httpd-2.2.22-win32-x86-openssl-0.9.8t.msi INSTALLDIR="C:\\Apache2" SERVERADMIN="mail@example.com" SERVERNAME="example.com" SERVERDOMAIN="example.com" /qn
ただし、指定SERVERADMIN
されたものは構成ファイルに設定されません。ドキュメンテーションはそう言っていますが。を呼び出すと、次のhttpd.exe
ように応答します。
Syntax error on line 163 of C:/Apache2/conf/httpd.conf:
ServerAdmin takes one argument, The email address of the server administrator
構成は次のようになります。
#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
#
ServerAdmin
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
#ServerName :80
明らかにServerAdmin
と もServerName
インストーラーによって設定されません。
何をすべきか考えはありますか?フォールバックとして、Config で直接設定することもできます。何かすることはありますかCommand Line
(GUI は使用できませんが、CygWin
コマンドは使用できます)。