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.
In reply to Re^2: Set HTTP Status code
by molybtek
in thread Set HTTP Status code
by molybtek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |