I have apache2 installed in /usr/local/apache. In the conf dir is my main httpd.conf file. It's virtual host settings are defined as:
In the directory conf/vhosts I have the virtual hosts defined in their seperate files, a typical site looks like this:
ScriptAlias /cgi-bin/ /www/sites/w/website/cgi-b
Alias /stats /www/sites/w/website/stats
Options Includes Indexes FollowSymLinks
The problem is that when I type the the ip address of the server directly into the browser the first alphabetical virtual host site is displayed. e.g if I have a-site.conf, b-site.conf, c-site.conf etc in the vhosts folder then a-site.conf is displayed when the IP Address is typed in.
does anyone know why this would happen?