in reply to Re: Set HTTP Status code
in thread Set HTTP Status code
We are using Apache 2.2 web server.
The server does find the code and is executing it - if I removed the code to change the status, it will display the output from the program, and the status is 200 OK.
However, I want it to display a status of 404 Not Found, so when I included the code $self->header_props(-status => 404);, I get the error message instead of the output from the program.
I've checked the error log, there are no entry for it.
|
|---|