Unable to pass SHIB_USERID from Apache to Oracle HTTP server
Murthy Nunna
mnunna at fnal.gov
Mon Sep 7 08:45:52 EDT 2015
Scott, Thank you!
In my rewrite configuration... when I defined a new variable it is still the same problem. So, I think you are right. This is more of an Apache issue I am having rather than mod_shib...
SetEnv TEST_USERID asdf
RewriteRule /pls/cert/(.*) http://%{SERVER_NAME}:7777/pls/cert/$1 [P,L,env=HTTP_X_FORWARDED_FOR:%{HTTP_X_FORWARDED_FOR
},env=TEST_USERID:%{SSL:TEST_USERID}]
Rewrite log:
131.225.74.243 - - [06/Sep/2015:07:02:55 --0500] [www-esh-dba.fnal.gov/sid#7f20b0055bb8][rid#7f20b0197b58/initial] (5) setting env variable 'TEST_USERID' to ''
-----Original Message-----
From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Cantor, Scott
Sent: Monday, September 07, 2015 12:33 AM
To: Shib Users <users at shibboleth.net>
Subject: Re: Unable to pass SHIB_USERID from Apache to Oracle HTTP server
On 9/6/15, 10:27 PM, "users on behalf of Murthy Nunna" <users-bounces at shibboleth.net on behalf of mnunna at fnal.gov> wrote:
>RewriteRule /pls/cert/(.*) http://%{SERVER_NAME}:7777/pls/cert/$1 [P,L,env=HTTP_X_FORWARDED_FOR:%{HTTP_X_FORWARDED_FOR},env=SHIB_USERID:%{SSL:SHIB_USERID}]
>
>When I print all env variables in apache I see SHIB_USERID has a value. But in OHS it comes out as blank.
>Also, in Apache rewrite log, I see it is being set to blank…
Then your rewrite rule probably executes before mod_shib does. I don't know of any way to influence that.
-- Scott
--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
More information about the users
mailing list