virtual hosts on xampp 7.0.3
Posted: 28. February 2016 10:28
Hi,
I've upgraded my pc to windows 10 (clean install) and i've installed xampp 7.0.3, php is working, but virtual-hosts are not.
I've put in hosts file my site:
"127.0.0.1 localhost
127.0.0.1 cmtr"
I put also in httpd-vhosts.conf:
<Directory D:/sites>
Require all granted
</Directory>
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "D:/sites/cmtr"
ServerName cmtr
</VirtualHost>
Can someone help me, what I've missed, or what I'm doing wrong?
Thanks,
patratel
I've upgraded my pc to windows 10 (clean install) and i've installed xampp 7.0.3, php is working, but virtual-hosts are not.
I've put in hosts file my site:
"127.0.0.1 localhost
127.0.0.1 cmtr"
I put also in httpd-vhosts.conf:
<Directory D:/sites>
Require all granted
</Directory>
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "D:/sites/cmtr"
ServerName cmtr
</VirtualHost>
Can someone help me, what I've missed, or what I'm doing wrong?
Thanks,
patratel