Habe gerade mal das 127.0.0.1 durch den Namen "db" ersetzt, den Namen des virtuellen Servers. Dann funktioniert es.
Warum benutzt der 127.0.0.1 und nicht "db" ?
Meine andere virtuellen Server sehen funktionieren doch auch so. Da habe ich keine Probleme.
Section 3: Virtual Hosts
VirtualHost: If you want to maintain multiple domains/hostnames on your
machine you can setup VirtualHost containers for them. Most configurations
use only name-based virtual hosts so the server doesn't need to worry about
IP addresses. This is indicated by the asterisks in the directives below.
Please see the documentation at
URL:http://httpd.apache.org/docs-2.0/vhosts/
for further details before you try to setup virtual hosts.
You may use the command line option '-S' to verify your virtual host
configuration.
Use name-based virtual hosting.
NameVirtualHost 127.0.0.1
# NameVirtualHost *:80
VirtualHost example:
Almost any Apache directive may go into a VirtualHost container.
The first VirtualHost section is used for requests without a known
server name.
<VirtualHost db>
ServerAdmin pma@phpmyadmin
DocumentRoot c:/programme/phpmyadmin
ServerName db
ErrorLog logs/db
CustomLog logs/dbcustom_log common
</VirtualHost>
... etc, hier sind die anderen virtuellen Server
In der Hosts Datei steht:
127.0.0.1 db