Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 46863 invoked by uid 500); 17 Jun 2003 19:12:50 -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 46790 invoked from network); 17 Jun 2003 19:12:49 -0000 Received: from ny2.fastmail.fm (HELO smtp.us2.messagingengine.com) (66.111.4.3) by daedalus.apache.org with SMTP; 17 Jun 2003 19:12:49 -0000 Received: from www.fastmail.fm (server1.internal [10.202.2.132]) by server2.messagingengine.com (Postfix) with ESMTP id B26376F8BC; Tue, 17 Jun 2003 15:12:52 -0400 (EDT) Received: from 127.0.0.1 ([127.0.0.1] helo=www.fastmail.fm) by messagingengine.com with SMTP; Tue, 17 Jun 2003 15:12:52 -0400 X-Epoch: 1055877172 X-Sasl-enc: lVh1/0bJkiLPzyw5IGlApw Received: from usager70-65.hec.ca (usager70-65.hec.ca [132.211.70.65]) by www.fastmail.fm (Postfix) with ESMTP id 8B92B31539; Tue, 17 Jun 2003 15:12:51 -0400 (EDT) Date: Tue, 17 Jun 2003 15:12:51 -0400 (=?ISO-8859-1?Q?Est_=28heure_d'=E9t=E9=29?=) From: Joshua Slive To: apache , ckellerman@alabanza.com In-Reply-To: <1055876146.10975.12.camel@ckellerman-sys.alabanza.com> Message-ID: References: <1055876146.10975.12.camel@ckellerman-sys.alabanza.com> X-X-Sender: slive@www.fastmail.fm MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] apache 1.3 configuration for a subdomain landing page On Tue, 17 Jun 2003, chad kellerman wrote: > I want a "subdomain" called access.gotc.net. What I would like is to > have the landing page for access.gotc.net to be: > /home/bob/www/access. > > I do not think I should create another virtual host section. Why not? Creating another is by far the simplest and most straigh-forward way to do this. > I thought if I added something like: > > Redirect permanent ^access http://gotc.net/access Redirect matches only on the URL-path (the part after the hostname and port). If you want to do it this way, you'll need to use mod_rewrite's RewriteCond + RewriteRule. Joshua. --------------------------------------------------------------------- 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