Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 exploiting the Monastery: (16)
As of 2014-11-26 15:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (171 votes), past polls