Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 50086 invoked from network); 22 Aug 2006 15:14:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Aug 2006 15:14:55 -0000 Received: (qmail 70932 invoked by uid 500); 22 Aug 2006 15:14:51 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 70691 invoked by uid 500); 22 Aug 2006 15:14:50 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 70680 invoked by uid 99); 22 Aug 2006 15:14:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 08:14:50 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [207.155.252.219] (HELO warrior.cnchost.com) (207.155.252.219) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 08:14:49 -0700 Received: from [192.168.0.21] (c-24-15-193-17.hsd1.il.comcast.net [24.15.193.17]) (as wrowe@rowe-clan.net) by warrior.cnchost.com (ConcentricHost(2.54) Relay) with ESMTP id 5FA8E2782 for ; Tue, 22 Aug 2006 11:14:29 -0400 (EDT) Message-ID: <44EB1F35.5060403@rowe-clan.net> Date: Tue, 22 Aug 2006 10:13:57 -0500 From: "William A. Rowe, Jr." User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: mod_proxy_ftp relative directory bug References: <200608222126.34516.jsnow27@gatesec.net> <200608221545.31429.nick@webthing.com> In-Reply-To: <200608221545.31429.nick@webthing.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Nick Kew wrote: > > That correction, in either http or ftp, is the business of the origin server, > not the proxy. For a proxy to issue it would be deeply broken. Not really. Consider the semantics of FTP. FTP can serve a 'directory' with LIST or NLST, but I'd only want that to be in response to /dir1/, not /dir1 since the later is pretty ambiguous. But FTP has no concept of redirects, so your assertion that the FTP origin server is responsible for a redirect is silly. It doesn't follow web URI conventions, so 'fitting' an FTP server into the role of a URI resource is the job of the FTP client, or the HTTP proxy layer for an HTTP client. I'd personally agree that if we know /dir1 is a directory resource, we should probably teach mod_proxy_ftp to provide the /dir1/ redirect.