ScubaInstructor
Programmer
Hello!
I want to do the following but without success:
The mod_auth_sspi sets an environment variable REMOTE_USER that I can access from perl.
I want to write this environment variable into the http header as the request is passed on via mod_jk2 to Tomcat. But I always get a null value for the header within Tomcat. Setting a fix string value for the header works fine.
So is it possible to gain access to environment variables inside httpd.conf?
Kind regards
Jochen
http.conf
<Location /ntlm >
[...]
AuthName "Login using your DOMAIN username and password"
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIOfferBasic On
require valid-user
RequestHeader set userid %{remote_user}e //Does NOT work
RequestHeader set user RABBIT // Does work!!!
</Location>
I want to do the following but without success:
The mod_auth_sspi sets an environment variable REMOTE_USER that I can access from perl.
I want to write this environment variable into the http header as the request is passed on via mod_jk2 to Tomcat. But I always get a null value for the header within Tomcat. Setting a fix string value for the header works fine.
So is it possible to gain access to environment variables inside httpd.conf?
Kind regards
Jochen
http.conf
<Location /ntlm >
[...]
AuthName "Login using your DOMAIN username and password"
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIOfferBasic On
require valid-user
RequestHeader set userid %{remote_user}e //Does NOT work
RequestHeader set user RABBIT // Does work!!!
</Location>