I've set-up a new vhost in httpd-vhosts.conf for use by Xampp, and uncommented the include line in httpd.conf. Also added the server name to my hosts file.
However, whenever I try to access it, it always forwards to xampp htdocs...
Any ideas why i cant get it to forward to the folder i want???
- Code: Select all
NameVirtualHost *:80
<VirtualHost localhost:80>
# ServerAdmin webmaster.localhost
DocumentRoot "C:/Program Files/Xampp/htdocs"
ServerName localhost
# ErrorLog @rel_logfiledir@/localhost-error_log
# CustomLog @rel_logfiledir@/localhost-access_log common
</VirtualHost>
<VirtualHost webtest:80>
# ServerAdmin webmaster@localhost
DocumentRoot "D:\Websites"
ServerName webtest
ErrorLog logs/webtest.local-error.log
CustomLog logs/webtest.local-access.log common
<Directory "D:\Websites">
Options Indexes FollowSymLinks
IndexOptions +FancyIndexing NameWidth=*
AllowOverride FileInfo
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Any help appreciated.
Regards
Gavin W