I am trying to set up a Virtual Host on an XP box running Apache 2.2. I think I have it pretty close to correct, as if I browse (via FireFox 3.6) to my public IP Address:Port# (i.e., "http://xxx.xxx.xxx.xxx:10088"), or on the local network, go to "http://192.168.1.101:10088", I get the index.html page (located in the VirtualHost DocumentRoot directory below) displayed as it should be.
But if I browse to "http://SiteName.com", I get the contents of the Apache DocumentRoot directory (i.e, C:\Program Files\Zend\Apache2\htdocs). Using my browser, I can click, level by level, to get to the directory containing index.html, or get there directly by browsing to "http://SiteName.com/Data/Hakan/110209/Unnamed Site 2". I'd like to be able to get to index.html directly by browsing to "http://SiteName.com". What am I doing wrong?
Here's how I have the VirtualHost set up in httpd.conf:
Listen 192.168.1.101:10088
NameVirtualHost 192.168.1.101:10088
<VirtualHost 192.168.1.101:10088>
ServerName SiteName.com:10088
DocumentRoot "C:\Program Files\Zend\Apache2/htdocs/Data/Hakan/110209/Unnamed Site 2"
<Directory "C:\Program Files\Zend\Apache2/htdocs/Data/Hakan/110209/Unnamed Site 2">
Options Indexes FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</VirtualHost>