Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 98229 invoked from network); 16 Jul 2004 08:31:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Jul 2004 08:31:43 -0000 Received: (qmail 60758 invoked by uid 500); 16 Jul 2004 08:31:28 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 60523 invoked by uid 500); 16 Jul 2004 08:31:26 -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 60509 invoked by uid 99); 16 Jul 2004 08:31:26 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received: from [128.214.9.1] (HELO mail.cs.helsinki.fi) (128.214.9.1) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 16 Jul 2004 01:31:24 -0700 Received: from scrooge-15 (xdsl-176-161.nblnetworks.fi [::ffff:217.30.176.161]) (AUTH: PLAIN cs-relay, TLS: TLSv1/SSLv3,168bits,DES-CBC3-SHA) by mail.cs.helsinki.fi with esmtp; Fri, 16 Jul 2004 11:31:17 +0300 Received: by scrooge-15 (Postfix, from userid 1000) id D86F712FA04; Fri, 16 Jul 2004 11:30:55 +0300 (EEST) Date: Fri, 16 Jul 2004 11:30:55 +0300 From: Kai Hendry To: users@httpd.apache.org Message-ID: <20040716083055.GA1405@cs.helsinki.fi> References: <20040715135214.GA7609@cs.helsinki.fi> <20040715212139.GF12686@cs.helsinki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6+20040523i X-Virus-Checked: Checked Subject: Re: [users@httpd] Optimizing Virtual host(s) configuration on apache 1.3 or 2 X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Thu, Jul 15, 2004 at 07:53:20 -0400, Joshua Slive wrote: > Doing DocumentRoot in .htaccess would defeat the whole purpose of > mod_vhost_alias, which is to set the DocumentRoot based on the > hostname. It sounds like you should exclude this vhost from > mod_vhost_alias. You can do this as follows: In the case of my svn repository I agree, but for example I have a site where directory index is needed and now shows up in the URL all the time: http://trip.natalian.org/moin.cgi/FrontPage It used to be just: http://trip.natalian.org/FrontPage I guess I need to fix this with a rewrite rule. And it would be nice to do Alias from .htaccess. Umm, rewrite rule again? /me shivers... Your vhost suggestions did the trick btw! http://svn.natalian.org/debian/configuration/bilbo/httpd.conf Thank you very much, =) --------------------------------------------------------------------- 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