Re: [Hampshire] httpd default/catchall Virtual hosts

Page principale

Répondre à ce message
Auteur: Keith Edmunds
Date:  
À: hampshire
CC: stephen.davies
Sujet: Re: [Hampshire] httpd default/catchall Virtual hosts
On Sun, 21 Feb 2010 14:53:39 +0000, stephen.davies@???
said:

> What I'm struggling with is defining a Virtual host that will act as the
> default/catchall destination.


Which distro? Debian (and presumably derivatives) supply this out of the
box in the /etc/apache2/sites-available/default file. I think - but
haven't tested - that if you define a virtual host without a ServerName or
ServerAlias, it will act as a default.

--
Keith Edmunds

+-------------------------------------------------------------------------+
|    Tiger Computing Ltd    |  Helping businesses make the most of Linux  |
|  "The Linux Specialists"  |       http://www.tiger-computing.co.uk      |

+-------------------------------------------------------------------------+