Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 67149 invoked from network); 9 Jun 2006 11:32:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Jun 2006 11:32:08 -0000 Received: (qmail 84459 invoked by uid 500); 9 Jun 2006 11:31:50 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 84344 invoked by uid 500); 9 Jun 2006 11:31:49 -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: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 84165 invoked by uid 99); 9 Jun 2006 11:31:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jun 2006 04:31:48 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [80.229.52.226] (HELO asgard.webthing.com) (80.229.52.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jun 2006 04:31:48 -0700 Received: from asgard (asgard [192.168.10.2]) by asgard.webthing.com (Postfix) with ESMTP id 3691964559 for ; Fri, 9 Jun 2006 12:31:27 +0100 (BST) From: Nick Kew Organization: WebThing Ltd To: users@httpd.apache.org Date: Fri, 9 Jun 2006 12:31:23 +0100 User-Agent: KMail/1.9.1 References: <01M3EFXBI3RC000CWJ@tmk.com> In-Reply-To: <01M3EFXBI3RC000CWJ@tmk.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606091231.25907.nick@webthing.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] "leaking" Alias and ScriptAlias into VirtualHost sites X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Friday 09 June 2006 04:53, Terry Kennedy wrote: > Environment: Apache/2.0.58 (FreeBSD) PHP/4.4.2 mod_ssl/2.0.58 > OpenSSL/0.9.7e-p1 mod_perl/2.0.2 Perl/v5.8.8 Server > > Problem: I have a number of Alias and ScriptAlias definitions in my > httpd.conf which I intended to apply only to my main/"real" host. > However, they also work in each of my virtual hosts, which is not what > I intended. See the FAQ entry for "main vhost goes away" (or some such wording. > Is there an easy way to restrict these to only the main host? The only > other method I could think of was for the main host to be a "dummy" and > change the real main content to another virtual host, moving its various > Alias / ScriptAlias settings to that virtual host. Yep. -- Nick Kew --------------------------------------------------------------------- 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