Re: Modperl as backend for mobile apps

John Dunlap <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CAC5eUSvUgD-wB0Z6OVqdSWEq_fvjxCPi1CikWgcHpW4LR5XvmA@mail.gmail.com>
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 <[email protected]> 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:*
*[email protected] <[email protected]>*

*Customer Service:*
877.268.6667
[email protected]
100x60.png (image/png, 2.1 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.