We're doing that but, for whatever reason, the only way we were able to get
apache to return JSON instead of HTML was in assbackwards mode
On Mon, Oct 31, 2016 at 10:46 AM, Adam Prime wrote:
> On 16-10-31 10:34 AM, John Dunlap wrote:
>
>> We do this by processing all
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.
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
On Mon, Oct 31, 2016 at 5:44 AM, A. Warnier wrote:
> On 31.10.2016 10:26, Michel Jansen wrote:
>
>> Goodmorning,
>>
>>
On 31.10.2016 10:26, Michel Jansen wrote:
Goodmorning,
We are using Apache2-ModPerl for the backend of a mobile app and would like to
switch off
the standard ErrorDocuments in Apache2. Is this possible?
Have a look here :
http://httpd.apache.org/docs/2.4/mod/core.html#errordocument
I
Goodmorning,
We are using Apache2-ModPerl for the backend of a mobile app and would
like to switch off the standard ErrorDocuments in Apache2. Is this
possible?
Thanks in advance,
Michel