Apache Warn NameVirtualHost *:80 Has No VirtualHosts Error When Start Apache Avvisa NameVirtualHost *: 80 non ha alcun errore quando VirtualHosts Inizio
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. Quando avvio Apache web server o riavviare il servizio httpd sul sito ospitante, il seguente messaggio di avviso appare sullo maggio console o registro degli errori, anche se Apache HTTP servizio può ancora di avvio e la gestione ammenda senza errori.
[warn] NameVirtualHost *:80 has no VirtualHosts [avvertire] NameVirtualHost *: 80 non ha alcun VirtualHosts
where * can be asterisk itself (*), hostname or IP address. * dove può essere se stessa asterisco (*), nome host o indirizzo 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. Fortunatamente il messaggio è solo un messaggio di avviso e non influisce sulla funzionalità del server web e, di conseguenza, i siti web ospitati sul server possono ancora essere adeguatamente servito. The possible cause for this problem’s symptom is incorrect use of NameVirtualHost. La possibile causa per questo problema è sintomo di un uso scorretto dei 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. Quando il server, dedicato o privata virtuale server web ospitante, ha un solo indirizzo IP, siti web sono ospitati da Apache tramite virtuali basati sul nome di hosting. In this case, there should be only one NameVirtualHost been defined. In questo caso, non dovrebbe essere solo un NameVirtualHost stato definito. For example, Per esempio,
NameVirtualHost *:80 NameVirtualHost *: 80
<VirtualHost *:80> <VirtualHost *:80>
servername host nomeserver ospitante
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. Il nome di uno o più host virtuali (siti web 'nome di dominio) è definita da "servername" direttiva. 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. Quindi, se si dispone di più siti web ospitati su un unico indirizzo IP, si avrà un NameVirtualHost dichiarazione e molte sezioni VirtualHost a configurare tali domini.
Beside, try at best to use IPs or * for the NameVirtualHost and <VirtualHost> directives. Accanto, provare a utilizzare al meglio IP o * per il NameVirtualHost e <VirtualHost> direttive. 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 alcuni casi, quando il sito web viene assegnato un indirizzo IP dedicato dove un solo host virtuale è dichiarata, l'NameVirtualHost può anche essere eliminato.
For more example on how VirtualHost supposed to be setup, visit Per ulteriori esempio di come VirtualHost dovrebbe essere di installazione, visitare Apache 2.2 documentation Apache 2,2 documentazione or o Apache 1.3 documentation Apache 1,3 documentazione (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). (più comune versione di Apache attualmente utilizzato in quanto la maggior parte del pannello di controllo cPanel come ad esempio viene fornito con questo, anche se sta andando essere aggiornato in cPanel 11).
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Questa è una pagina tradotta macchina che è fornito "così com'è" senza alcuna garanzia. Machine translation may be difficult to understand. Traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale in lingua inglese whenever possible. quando possibile.
Share and contribute or get technical support and help at Condividere e contribuire o ottenere supporto tecnico e assistenza in My Digital Life Forums La mia vita digitale Forum .
Related Articles Articoli correlati
- Request URL /server-status or 404 Page Not Found Apache Error URL di richiesta / server-status o 404 Pagina non trovata Errore di Apache
- cPanel WHM Failed to Receive Status Information From Apache Error cPanel WHM non hanno ricevuto informazioni sullo stato della Apache errore
- winnt_accept: Asynchronous AcceptEx failed Error in Apache Log winnt_accept: Asynchronous AcceptEx non di errore in Apache Accedi
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 4 L'installazione di server Web in FreeBSD 6,0 con Apache 2,2, 5,0 MySQL e PHP 5 - Parte 4
- FreeBSD Apache HTTP Accept Filter Error FreeBSD HTTP Apache accettare filtro errore
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page Apache Stato (WHM-server-status) in cPanel webhost Manager Restituisce Bianche Page
- Starting Apache HTTPD Failed Due to Cannot Open or No Such mod_bwlimited, mod_log_bytes or mod_bandwidth Files A partire Apache HTTPD non riuscita a causa di Impossibile aprire o nessuna di tali mod_bwlimited, mod_log_bytes file o mod_bandwidth
- gmmktime Error in WordPress and MagpieRSS gmmktime Errore in WordPress e MagpieRSS
- Subversion (SVN) Issues and Problems on mod_dav_svn in FreeBSD Sovversione (SVN) questioni e problemi a mod_dav_svn in FreeBSD
- Improve Apache Web Server Security: Use ServerTokens and ServerSignature to Disable Header Migliorare Apache Web Server Sicurezza: ServerTokens uso e ServerSignature per disattivare header
















August 20th, 2007 19:30 20 agosto, 2007 19:30
[...] people on the web say stuff like ‘change the *:80 to a _default_:80′ or similar - focusing on tricking [...] [...] Le persone sul Web dire cose come 'cambiare il *: 80 ad un _default_: 80' o simili - concentrandosi su tricking [...]
July 10th, 2008 19:05 Luglio 10, 2008 19:05
[...] Still, now that I’m running my own VPS, I might as well get it fixed. [...] Eppure, ora che sto eseguendo il mio VPS, potrei anche farlo fisso. So here’s it. Quindi è tutto qui. [...]