httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johansen Arvid S." <sni...@snille.com>
Subject Re: Name-based virtual hosts
Date Fri, 12 Apr 2002 19:17:10 GMT
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


Mime
View raw message