httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "E. Jordan Bojar" <bo...@intersystems.com>
Subject Re: Name-based virtual hosts
Date Fri, 12 Apr 2002 19:47:59 GMT
OK,

The solution I found was to include a ServerAlias entry for "virtual.com",
which works fine.  I'd been thinking that *.virtual.com would include that,
but it didn't, or course.

Thanks for the tips.

----- Original Message -----
From: "Johansen Arvid S." <snille@snille.com>
To: <users@httpd.apache.org>
Sent: Friday, April 12, 2002 3:17 PM
Subject: Re: Name-based virtual hosts


> On 12 Apr 2002, at 14:55, E. Jordan Bojar wrote:
>
> > How can I force Apache to answer to *only* the "ServerName" value for
> > a given virtual domain?  Currently, an http request to
> > 'www.virtual.com' gives the appropriate virtual site, but
> > 'virtual.com' without a host name defaults to the main site for the
> > server (ie, the non-virtual entry).
>
> Had the same problem - solved it the quick/dirty way by adding
> another virtual domain named just "virtual.com" with everything else
> like "www.virtual.com".
>
> Regards,
>
> - Arvid a.k.a. Snille
>
> (Oslo, Norway)
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message