In my apache vhosts configuration, I have a number of vhosts that point to network locations, e.g our production files are stored on another server that is heavily backed up. If at any time the network location that the vhost points to is unavailable, apache will not start AT ALL, refusing all connections. This is not ideal, I would prefer Apache to just report an error with one of the vhosts and continue to serve the ones that are available. Is there any configuration options that would allow what I am trying to achieve?
Here is my current vhosts files, with some text bleeped out due to confidentiality.
# # Use name-based virtual hosting. # NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin admin@****.com.au DocumentRoot "E:/htdocs/instruments" ServerName instruments.***.com.au ServerAlias instruments.***.com.au ErrorLog "logs/instruments.***.com.au-error_log" CustomLog "logs/instruments.***.com.au-access_log" common </VirtualHost> <VirtualHost *:80> ServerAdmin admin@****.com.au DocumentRoot "E:/htdocs/quotes" ServerName quotes.***.com.au ServerAlias quotes.***.com.au ErrorLog "logs/quotes.***.com.au-error_log" CustomLog "logs/quotes.***.com.au-access_log" common </VirtualHost> # This is the one that sometimes fails when the network location is unavailable. # I need apache to continue to start even when this fails. <VirtualHost *:80> ServerName production.***.com.au DocumentRoot //san04/projects$ <Directory "//san04/projects$"> Options Indexes FollowSymLinks MultiViews Includes IndexOptions FancyIndexing NameWidth=* Order allow,deny Allow from all </Directory> </VirtualHost>