Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 8625 invoked by uid 500); 22 Aug 2002 16:17:55 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 8609 invoked from network); 22 Aug 2002 16:17:54 -0000 Received: from fantomas.fantomas.sk (HELO fantomas.sk) (195.168.6.66) by daedalus.apache.org with SMTP; 22 Aug 2002 16:17:54 -0000 Received: from fantomas.fantomas.sk (uhlar@localhost [127.0.0.1]) by fantomas.sk (8.12.3/8.12.3/Debian -4) with ESMTP id g7MGHlRm011346 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL) for ; Thu, 22 Aug 2002 18:17:48 +0200 Received: (from uhlar@localhost) by fantomas.fantomas.sk (8.12.3/8.12.3/Debian -4) id g7MGHlCv011345 for users@httpd.apache.org; Thu, 22 Aug 2002 18:17:47 +0200 Date: Thu, 22 Aug 2002 18:17:46 +0200 From: "Matus \"fantomas\" Uhlar" To: users@httpd.apache.org Subject: Re: Virtual Domains Message-ID: <20020822161746.GB11186@fantomas.sk> Mail-Followup-To: users@httpd.apache.org References: <005601c249f6$f04ff6b0$4701a8c0@anarki> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <005601c249f6$f04ff6b0$4701a8c0@anarki> User-Agent: Mutt/1.3.28i X-Echelon: nuclear bomb plane crash terrorist attack djihad spy echelon sucks X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N -> Whenever people try to access domains without the "www." at the -> beginning, they get thrown to the first virtualdomain listed instead of -> their website. The only solution I have thought up so far was to add a -> virtualdomain listing for every website. But if you tried to access any -> of their other domain names, it would do the same. Is there any way to -> default to a certain page in by looking at the domain? That's behaviour of apache - first defined virtual host will access all unknown hosts on given ip/port pair. You can use ServerAlias directive for all such servers. -- Matus "fantomas" Uhlar, uhlar@fantomas.sk ; http://www.fantomas.sk/ Warning: I don't wish to receive spam to this address. Varovanie: Nezelam si na tuto adresu dostavat akukolvek reklamnu postu. Support bacteria - they're the only culture some people have. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org