Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 97443 invoked from network); 12 Aug 2004 01:10:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Aug 2004 01:10:50 -0000 Received: (qmail 27873 invoked by uid 500); 12 Aug 2004 01:10:28 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 27851 invoked by uid 500); 12 Aug 2004 01:10:28 -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 27835 invoked by uid 99); 12 Aug 2004 01:10:28 -0000 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,URIBL_WS_SURBL X-Spam-Check-By: apache.org Received: from [206.190.36.81] (HELO smtp103.rog.mail.re2.yahoo.com) (206.190.36.81) by apache.org (qpsmtpd/0.27.1) with SMTP; Wed, 11 Aug 2004 18:10:24 -0700 Received: from unknown (HELO daw) (mlomas@rogers.com@69.194.39.28 with login) by smtp103.rog.mail.re2.yahoo.com with SMTP; 12 Aug 2004 01:10:23 -0000 Message-ID: <001501c48009$23610b80$a77ba8c0@daw> From: "Martin Lomas" To: "Apache Server" Date: Wed, 11 Aug 2004 21:10:20 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked Subject: [users@httpd] Re: Dynamic mass vhosts - can I exclude requests for the main page? X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks for helping, Eimis. Could you clarify for me ... I think my setup is already as you suggest: (all I've changed below is the example.com) ServerName www.example.com ServerAdmin martin@example.com VirtualDocumentRoot L:/www/%1.1/%1 CustomLog logs/tsaccess.log vcommon env=!req_img So, do you mean I need to arrange this differently? Thanks again, Martin > I just got into dynamic mass vhosts because I need to serve many > subdomains. Inside my Virtual Host section, I have the statement: > > VirtualDocumentRoot L:/www/%1.1/%1 > > It's working great; e.g.: if I need to serve "smith.example.com", all I do > is put the directory "smith" in L:/www/s/ > > Question: It seems my main page (www.example.com) must also now be served > from L:/www/w/www - I wish I could have it elsewhere. Is there a way to do > this (without confusing things too much!)? Try defining it as first virtual host in your vhost list and then after defining www.your.domain.com as virtual host add directives for mass virtual hosting ----- Eimis --------------------------------------------------------------------- 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