while playing with jk2, I discovered many things I didn't like :
* If no worker or group is defined for an uri, it goes to lb:lb.
The default worker SHOULD BE configurable, I'll modify this.
* Stupid question, but how could I use a normal ajp13 socket, not a group in uri defs ?
* LB error handle directly the output headers, which prevent ErrorDocument to do its correct job :
in jk_lb_worker.c :
if(rec == NULL) {
/* NULL record, no more workers left ... */
env->l->jkLog(env, env->l, JK_LOG_ERROR,
"lb_worker.service() all workers in error or disabled state\n");
/* set hwBalanceErr status */
if( lb->hwBalanceErr != 0 ) {
s->status=lb->hwBalanceErr;
} else {
s->status=lb->noWorkerCode; /* SERVICE_UNAVAILABLE is the default */
}
if( s->status == 302 ) { s->headers_out->put(env, s->headers_out, "Location", lb->noWorkerMsg, NULL); s->head(env, s ); } else { s->headers_out->put(env, s->headers_out, "Content-Type", "text/html", NULL); s->head(env, s ); s->jkprintf(env, s, lb->noWorkerMsg ); }
s->afterRequest( env, s); lb_priv->error_time = time(NULL); return JK_ERR; }
I'll modify that since it shouldn't be done this way, at least in Apache 2.0, I'd like to have advices for IIS/NES.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]