Hi all
After being able to work out everything from docs I have come to a pass where I am not sure what to do.
Background
Currently running XAMPP for Windows Version 1.6.0a
Running windows XP Professional (SP2)
XAMPP is running on Drive D (Main Drive is C)
Have been through forum and tried help options to no avail.
Running 4 subdomains
Office.businesscogs.com.au (located http://office.businesscogs.com.au)
Barend.businesscogs.com.au (located http://office.businesscogs.com.au/thebarend)
dcp.businesscogs.com.au (located http://office.businesscogs.com.au/dcp)
vvcmcc.businesscogs.com.au (located http://office.businesscogs.com.au/vvcmc)
I have added the prefix of each in my DNS account with all addresses pointing at my static ip address
When I've used the instructions to create virtual hosting for each the pages can not be found. Switch virtual hosting off and low and behold there back (have to type the full address).
The following is the coding of my vhost config file (showing two entries - I gather we get this right and then its just a case of mirroring)
NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:80>
ServerAdmin webmaster@businesscogs.com.au
DocumentRoot "D:/Servers/xampp/htdocs/"
DirectoryIndex index.html index.htm
ServerName office.businesscogs.com.au
ServerAlias office.businesscogs.com.au
ErrorLog D:/Servers/xampp/apache/businesscogs-error_log
CustomLog D:/Servers/xampp/apache/logs/businesscogs-log_common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@businesscogs.com.au
DocumentRoot "D:/Servers/xampp/htdocs/dcp"
DirectoryIndex Index.html Index.htm
ServerName dcp.businesscogs.com.au
ErrorLog D:/Servers/xampp/apache/dcp-error_log
CustomLog D:/Servers/xampp/apache/logs/dcp-log_common
</VirtualHost>
In looking at the main config file the user docs point to the my documents file on C drive. Has this something to do with it?
Is there something I should be doing around Alias's?
What am I doing wrong. Would love to get virtual hosting working soooo much.
Thanking you all for your help.
Edward