httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: mod_proxy_ftp relative directory bug
Date Tue, 22 Aug 2006 14:45:28 GMT
On Tuesday 22 August 2006 12:26, Jon Snow wrote:

> When going to an ftp site:
>
> ftp://ftp.example.com/dir1/dir2
>
> mod_proxy_ftp determines a directory exists through the SIZE command and
> updates the "Directory of" HREF accordingly.

What do you mean by 'updates the "Directory of" HREF accordingly'?
Are you trying to say mod_proxy_ftp requests a *different* URL from
the origin server?  If so, it sounds like a bug.

> The browser is unsure whether 
> the dir2 is a file or directory so it's base_href location stays at:
>
> ftp://ftp.example.com/dir1/

That's entirely right if the server didn't issue a redirect.

> In http a redirect would have been returned to the browser with a trailing
> slash once the directory is detected. Should the ftp proxy also return a
> redirect with a trailing slash at the point it has determined a directory
> exists?

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.

-- 
Nick Kew

Mime
View raw message