Re: Custom response problem

2014-03-18 Thread Adam Prime
I rarely use anything outside of Apache2::Const qw/:common/ :common Apache2::Const::AUTH_REQUIRED Apache2::Const::DECLINED Apache2::Const::DONE Apache2::Const::FORBIDDEN Apache2::Const::NOT_FOUND Apache2::Const::OK Apache2::Const::REDIRECT Apache2::Const::SERVER_ER

Re: Custom response problem

2014-03-18 Thread John Dunlap
This is something that could definitely be better documented. I've already been thrown for a loop by them on several occasions. Sadly, you can't just return the numeric status codes(which are clearly documented in the HTTP specifications) because the values of the constants do not match their corre

Re: Custom response problem

2014-03-18 Thread Adam Prime
I'm pretty sure you should be using Apache2::Const::SERVER_ERROR, not the HTTP_* constants. This could probably be documented better. You should likely be returning that constant instead of the HTTP_* ones as well. Adam On 14-03-18 11:59 AM, John Dunlap wrote: I recently upgraded my workstati

Re: Custom response problem

2014-03-18 Thread John Dunlap
rds > > Andreas > > > > > > *Von:* John Dunlap [mailto:j...@lariat.co] > *Gesendet:* Dienstag, 18. März 2014 17:16 > *An:* Andreas Mock > *Cc:* mod_perl list > *Betreff:* Re: Custom response problem > > > > I've tried it with "use Apache2::Requ

AW: Custom response problem

2014-03-18 Thread Andreas Mock
Thia is what I meant with "loading". So, I should have been more precise: "using" :-) Andreas Von: James Smith [mailto:j...@sanger.ac.uk] Gesendet: Dienstag, 18. März 2014 17:25 An: modperl@perl.apache.org Betreff: Re: Custom response problem Try: u

AW: Custom response problem

2014-03-18 Thread Andreas Mock
What does this give to you? perl -MApache2::RequestRec -e'print Apache2::RequestRec->VERSION' Regards Andreas Von: John Dunlap [mailto:j...@lariat.co] Gesendet: Dienstag, 18. März 2014 17:16 An: Andreas Mock Cc: mod_perl list Betreff: Re: Custom response problem

Re: Custom response problem

2014-03-18 Thread James Smith
n:*John Dunlap [mailto:j...@lariat.co <mailto:j...@lariat.co>] *Gesendet:* Dienstag, 18. März 2014 16:59 *An:* mod_perl list *Betreff:* Custom response problem I recently upgraded my workstation from Debian 6 to Debian 7 and I'm now encountering a problem that I

Re: Custom response problem

2014-03-18 Thread John Dunlap
pache2::RequestRec? > > > > Best regards > > Andreas Mock > > > > > > *Von:* John Dunlap [mailto:j...@lariat.co] > *Gesendet:* Dienstag, 18. März 2014 16:59 > *An:* mod_perl list > *Betreff:* Custom response problem > > > > I recently upg

AW: Custom response problem

2014-03-18 Thread Andreas Mock
Have you loaded Apache2::RequestRec? Best regards Andreas Mock Von: John Dunlap [mailto:j...@lariat.co] Gesendet: Dienstag, 18. März 2014 16:59 An: mod_perl list Betreff: Custom response problem I recently upgraded my workstation from Debian 6 to Debian 7 and I'm now encount

Custom response problem

2014-03-18 Thread John Dunlap
I recently upgraded my workstation from Debian 6 to Debian 7 and I'm now encountering a problem that I haven't seen before. My apache version is 2.2.22-13+deb7u1. My mod_perl version is 2.0.7-3. I'm guessing that I have an installation problem of some kind but I'm not sure where to look for problem