• 締切済み

Apacheの再インストール

Apache を勉強中の者です 環境設定を間違えて 記述してしまったので フォルダごと削除しました。 (間違えた箇所 Network Domain, Server Name, Administrator's Email Address の3箇所です) 質問 1 フォルダごと削除した後 もう一度インストール しなおしていたら 以下のダイアログボックスでの選択肢 が 2つあり(Repair と Remove)どちらを選択 してインストールすればいいのでしょうか? Apache httpd Server - Installation Wizard Program Maintenance Modify, repair, or remove the program. Repair Repair installation errors in the program. This option fixes missing or corrupt files, shortcuts, and registry entries. Remove Remove Apache httpd server from your computer. 質問 2 Network Domain, Server Name, Administrator's Email Address の内容を変更したい場合 httpd.conf ファイルの何行目のどの部分を 変更したらいいのでしょうか? また Administrator's Email Address にはフリーメールのアドレスでも 構わないのでしょうか? どなたか ご存知の方いましたらご教授ください おねがいします

みんなの回答

  • juna
  • ベストアンサー率42% (8/19)
回答No.1

質問1は読めばわかると思います #勉強するならこれぐらい... 質問2に関して Server NameがServerNameを編集するものなら The ServerName directive sets the hostname of the server; this is used when creating redirection URLs. If it is not specified, then the server attempts to deduce it from its own IP address; however this may not work reliably, or may not return the preferred hostname. For example:    ServerName www.example.com would be used if the canonical (main) name of the actual machine were simple.example.com. Administrator's Email AddressがもしServerAdminがServerAdminを編集するものなら The ServerAdmin sets the e-mail address that the server includes in any error messages it returns to the client. It may be worth setting up a dedicated address for this, e.g.    ServerAdmin www-admin@foo.bar.com as users do not always mention that they are talking about the server! Network Domainに関しては知りません 何行目かは分かりません

参考URL:
http://httpd.apache.org/docs/,http://www.linux.or.jp/link/network.html

関連するQ&A

  • Apacheをインストールしたいのですが

    Apacheをインストールしている途中です。 Network Domain Server Name Administrator's Email Address が何を登録すればよいのかわかりません。 僕はレンタルサーバーを借りていますがNetwork Domainというところにはアカウント名を書けばいいのでしょうか?

    • ベストアンサー
    • PHP
  • Apache2.2が再起動できない問題についてです

    --- 前提・実現したいこと バーチャルホスト2つ目から3つ目を追加して、Apacheを再起動させたところ[FAILED]と出力されます。 不思議なのが、設定したバーチャルホストを3つから2つに減らしてApacheサーバを再起動したら動きます。 また、構文に誤りがないか確認しましたが「Syntax OK」と出力されました。 ご教授のほどよろしくお願いします。 ------------------------------------------------------------------------------------------------------------------------- --- 発生している問題・エラーメッセージ エラー・ログはございません。 Apache サーバを再起動した際し、[FAILED] ------------------------------------------------------------------------------------------------------------------------- --- vhostで設定した構文です。 NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /var/www/html/domain-name ServerName domain-name ServerAlias domain-name ErrorLog /var/log/httpd/domain-name/error_log CustomLog /var/log/httpd/domain-name/access_log combined <Directory "/var/www/html/domain-name"> </Directory> </VirtualHost> <VirtualHost *:80> DocumentRoot /var/www/html/domain-name ServerName domain-name ServerAlias domain-name ErrorLog /var/log/httpd/domain-name/error_log CustomLog /var/log/httpd/domain-name/access_log combined <Directory "/var/www/html/domain-name"> </Directory> </VirtualHost> <VirtualHost *:80> DocumentRoot /var/www/html/domain-name ServerName domain-name ServerAlias domain-name ErrorLog /var/log/httpd/domain-name/error_log CustomLog /var/log/httpd/domain-name/access_log combined <Directory "/var/www/html/domain-name"> </Directory> </VirtualHost>

  • Apache HTTP Server 2.2.4をダウンロードしてから

    Apache HTTP Server 2.2.4をダウンロードしてから、startボタンを押したのですが、下記のメッセージが出ました。どうしたら良いのでしょうか? Syntax error on line 133 of C:/Program Files/Apache Software Foundation/Apache2. 2/conf/httpd.conf: ServerAdmin takes one argument,The email address of the server administrator Note the errors or messages above, and press the <ESC> key to exit. というものです。PHP得意な方、教えてください。よろしくお願いします。

    • ベストアンサー
    • PHP
  • Apacheが起動しません。

    WindowsServer2003にApache 2.2.8をインストールしました。 しかし、Apacheが起動しません。 Apache は とりあえず「locahost」で設定しています。  http://localhost をブラウザでやっても「ページが表示できません」となります。 Apacheのmonitorを開くと、ok、Services、connect、exit のボタンのみがアクティブで、あとは何も表示されません。 Serviceボタンを押して、Windows のサービスを見たところ、Apacheのサービスらしきものは見当たりませんでした。 スタート→プログラム よりApacheのstartをクリックすると コマンドプロンプトの画面が立ち上がり、  「httpd.exe:Could not reliably determine the service's fully qualified domain name, using xx.xx.xx.xx for ServrName.」 ※ xx.xx.xx.xx はサーバのIPアドレス が記載されます。 やり直そうと思い、コントロールパネルのプログラムの追加と削除より Apacheのアンインストールを実行しましたが、 DISK内のprogram Files の なかに Apacheのファイルが残ったままです。 何が悪いのか、皆目検討がつかず、質問を挙げさせていただきました。 よろしくお願いいたします。

    • 締切済み
    • PHP
  • Apacheインストールについて

    CentOS7でメールサーバを構築しております。 yumでApacheのインストールを行う際に、インストール場所を変更する必要があったので コマンドを調べて以下のように実行しました。 yum -y --installroot=/usr/local/apache246 --releasever=7 install httpd するとApache以外のファイル?が100個ほどインストールされてしまったようなログが出ました。実際/usr/local/apache246の配下に沢山のフォルダが作成されていました。 Apacheをアンインストールすれば削除されるのかと思い、 yum -y --installroot=/usr/local/apache246 --releasever=7 remove httpd を実行しましたが、Apacheだけアンインストールされたようで、 フォルダは依然残ったままです。 お伺いしたいのは (1)インストールコマンドがおかしいのか? (2)Apacheは削除したので/usr/local/apache246配下のフォルダは削除しても良いのか? の2点になります。 ご回答よろしくお願いいたします。

  • apacheとtomcatの連携

    wpでapache2.2とtomcat5の連携を行いたいのですが apacheを再起動すると下記のエラーが出ます。 何が悪いですか? httpd.confの最後の行を削除すると起動ができるようになります。 #Include conf/extra/httpd-proxy.conf apacheのエラーログ: [Wed Sep 16 06:09:13 2009] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Wed Sep 16 06:09:13 2009] [notice] Apache/2.2.13 (Win32) configured -- resuming normal operations [Wed Sep 16 06:09:13 2009] [notice] Server built: Aug 6 2009 15:50:50 [Wed Sep 16 06:09:13 2009] [notice] Parent: Created child process 1712 httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.3 for ServerName httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.3 for ServerName [Wed Sep 16 06:09:13 2009] [notice] Child 1712: Child process is running [Wed Sep 16 06:09:13 2009] [notice] Child 1712: Acquired the start mutex. [Wed Sep 16 06:09:13 2009] [notice] Child 1712: Starting 64 worker threads. [Wed Sep 16 06:09:13 2009] [notice] Child 1712: Starting thread to listen on port 80. [Wed Sep 16 06:23:14 2009] [notice] Parent: Received restart signal -- Restarting the server. [Wed Sep 16 06:23:14 2009] [notice] Child 1712: Exit event signaled. Child process is ending. httpd.exe: Syntax error on line 487 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Syntax error on line 7 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/extra/httpd-proxy.conf: </Location> without matching <Location> section [Wed Sep 16 06:23:14 2009] [warn] (OS 995)スレッドの終了またはアプリケーションの要求によって、I/O 処理は中止されました。 : winnt_accept: Asynchronous AcceptEx failed. [Wed Sep 16 06:23:15 2009] [notice] Child 1712: Released the start mutex [Wed Sep 16 06:23:16 2009] [notice] Child 1712: All worker threads have exited. [Wed Sep 16 06:23:16 2009] [notice] Child 1712: Child process is exiting httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.3 for ServerName [Wed Sep 16 06:23:36 2009] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Wed Sep 16 06:23:36 2009] [notice] Apache/2.2.13 (Win32) configured -- resuming normal operations [Wed Sep 16 06:23:36 2009] [notice] Server built: Aug 6 2009 15:50:50 [Wed Sep 16 06:23:36 2009] [notice] Parent: Created child process 1728 httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.3 for ServerName httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.3 for ServerName [Wed Sep 16 06:23:36 2009] [notice] Child 1728: Child process is running [Wed Sep 16 06:23:36 2009] [notice] Child 1728: Acquired the start mutex. [Wed Sep 16 06:23:36 2009] [notice] Child 1728: Starting 64 worker threads. [Wed Sep 16 06:23:36 2009] [notice] Child 1728: Starting thread to listen on port 80.

    • ベストアンサー
    • Java
  • Apache HTTP Server

    インストール時にIP番号 「127.0.0.1」にApache HTTP Serverを設定し、Apache の「htdocs」 にhello.cgiというファイルを保存したのに、 1. Apacheを立ち上げると httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.131.65 for ServerName とエラー表示(?)されます。 2. URLを「http://127.0.0.1/hello.cgi」と指定してもブラウザ(FireFox)には 「127.0.0.1 のサーバへの接続を確立できませんでした。」とエラーになります。 何がいけないのでしょうか? どなたか教えてくださると幸甚です。

  • Apacheのインストールについて

    httpdが動作しないのでApache2.2.4のインストールをしてみたのですが、 スタートメニューからの起動をするとMS-DOSプロンプトがでてきて 「通常、各ソケット アドレスに対してプロトコル、ネットワーク、アドレス、 ポートのどれか1つをしようできます・・・・ というログがあったのですがなにが原因なのかわかりません。 それとhtdocsというフォルダがハードディスク上にないのですが どうすればよいかわかる方がいらっしゃいましたらお願いいたします。

  • apache2.2が起動できません

    apacheをインストールして起動させようとしたところcmdで httpd.exe.Could not relibly determine the server's fully qualified domain name,using 192.168.1.3 for servername というメッセージが出たので,そのメッセージを調べてedit httpd.confのServerName localhost:8080とあったのをServerName 192.168.0.1:8080という風に書き換えて,上書き保存しました. しかし,localhostに繋いで見ても前と変わらず,ページが見つからないと出ます. 一応ポート番号などの重複も調べて見ましたが,特に問題はありませんでした. 一体何が問題なのでしょうか ちなみにOSはwindows7 premiumでapacheのインストール場所はCドライブの直下にapache2.2を作りました

  • apacheが起動しない・・・

    はじめまして。PHPを勉強しようと思い、apacheをインストールしました。インストールはされているみたいなのですが、startをクリックしてもMS-DOSのような画面が出てきて起動しません。 検索で色々調べようとしたのですが、回答を見つけることができません。どうしたら良いのか?どなたか教えてください。 環境・その他 OS: windows vista ダウンロードファイル: apache_2.2.4-win32-x86-no_ssl.msi startをクリックすると表示される画面の文章(30秒位で消える。) Syntax error on line 133 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: ServerAdmin takes one argument, The email address of the server administrator Note the errors or messages above, and press the <ESC> key to exit, 28...

    • ベストアンサー
    • PHP