You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Henri Gomez <he...@gmail.com> on 2010/10/23 15:48:48 UTC
use_server_errors and JKMount
Hi to all,
I'd like to have my Apache 2.2.x handle Tomcat error pages as they
handle their own errors.
uriworkermap allow it via the use_server_errors directive.
I'm not using uriworkermap but only JKMount.
Did there is a way to to inject the use_server_errors directive
without uriworkermap ?
Regards
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: use_server_errors and JKMount
Posted by Mladen Turk <mt...@apache.org>.
On 10/23/2010 03:48 PM, Henri Gomez wrote:
> Hi to all,
>
> Did there is a way to to inject the use_server_errors directive
> without uriworkermap ?
>
Sure it is:
JkMount /examples/* loadbalancer;fail_on_status=-404,-500,503
Regards
--
^TM
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: use_server_errors and JKMount
Posted by Henri Gomez <he...@gmail.com>.
>>> Hi to all,
>>>
>>> Did there is a way to to inject the use_server_errors directive
>>> without uriworkermap ?
>>>
>>
>> Sure it is:
>> JkMount /examples/* loadbalancer;fail_on_status=-404,-500,503
>>
>
> It should be
> JkMount /examples/* loadbalancer;use_server_errors=400
> or even ...
> JkMount /examples/*
> loadbalancer;fail_on_status=-404,-500,503;use_server_errors=400
> but you got the picture :)
Yes, I see what should be done.
May thanks Mladen, you save my day :)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: use_server_errors and JKMount
Posted by Mladen Turk <mt...@apache.org>.
On 10/23/2010 04:22 PM, Mladen Turk wrote:
> On 10/23/2010 03:48 PM, Henri Gomez wrote:
>> Hi to all,
>>
>> Did there is a way to to inject the use_server_errors directive
>> without uriworkermap ?
>>
>
> Sure it is:
> JkMount /examples/* loadbalancer;fail_on_status=-404,-500,503
>
It should be
JkMount /examples/* loadbalancer;use_server_errors=400
or even ...
JkMount /examples/* loadbalancer;fail_on_status=-404,-500,503;use_server_errors=400
but you got the picture :)
Regards
--
^TM
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org