Apache Warn NameVirtualHost *:80 Has No VirtualHosts Error When Start Apache warnen NameVirtualHost *: 80 hat keine Fehler, wenn VirtualHosts Start
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. Wann startet der Apache Webserver oder Neustart des HTTPD Dienst auf Web-Host, wird die folgende Warnmeldung Mai erscheint auf Konsole oder Fehlerprotokoll, auch wenn Apache HTTP-Dienst können noch Start und den Betrieb problemlos auch ohne Fehler.
[warn] NameVirtualHost *:80 has no VirtualHosts [warn] NameVirtualHost *: 80 hat keine VirtualHosts
where * can be asterisk itself (*), hostname or IP address. * wo kann selbst Sternchen (*), Hostname oder die IP-Adresse.
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. Zum Glück wird die Nachricht nur eine Warnmeldung angezeigt und hat keinen Einfluss auf die Funktionalität des Web-Servers, und damit auch die Websites gehostet auf dem Server können noch serviert werden. The possible cause for this problem’s symptom is incorrect use of NameVirtualHost. Die mögliche Ursache für dieses Problem ist das Symptom falschen Verwendung des 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. Wenn der Server, dedizierte oder Virtual Private Server Web Host, hat nur eine IP-Adresse, Webseiten werden bereitgestellt von der Apache über Namen basierten virtuellen Hosting. In this case, there should be only one NameVirtualHost been defined. In diesem Fall sollte es nur ein NameVirtualHost definiert worden. For example, Zum Beispiel,
NameVirtualHost *:80 NameVirtualHost *: 80
<VirtualHost *:80> <VirtualHost *:80>
servername host 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. Der Name eines oder mehrere virtuelle Hosts (Web-Sites "Domain Name) ist definiert durch" servername "-Richtlinie. 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. Also, wenn Sie mehr als einen gehosteten Websites auf einer einzigen IP-Adresse, haben Sie ein NameVirtualHost Erklärung und viele VirtualHost Abschnitte konfigurieren diese Domains.
Beside, try at best to use IPs or * for the NameVirtualHost and <VirtualHost> directives. Neben, versuchen Sie es am besten zu verwenden IP-Adressen oder * für die NameVirtualHost und <VirtualHost> Richtlinien. 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. In einigen Fällen, in denen die Webseite wird eine dedizierte IP-Adresse, wo nur eine virtuelle Host wird erklärt, der NameVirtualHost können sogar gesunken.
For more example on how VirtualHost supposed to be setup, visit Für weiteres Beispiel, wie VirtualHost angeblich Setup finden Sie auf Apache 2.2 documentation 2,2 Apache-Dokumentation or oder Apache 1.3 documentation 1,3 Apache-Dokumentation (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). (mehr gemeinsame Version von Apache verwendet, da die meisten derzeit Steuerungsfeld wie cPanel kommt mit dieser, auch wenn es geht zu aktualisierende in cPanel 11).
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. WICHTIG: Es handelt sich um eine Maschine der Seite übersetzt wird "as is" ohne Garantie. Machine translation may be difficult to understand. Maschinelle Übersetzung ist vielleicht schwierig zu verstehen. Please refer to Bitte wenden Sie sich an original English article Original Englisch Artikel whenever possible. wann immer dies möglich ist.
Share and contribute or get technical support and help at Aktie und einen Beitrag oder erhalten technische Unterstützung und Hilfe an My Digital Life Forums Meine digitalen Lebens Foren .
Related Articles Verwandte Artikel
- Request URL /server-status or 404 Page Not Found Apache Error Anfrage-URL / Server-Status oder 404 Seite nicht gefunden Apache Fehler
- cPanel WHM Failed to Receive Status Information From Apache Error cPanel WHM Fehler beim Empfangen von Statusinformationen Apache Fehler
- winnt_accept: Asynchronous AcceptEx failed Error in Apache Log winnt_accept: Asynchronous AcceptEx failed Fehler in Apache-Log
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 4 Installation von Web-Server in FreeBSD 6,0 mit Apache 2,2, 5,0 MySQL und PHP 5 - Teil 4
- FreeBSD Apache HTTP Accept Filter Error FreeBSD Apache HTTP-Filter Fehler akzeptieren
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page Apache-Status (WHM-Server-Status) in cPanel Webhost-Manager und Versandkosten Blank Page
- Starting Apache HTTPD Failed Due to Cannot Open or No Such mod_bwlimited, mod_log_bytes or mod_bandwidth Files Starting Apache HTTPD scheiterte an kann nicht geöffnet werden "oder" Nein Solche mod_bwlimited, mod_log_bytes oder mod_bandwidth Dateien
- gmmktime Error in WordPress and MagpieRSS gmmktime Fehler in WordPress und magpieRSS
- Subversion (SVN) Issues and Problems on mod_dav_svn in FreeBSD Subversion (SVN) Fragen und Probleme in mod_dav_svn in FreeBSD
- PHP Parse Error: syntax error, unexpected $end PHP Parse error: syntax error, unexpected $ end

































August 20th, 2007 19:30 20. August 2007 19:30
[...] people on the web say stuff like ‘change the *:80 to a _default_:80′ or similar - focusing on tricking [...] [...] Menschen auf der Web-sagen Sachen wie "Veränderung der *: 80 zu einem _default_: 80" oder ähnlich - mit Schwerpunkt auf Täuschung von [...]
July 10th, 2008 19:05 10. Jul 2008 19:05
[...] Still, now that I’m running my own VPS, I might as well get it fixed. [...] Aber jetzt, wo ich bin in meinem eigenen VPS, ich kann auch sein, daß man es repariert. So here’s it. Also hier ist es. [...]