Bug#491868: apache2: upgrade caused virtualhosts to disappear
Package: apache2
Version: 2.2.9-5
Severity: important
After upgrading Apache2 via aptitude full-upgrade all my virtual hosts
stopped working and pointed to the default site (the "It works!" message).
Restarting the server displayed this warning twice:
[warn] NameVirtualHost *:80 has no VirtualHosts
All my VirtualHost entries had been defined with:
<VirtualHost *>
To fix the problem I added the port to the all the directives:
<VirtualHost *:80>
I don't understand why I had to do this when it was working fine before
the upgrade. The Apache manual is clear that specifying the port is
optional.
Best regards,
Andrew
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Reply to: