From owner-freebsd-questions@FreeBSD.ORG Sun Apr 24 10:58:06 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA21016A4CE for ; Sun, 24 Apr 2005 10:58:06 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5863F43D4C for ; Sun, 24 Apr 2005 10:58:06 +0000 (GMT) (envelope-from plaine@gmail.com) Received: by wproxy.gmail.com with SMTP id 67so1429040wri for ; Sun, 24 Apr 2005 03:58:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=fGh6gr/XAgTROnyeOv468Oy+PmG//L8SViytrfGlpBaDEBFA3k7yLE1F8VGNMFKE85QV2YoIBJEz/UliGXPV5SOxltTnxvTSpNE/ZzaAfm4MvjKvrUO1OawOl1gCwI/oRWMhXYwjcQOkyjeVEY+ELvylLS6w6bOS3EgllKQfGJc= Received: by 10.54.21.59 with SMTP id 59mr1336235wru; Sun, 24 Apr 2005 03:58:05 -0700 (PDT) Received: by 10.54.8.3 with HTTP; Sun, 24 Apr 2005 03:58:05 -0700 (PDT) Message-ID: Date: Sun, 24 Apr 2005 13:58:05 +0300 From: Perttu Laine To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: apache vhost help. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Perttu Laine List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2005 10:58:06 -0000 I have domain configured so *.domain.tld are A record to same IP. Now I have apache vhosts so www.domain.tld and domain.tld goes to apache data dir and webmail.domain.tld goes to webmail data dir. Problem is howto forward those all others to certain directory. s it possible to make *.domain.tld vhost to go in one dir. so anything else than domain.tld, www.domain.tld and webmail.domain.tld goes to like /www-data/somedir. One solution would be make that somedir to default root, but cannot use it 'cause I have other domains on same apache taht I have to handle differently. Someone known what I mean? Or even how to do this? :) --=20 kpn @ IRCnet