egal wie viele hots ich definiere, sie greifen alle auf den ordner des ersten zu.
meine vhost-config:
- Code: Select all
<VirtualHost *:80>
ServerAdmin admin@localhost
DocumentRoot C:/xampp/htdocs/test/
ServerName www.cigrma.de
ServerAlias www.cigrma.de cigrma.de *.cigrma.de
</VirtualHost>
<VirtualHost *:80>
ServerAdmin admin@localhost
DocumentRoot C:/xampp/htdocs/xampp/
ServerName localhost
ServerAlias localhost
</VirtualHost>
meine host-datei:
- Code: Select all
127.0.0.1 localhost
::1 localhost
127.0.0.1 www.cigrma.de
was habe ich vergessen? was habe ich vll. falsch gemacht?