I've followed to document at "http://www.ardamis.com/2005/08/11/xampp-apache-namevirtualhost/".
I edited My hosts file at C:\WINDOWS\system32\drivers\etc:
# localhost name resolution is handle within DNS itself.
127.0.0.1 localhost
# ::1 localhost
127.0.0.1 test.localhost
127.0.0.1 test1.com
127.0.0.1 test2.com
After editing hosts, I changed attribe into read only.
And httpd.vhosts.conf is:
<VirtualHost *:8080>
ServerName test.wowdns.com
DocumentRoot K:/_web/test_dev
ServerAlias www.test.wowdns.com
php_admin_flag allow_url_fopen On
ServerAdmin test@hotmail.com
ErrorLog K:/apm_packages/xampp/Apache/logs/test_error_log
CustomLog K:/apm_packages/xampp/Apache/logs/test_access_log combined
</VirtualHost>
<VirtualHost *:8080>
ServerName test.localhost
ServerPath k:/_web/test
DocumentRoot k:/_web/test
<Directory "k:/_web/test">
Options -Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
But I could not print test.wowdns.com and test.localhost, also 127.0.0.1.
What am i wrong?
Any comment would be appreciated.