hello im having some problems with getting my vir dir working i have done all the steps in the httpd.conf and the httpd_vhost.conf.
and i have the sub dir on my drive but when i go to my sub say its abc.def.com it just goes to the def.com and not to the sub dir. heres what my httpd_vhost.conf looks like
NameVirtualHost *:80
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "D:/Webroot/public"
</VirtualHost>
<VirtualHost *:80>
ServerName tournment.localhost
DocumentRoot "D:/webroot/projects/tournment"
#CustomLog ""
#ErrorLog ""
</VirtualHost>
now i think that is right but not sure and then in the httpd.conf i have this
# XAMPP specific settings
Include conf/extra/httpd-xampp.conf
# Server-pool management (MPM specific)
# Include conf/extra/httpd-mpm.conf
# Multi-language error messages
Include conf/extra/httpd-multilang-errordoc.conf
# Fancy directory listings
Include conf/extra/httpd-autoindex.conf
# Language settings
Include conf/extra/httpd-languages.conf
# User home directories
Include conf/extra/httpd-userdir.conf
# Real-time info on requests and configuration
Include conf/extra/httpd-info.conf
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
# Local access to the Apache HTTP Server Manual
Include conf/extra/httpd-manual.conf
# Distributed authoring and versioning (WebDAV)
Include conf/extra/httpd-dav.conf
# Various default settings
Include conf/extra/httpd-default.conf
# Secure (SSL/TLS) connections
Include conf/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
# starting without SSL on platforms with no /dev/random equivalent
# but a statically compiled-in mod_ssl.
#
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
<Directory "D:/webroot/projects/tournment">
Options Indexes +FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
thats not the whole thing but what i changed in it thanks for any replys on this and all the subdomains run on the same computer too just so you know.