Hey,

I want transfer a static version number with every request

SetEnv config.version 1.0
JkEnvVar config.version

but I got this apache startup failure


Syntax error on line 25 of D:/tomcat/xxxx/mod_jk/mod_jk.conf:
JkEnvVar takes two arguments, Adds a name of environment variable that should be sent to servlet-engine


<<<

Env: Windows XP (SP2) Apache 2.0.53, mod_jk 1.2.10, Tomcat 5.5 HEAD


After I change it to

SetEnv config.version 1.0
JkEnvVar config.version none

config is working.

Other issue is, that only a request.getAttribute("config.version") give me 
access to the env attribute. The request.getAttributeNames() get only real container 
attribute names back.

Why mod_jk not transfer only those env var that really exists? How transfer a 
env var without value?
We must update the jk doc or change the semantic.

Peter




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to