Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 76972 invoked from network); 12 Jan 2009 16:13:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jan 2009 16:13:58 -0000 Received: (qmail 31779 invoked by uid 500); 12 Jan 2009 16:13:47 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 31762 invoked by uid 500); 12 Jan 2009 16:13:47 -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 31753 invoked by uid 99); 12 Jan 2009 16:13:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 08:13:47 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bobsiegen@googlemail.com designates 64.233.170.191 as permitted sender) Received: from [64.233.170.191] (HELO rn-out-0910.google.com) (64.233.170.191) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 16:13:39 +0000 Received: by rn-out-0910.google.com with SMTP id k40so7264281rnd.17 for ; Mon, 12 Jan 2009 08:13:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=xE0QNukM81lhU7te7EMyjWCABAzrNQUt258cIP+VZBM=; b=oxXYFqfGJru5Z9ZEXcygzDLg5eDGq6iYfb5FyT0LingZKz12S93fu7xdFAHARJML6k jlN+43HYUkjr7s0Je1cjJdH/OT6Qza0EvQAEBtuxm+TlqNA/kkLoeajFUzoPPTswhxw+ a2YC192KpTvSgOPAXzIqumm+1qXI6N5KYUq48= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=U6qrHtlqwbjxqssC9gKcy7asEPtIkKDDcL3R+4AfkCbyD8ZUp/yzMXNmd/W8MtkXLJ nnVWSpevEViC5dGKQaH06oXoAE+2dHQpRfLK32fUa6N0LdK5QqbN7oRDeSCk69yoCYbT lKp0FE5kMAlFESSwHuSQJvdX0cwN9spnq54zM= Received: by 10.143.6.19 with SMTP id j19mr12313682wfi.128.1231776797670; Mon, 12 Jan 2009 08:13:17 -0800 (PST) Received: by 10.143.100.5 with HTTP; Mon, 12 Jan 2009 08:13:17 -0800 (PST) Message-ID: <553da56d0901120813u3ebc049fudbf09cc62724cf1a@mail.gmail.com> Date: Mon, 12 Jan 2009 17:13:17 +0100 From: "Bob Ionescu" To: users@httpd.apache.org In-Reply-To: <496B5CB7.5030309@as-guides.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4967313A.6010504@as-guides.com> <4df3a1330901090533r3ff15f92qa8a7539c6742ba14@mail.gmail.com> <49675E8A.5050605@as-guides.com> <4df3a1330901090652k49701dedl6cc24787d521cda5@mail.gmail.com> <49677CE0.7040906@as-guides.com> <553da56d0901091528s37ae467aif26f13a4e9ab5de1@mail.gmail.com> <496B5CB7.5030309@as-guides.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Setting DirectoryIndex to a Location? 2009/1/12 Michael Ludwig : > Bob Ionescu schrieb: >> The location walk will be processed (again) after the directory and >> file walk. > > So my assumption was wrong. Does anyone know in which document this > behaviour is described? http://httpd.apache.org/docs/2.2/sections.html#mergin >> But mod_dir checks, if it is a regular file. What about >> creating the file as a dummy? > > You mean an index.html as redirector? No, just the filename you gave in DirctoryIndex. It won't be served due to your Handler setting but acts as a dummy for the requirement of mod_dir (existing file). But the way via DirctoryIndex and mod_dir causes a subrequest lookup for the index file, which you can avoid with the RewriteRule of course. Bob --------------------------------------------------------------------- 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