Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Set HTTP Status code

by molybtek (Novice)
on Nov 17, 2011 at 01:19 UTC ( #938501=note: print w/ replies, xml ) Need Help??


in reply to Re: Set HTTP Status code
in thread Set HTTP Status code

We are using Apache 2.2 web server

I am able to execute the program - it is just that if I execute $self->header_props(-status => 404);, then the server doesn't output the results of the program, instead, it outputs the error message as posted.

So I'm guessing it may have something to do with mod_perl - since I don't have that set up on my local environment, and it works.


Comment on Re^2: Set HTTP Status code
Download Code
Re^3: Set HTTP Status code
by Anonymous Monk on Nov 17, 2011 at 10:35 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://938501]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2015-07-04 14:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls