On Fri, Sep 09, 2005 at 12:32:58PM -0400, Brian Henning wrote: > *From memory, so check it* > > To get the behavior you described (at the expense of losing any > /desired/ default host function), you could define all your valid > virtual hosts, then create another virtual host which would come first > in httpd.conf such as: > <VirtualHost *:80> > # No ServerName needed > DocumentRoot /some/empty/place/to/produce/404s > ErrorDocument 404 /path/to/custom/404/if/desired.html > </VirtualHost> >
There is a _default_:80 option for setting a default response/host. S -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
