https://wiki.kogite.fr/index.php?title=Message_:_NameVirtualHost_*:80_has_no_VirtualHosts&feed=atom&action=historyMessage : NameVirtualHost *:80 has no VirtualHosts - Historique des versions2024-03-29T11:10:02ZHistorique des versions pour cette page sur le wikiMediaWiki 1.30.0https://wiki.kogite.fr/index.php?title=Message_:_NameVirtualHost_*:80_has_no_VirtualHosts&diff=4918&oldid=prevPierrick : a déplacé D6 Message : NameVirtualHost *:80 has no VirtualHosts vers Message : NameVirtualHost *:80 has no VirtualHosts2012-05-06T12:21:09Z<p>a déplacé <a href="/index.php/D6_Message_:_NameVirtualHost_*:80_has_no_VirtualHosts" class="mw-redirect" title="D6 Message : NameVirtualHost *:80 has no VirtualHosts">D6 Message : NameVirtualHost *:80 has no VirtualHosts</a> vers <a href="/index.php/Message_:_NameVirtualHost_*:80_has_no_VirtualHosts" title="Message : NameVirtualHost *:80 has no VirtualHosts">Message : NameVirtualHost *:80 has no VirtualHosts</a></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr style="vertical-align: top;" lang="fr">
<td colspan="1" style="background-color: white; color:black; text-align: center;">← Version précédente</td>
<td colspan="1" style="background-color: white; color:black; text-align: center;">Version du 6 mai 2012 à 12:21</td>
</tr><tr><td colspan="2" style="text-align: center;" lang="fr"><div class="mw-diff-empty">(Aucune différence)</div>
</td></tr></table>Pierrickhttps://wiki.kogite.fr/index.php?title=Message_:_NameVirtualHost_*:80_has_no_VirtualHosts&diff=4917&oldid=prevPierrick : Page créée avec « Sur debian squeeze lorsque apache redémarre il nous gratifie d'une erreur : Restarting web server: apache2[Sun May 06 12:10:41 2012] [warn] NameVirtualHost *:80 has no Virt... »2012-05-06T12:20:58Z<p>Page créée avec « Sur debian squeeze lorsque apache redémarre il nous gratifie d'une erreur : Restarting web server: apache2[Sun May 06 12:10:41 2012] [warn] NameVirtualHost *:80 has no Virt... »</p>
<p><b>Nouvelle page</b></p><div>Sur debian squeeze lorsque apache redémarre il nous gratifie d'une erreur :<br />
Restarting web server: apache2[Sun May 06 12:10:41 2012] [warn] NameVirtualHost *:80 has no VirtualHosts<br />
... waiting [Sun May 06 12:10:42 2012] [warn] NameVirtualHost *:80 has no VirtualHosts<br />
<br />
<br />
Solution :<br />
<br />
Commenter la ligne :<br />
NameVirtualHost *:80<br />
<br />
Dans le fichier /etc/apache2/ports.conf<br />
<br />
Plus d'infos :<br />
zcat /usr/share/doc/apache2.2-common/NEWS.Debian.gz<br />
<br />
* The directive "NameVirtualHost *" has been changed to "NameVirtualHost<br />
*:80". It has also been moved from sites-available/default to ports.conf.<br />
This allows to ship a proper SSL default virtual host config in<br />
sites-available/default-ssl, but it means that if you use several name<br />
based virtual hosts:<br />
<br />
- you will have to change <VirtualHost *> to <VirtualHost *:80> in your<br />
name based virtual hosts<br />
<br />
- you need to add more NameVirtualHost directives if you use other ports<br />
than 80 with name based virtual hosts. You may also have to add these<br />
ports to the default virtual host in /etc/apache2/sites-available/default<br />
(like this: "<VirtualHost *:80 *:81>").<br />
<br />
If you prefer to revert to the old setup instead (and don't need the<br />
default-ssl host), just change "NameVirtualHost *:80" back to<br />
"NameVirtualHost *" in ports.conf and "<VirtualHost *:80>" to<br />
"<VirtualHost *>" in sites-available/default.</div>Pierrick