use_server_errors and JKMount

2010-10-23 Thread Henri Gomez
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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: use_server_errors and JKMount

2010-10-23 Thread Mladen Turk

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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: use_server_errors and JKMount

2010-10-23 Thread Mladen Turk

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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: use_server_errors and JKMount

2010-10-23 Thread Henri Gomez
 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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org