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 <a...@ice-sa.com> wrote: > 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 believe it is otherwise possible to do this dynamically with mod_perl, > but the above is the simplest and most direct method. > > Note : if you want more precise information, then also supply your version > of Apache and mod_perl. > > > -- John Dunlap *CTO | Lariat * *Direct:* *j...@lariat.co <j...@lariat.co>* *Customer Service:* 877.268.6667 supp...@lariat.co