I've got Apache configured with 336 Name Based Virtual hosts within a single apache configuration file. Each of these VirtualHosts is identically configured and resemble :
<VirtualHost *:80>
DocumentRoot *docroot*
ServerName *fqdn*
<Directory *docroot*>
AllowOverride All
</Directory> </VirtualHost>
<VirtualHost *:80>
ServerAdmin *admin email*
DocumentRoot *default docroot*
<Directory "*default docroot*">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory> </VirtualHost>
I've just added 4 new virtual hosts, and of those two are being completely ignored.
Checking the Apache access logs, I can see that the request is going through over the proper ServerName, but for some reason Apache won't dispatch properly. Nslookup is also returning the correct info.
Any ideas would be much appreciated.
Most likely a typo or something. Many problems get solved by reading the output
apachectl configtest
. This command is available on all commonly used versions of apache, including 1.3. See here.