Details
Assignee
UnassignedUnassignedReporter
Dan Switzer, IIDan Switzer, IILabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Priority
New
Details
Details
Assignee
Unassigned
UnassignedReporter
Dan Switzer, II
Dan Switzer, IILabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Priority
Created 29 July 2020 at 21:26
Updated 22 October 2020 at 17:22
In Adobe ColdFusion, when using Apache, any variables passed into Tomcat via mod_jk (by way of JkEnvVar) become available as CGI variables. We leverage this capability in our application to configure things based upon the environment the application is deployed.
However, Lucee does not currently support this.
In looking at the code, it would appear this could be added easily enough to the CGIImpl.java by changing the other() function to something like this:
But I could definitely be wrong. It's possible that might be breaking something.
Anyway, it would be great to see Lucee being able to read in any of the Tomcat environmental variables in the CGI scope.