Can't launch virtual hosts.
We made exactly like in documentation:
In apache\conf\extra\httpd-vhosts:
Listen 80
NameVirtualHost *:80
<VirtualHost *:80>
ServerName http://www.domain.tld
ServerAlias domain.tld *.domain.tld
DocumentRoot /www/domain
</VirtualHost>
<VirtualHost *:80>
ServerName http://www.otherdomain.tld
DocumentRoot /www/otherdomain
</VirtualHost>
In C:\WINDOWS\system32\drivers\etc added:
127.0.0.1 localhost
127.0.0.1 http://www.domain.tld
127.0.0.1 http://www.otherdomain.tld
At http://www.domain.tld or http://www.otherdomain.tld — url/xampp/splash.php (standart Xampp splash). But directories are empty.
We searched at the forum and found viewtopic.php?f=16&t=31565&p=146915&hilit=virtual+hosts#p146915 (we have XP, not Vista but we hoped will work).
NameVirtualHost *:80
<VirtualHost *:80>
ServerName localhost
DocumentRoot "C:\xampplite\htdocs"
</VirtualHost>
<VirtualHost *:80>
ServerName read.local
DocumentRoot "E:\projects"
ServerAdmin webmaster@dummy-host2.example.com
<Directory "E:\projects\lyrics">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
and in hosts:
127.0.0.1 localhost
::1 localhost
127.0.0.1 read.local
And standart splashes again! Please, help, what we are doing wrong?