Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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: (7)
As of 2014-12-28 19:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls