On 16-10-31 10:34 AM, John Dunlap wrote:
We do this by processing all requests in an eval block and putting
Apache into assbackwards mode so that we can send a 500 response with a
JSON response body

You can also do it with $r->custom_response[1] from within your mod_perl code itself.

https://perl.apache.org/docs/2.0/api/Apache2/Response.html#C_custom_response_

Adam

Reply via email to