Hallo,
Leg für localhost einfach noch nen VirtualHost an, dann sollte es wieder gehen. (So hab ich es zumindest bei mir konfiguriert, möglich das es noch elegantere Lösungen gibt :-))
Nun habe ich folgendes:
#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 127.0.0.1:80>
ServerAdmin email@local.de
DocumentRoot c:/programme/phpmyadmin
ServerName phpmyadmin
ErrorLog logs/phpmyadmin_log
CustomLog logs/phpmyadmincustom_log common
</VirtualHost>
<VirtualHost 127.0.0.1:80>
ServerAdmin email@local.de
DocumentRoot d:/webpage
ServerName localhost
ErrorLog logs/phpmyadmin_log
CustomLog logs/phpmyadmincustom_log common
</VirtualHost>
Das ergibt folgende Fehlermeldung:
[Mon Jan 12 15:51:23 2004] [warn] VirtualHost 127.0.0.1:80 overlaps with Virtual
Host 127.0.0.1:80, the first has precedence, perhaps you need a NameVirtualHost directive