Override HTTP 500 Internal Server Error in Apache -


i following article custom error pages in apache jboss as7 configure apache override http 500 internal server error. facing below problem, guess what's issue?

in #2 in above linked article

# (4) setting error code 404 "myapp" application
jkmount /myapp/* nodea;use_server_errors=404

in windows env works points jboss directly
jkmount /myapp/* jboss7;use_server_errors=500

but in linux points load balancer
jkmount /myapp/* loadbalancer2;use_server_errors=500

this gives me error:
jk_handler::mod_jk.c (2372): not find worker worker name=loadbalancer2;use_server_errors=500

windows apache version 2.2.17, linux apache version 2.5.1.

i found out problem, due older version of mod_jk. flag 'use_server_errors' introduced in mod_jk 1.2.27. in case linux apache 2.5.1 has mod_jk 1.2.26 that's why reads 'loadbalancer2;use_server_errors=500' whole. works in windows because there apache 2.2.17 has mod_jk 1.2.28 knows separate flag worker name.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -