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
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
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
@Andreas Mock: "2.07"
@James Smith: That worked! Thanks!
On Tue, Mar 18, 2014 at 12:25 PM, Andreas Mock wrote:
> What does this give to you?
>
>
>
> perl -MApache2::RequestRec -e'print Apache2::RequestRec->VERSION'
>
>
>
>
>
> Regards
>
> Andreas
>
>
>
>
>
> *Von:* John Dunlap [mailto:j...
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:
use Apache2::Response ();
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
I've tried i
Try:
use Apache2::Response ();
This should add the method to $r (a lot of the Apache2:: modules do this
- Apache2::RequestUtil, Apache2::Upload etc)
On 18/03/2014 16:16, John Dunlap wrote:
I've tried it with "use Apache2::RequestRec;" at the top of my handler
and without it. The outcome is t
I've tried it with "use Apache2::RequestRec;" at the top of my handler and
without it. The outcome is the same in both cases. If I attempt to install
it from CPAN, it says that it is already installed.
On Tue, Mar 18, 2014 at 12:13 PM, Andreas Mock wrote:
> Have you loaded Apache2::RequestRec?
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
encountering a
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
10 matches
Mail list logo