Subject: | Incorrect documentation in Apache2::RequestRec |
Date: | Thu, 25 Mar 2010 15:40:36 +0000 |
To: | bug-mod_perl [...] rt.cpan.org |
From: | Jose Carlos Pereira <jose.carlos [...] datapulse.net> |
Good Afternoon
We recently upgraded to Apache2.
Our proxy code, stopped working, which frustrated us a bit as the code
is exactly the same as in the documentation.
http://search.cpan.org/~gozer/mod_perl-2.0.4/docs/api/Apache2/RequestRec.pod#proxyreq
After much debugging, we changed $r->proxyreq(1) to $r->proxyreq(2),
which solved our problems
The documentation refers to valid values for proxyreq as:
"0, 1 or none"
which apparently is incorrect...
Maybe referring to the constants would be more correct...?
http://search.cpan.org/~gozer/mod_perl-2.0.4/docs/api/Apache2/Const.pod#:proxy
best regards
--
José Carlos Pereira