You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Lars Eilebrecht <La...@unix-ag.org> on 1997/11/01 23:00:21 UTC
[PATCH] PR#870 preserve handler value on ProxyPass'ed requests
Hi,
the appended patch fixes PR#870.
find_types() shouldn't be called if we just found a matching
ProxyPass directive and set handler to 'proxy-server', because
find_types() resets r->handler if we have an other
handler (server-info, server-parsed, etc.) that will be invoked
on the URI from the request.
ciao...
--
Lars Eilebrecht - Foolproof operation:
sfx@unix-ag.org - No provision for adjustment.
http://www.si.unix-ag.org/~sfx/
Re: [PATCH] PR#870 preserve handler value on ProxyPass'ed requests
Posted by Dean Gaudet <dg...@arctic.org>.
+1 ... but we should make a note that the API needs to deal with this more
intelligently ... right now, for example, the ftp proxy calls into
mod_mime directly because there's no API phase for typing a url, only a
phase for typing a filename. Or something like that, I haven't looked at
it too hard.
Dean
On Sat, 1 Nov 1997, Lars Eilebrecht wrote:
> Hi,
>
> the appended patch fixes PR#870.
>
> find_types() shouldn't be called if we just found a matching
> ProxyPass directive and set handler to 'proxy-server', because
> find_types() resets r->handler if we have an other
> handler (server-info, server-parsed, etc.) that will be invoked
> on the URI from the request.
>
> ciao...
> --
> Lars Eilebrecht - Foolproof operation:
> sfx@unix-ag.org - No provision for adjustment.
> http://www.si.unix-ag.org/~sfx/
>