Apache Warn NameVirtualHost *:80 Has No VirtualHosts Error When Start Apacheの警告namevirtualhost * : 80がないとエラーが発生スタート]ボタンをvirtualhosts
When start Apache web server or restart the HTTPD service on web host, the following warning message may appears on console or error log, even though Apache HTTP service can still startup and running fine without error. Apache Webサーバの起動時またはhttpdサービスでウェブのホストを再起動して、 5月に表示されては、次の警告メッセージが表示さコンソールまたはエラーログに記録さにもかかわらず、 ApacheのHTTPサービスの起動および実行中の微こともなくエラーが発生します。
[warn] NameVirtualHost *:80 has no VirtualHosts [警告] namevirtualhost * : 80がないvirtualhosts
where * can be asterisk itself (*), hostname or IP address.どこ*アスタリスク自体が( * ) 、ホスト名またはIPアドレスを入力します。
Luckily the message is just a warning message and does not affect the functionality of web server, and hence the websites hosted on the server can still be served properly.幸運のメッセージが表示されないだけに警告メッセージを表示し、ウェブサーバーの機能に影響を及ぼす、とそれゆえのウェブサイトのサーバーでホストされることも適切に提供します。 The possible cause for this problem’s symptom is incorrect use of NameVirtualHost.この問題を回避するため、考えられる原因の症状が間違ってnamevirtualhostを使用します。
When the server, dedicated or virtual private server web host, has only one IP address, websites are hosted by Apache via name based virtual hosting.する際は、サーバは、専用のウェブホストまたは仮想プライベートサーバーが1つだけ、 IPアドレス、ウェブサイトのホストベースの仮想ホスト名をApache経由します。 In this case, there should be only one NameVirtualHost been defined.この場合には、 1つだけ存在する必要がありますnamevirtualhost定義されています。 For example,たとえば、
NameVirtualHost *:80 namevirtualhost * : 80
<VirtualHost *:80> <virtualhost *:80>
servername hostサーバーのホスト
serverPath /public_html/ serverpath / public_htmlと/
DocumentRoot /public_html/ DocumentRootの/ public_htmlと/
</VirtualHost> < /のvirtualhost >
The name of one or more virtual hosts (websites’ domain name) is defined by “servername” directive.の名前を1つまたは複数の仮想ホスト(ウェブサイトのドメイン名)によって定義さ"サーバー"ディレクティブです。 So if you have more than one websites hosted on a single IP address, you will have one NameVirtualHost declaration and many VirtualHost sections to configure those domains.これを超える場合は1つのサイトでホストされ、単一のIPアドレスを、あなたには1つの宣言とnamevirtualhostこれらのドメインを構成する多くのVirtualHostセクションです。
Beside, try at best to use IPs or * for the NameVirtualHost and <VirtualHost> directives.横に、試しにベストを使用するとnamevirtualhost型IPSや*は、 < VirtualHost >ディレクティブです。 In some cases, where the website is assigned a dedicated IP address where only one virtual host is declared, the NameVirtualHost can even be dropped.いくつかの場合、どこのウェブサイトには専用のIPアドレスが割り当てられてここで1つの仮想ホストが宣言しただけに、 namevirtualhostこともできますが破棄されます。
For more example on how VirtualHost supposed to be setup, visit他の例をはずのvirtualhost設定する方法については、下記のをご覧 Apache 2.2 documentation Apacheの2.2ドキュメント orまたは Apache 1.3 documentation Apache 1.3のドキュメント (more common version of Apache used currently as most control panel such as cPanel comes with this, although it’s going to be upgraded in cPanel 11). (他の共通のバージョンのApacheのほとんどのコントロールパネルとして使われ、現在のようなこのcpanel付属し、これにアップグレードさだろうcpanel 11 ) 。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要 :これは、機械翻訳ページで提供"現状有姿"を保証します。 Machine translation may be difficult to understand.機械翻訳を理解するのは難しいかもしれません。 Please refer toを参照してください original English articleオリジナルの英語記事索引 whenever possible.いつ可能です。
Share and contribute or get technical support and help atを共有して貢献や技術サポートとヘルプを得る My Digital Life Forums 私のデジタルライフフォーラム .です。
Related Articles関連記事
- Request URL /server-status or 404 Page Not Found Apache ErrorリクエストURL /サーバーの状態または404 Apacheのエラーページが見つかりません
- cPanel WHM Failed to Receive Status Information From Apache Error cpanel whmのステータス情報を受信するに失敗しましたからApacheのエラーが発生
- winnt_accept: Asynchronous AcceptEx failed Error in Apache Log winnt_accept : Apacheログにエラーが発生非同期acceptexに失敗しました
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 4 FreeBSDの6.0をインストールするWebサーバーのApache 2.2 、 MySQL 5.0以降およびPHP 5 -パート4
- FreeBSD Apache HTTP Accept Filter Error FreeBSDのあるApache HTTP受入フィルタエラーが発生
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page Apacheのステータス( whm -サーバの状態)で空白のページcpanelウェブホスティングサービスマネージャを返します。
- Starting Apache HTTPD Failed Due to Cannot Open or No Such mod_bwlimited, mod_log_bytes or mod_bandwidth Files Apacheの起動に失敗しましたのhttpdのためにそのようなことはできません。 mod_bwlimited開いたり、ファイルmod_log_bytesまたはmod_bandwidth
- gmmktime Error in WordPress and MagpieRSS gmmktimeにエラーが発生WordPressのとmagpierss
- Subversion (SVN) Issues and Problems on mod_dav_svn in FreeBSD破壊( svn )の問題とmod_dav_svnのFreeBSDの問題を解決する
- Improve Apache Web Server Security: Use ServerTokens and ServerSignature to Disable Header Apache Webサーバのセキュリティ向上させる:ヘッダーの使用を無効にservertokensとserversignature



















August 20th, 2007 19:30 2007年8月20日19:30
[...] people on the web say stuff like ‘change the *:80 to a _default_:80′ or similar - focusing on tricking [...] [...]の人々言ってやるが、ウェブ上のようなもの'に変更します* : 80参照して下さい_default_ : 80 'または類似した-に焦点を当て散水[ ...]
July 10th, 2008 19:05 2008年7月10日19:05
[...] Still, now that I’m running my own VPS, I might as well get it fixed. [...]とはいえ、今すぐ実行中の自分自身のVPSのなんだけど、私も得るかもしれないことを修正しました。 So here’s it.ので、ここでおしまいです。 [...]