You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/12/09 18:19:11 UTC

DO NOT REPLY [Bug 25364] New: - mod_jk2 cannot send additional request attributes

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25364>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25364

mod_jk2 cannot send additional request attributes

           Summary: mod_jk2 cannot send additional request attributes
           Product: Tomcat 5
           Version: 5.0.16
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Native:JK
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: makub@ics.muni.cz


In mod_jk1, it is possible to send additional request attributes
using directive

JkEnvVar <CGI_variable> <default_value>

This is useful for passing information produced by other Apache modules,
typically some authentication modules.

But in mod_jk2 there is no setting for this. I found that in file
jk/native2/include/jk_workerEnv.h 
there are defined members "envvars_in_use" and "envvars" in "struct jk_workerEnv"
to enable this feature and name CGI variables to pass, and even in file
jk/native2/server/apache13/jk_service_apache13.c
there is code which sends values of CGI variables stored in "workerEnv->envvar",
but there is no way how to set "envvar" from workers2.properties

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