i want to run several sites for development test, so i came across this wonderful chance of virtual hosts
so, giving a try, i modified httpd-vhost.conf to have
- Code: Select all
#default to xampp directory
<VirtualHost *:8081>
ServerName local
DocumentRoot "C:/Programmi-Portable/xampp-php5.6.12/htdocs/"
</VirtualHost>
#custom virtual host
<VirtualHost *:8081>
ServerName wordpress.local
DocumentRoot "C:/Programmi-Portable/xampp-php5.6.12/apps/wordpress/"
<Directory "C:/Programmi-Portable/xampp-php5.6.12/apps/wordpress/">
Require all granted
</Directory>
</VirtualHost>
restarted apache service then...
if i put "127.0.0.1:8081/wordpress.local" in the browser bar i get nothing but object not found.
if i go to "127.0.0.1:8081/" istead it redirect as expected to "127.0.0.1:8081/dashboard".
what did i miss this time?