Hi,
I have a handler I call as a PerlPostReadRequestHandler
sub handler {
my $r = shift;
my $uri = APR::URI->parse($r->pool, $r->construct_url);
$uri->scheme('http');
$uri->port('8080');
$r->uri($uri->unparse());
return Apache::DECLINED;
}
1;
This consistently leads to an error in the error log:
Invalid URI in request GET /foo/bar.html
Even though the request looks good in the access log:
400 GET http://www.ladyraquel.com:8080/charters/index.html
Have I missed soemthing obvious as usual?
Thanks,
- nick
PS Stas: I tried for >2hrs to make a test work in the Test framework ...
it indeed dies with the same error but I wasn't confident that it was
getting called as an init handler as I wanted ... I couldn't decipher :)
- nick
--
~~~~~~~~~~~~~~~~~~~~
Nick Tonkin {|8^)>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]