This is cool stuff, thanks!
I'm quessing that perhaps req.parsed_uri makes a lot more sense when
Apache is used as a proxy, in which case what follows GET is the full URL.
Perhaps we can add something to the docs that says "this attribute gets
its data from the argument to the HTTP GET method, which is usually just
the path in the URL and does not include the protocol, hostname and port.
It is only filled in completely when the server is used as a proxy"..?
(the wording could use improvement)
Grisha
On Wed, 30 Nov 2005, Daniel J. Popowich wrote:
As for the larger issue at hand: the reason req.parsed_uri is not
filled in is because browsers don't send the info in the GET...
Disclaimer: What follows is not an exhaustive, conclusive search by
tracing running code, but rather searching source code and watching
apache behaviour with tools like curl, telneting to the apache port
and using a browser.
Onward...
[snip]