tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Johnson <jjohn...@livedatagroup.com>
Subject SetEnvIf example in docs missing "="
Date Fri, 06 Oct 2006 18:10:49 GMT
It took me a while to figure out why the example at the very bottom of 
http://tomcat.apache.org/connectors-doc/config/apache.html kept throwing
an error like this:
[2006-10-06 14:05:06] [10200:7072] [info]  jk_handler::mod_jk.c (2071): Could not find a worker
for worker name=1

I finally figure out that instead of this:
SetEnvIf REQUEST_URI ^/apps/([^/]*)/ JK_WORKER_NAME $1

it should be this:
SetEnvIf REQUEST_URI ^/apps/([^/]*)/ JK_WORKER_NAME=$1

Awesome feature by the way, as well as the new ability to log which real 
workers the load balancer sends the requests to via apache logging!

Thanks!



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message