httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <>
Subject Re: proxyreq use in proxy_*_canon
Date Wed, 04 Mar 1998 15:00:24 GMT
The whole proxy module is luck rather than design.

On Wed, 4 Mar 1998, Dean Gaudet wrote:

> Why do proxy_http_canon and proxy_ftp_canon test r->proxyreq?  Neither are
> invoked if r->proxyreq is FALSE.  See proxy_fixup. 
> Ah I think I get it:  what they're really asking is "is this a true proxy
> subrequest where I have the original unparsed uri, or is this a
> ProxyPass-style request where I've got a parsed uri?" ... because it
> changes how things are canonicalized.
> But r->proxyreq doesn't give this bit of info.  In fact this info isn't
> stored anywhere directly... it happens to be available now, "r->uri ==
> r->unparsed_uri" iff the request is a true proxy request.  But this is by
> luck rather than design.
> Hmm. 
> Dean

View raw message