Hi all, let me see.

This is the sentence that i'm using now in httpd.conf, following
document http://httpd.apache.org/docs/current/mod/mod_headers.html

RequestHeader set PF_AUTH_CORP_ID_NEW env=%{PF_AUTH_SUBJECT}e

And this is what is can see in Wireshark

PF_AUTH_CORP_ID_NEW: env=(null)
PF_AUTH_SUBJECT: a156168

Do you know if this sentence is right, because assigned value is
unexpected for me, viewing value of environment variable that i'm
using

Thanks for your time

Regards,
Andres

2012/2/23 Andres Aguado <andriu....@gmail.com>:
> Thanks Erik. There is a PingFederate integration kit that will provide
> user information autenthication information through environment
> variables, it means, when a resource of application server is
> requested via http, an authentication process is triggered, and user
> id is provided through this PingFederate, which generate an
> environment variable with userid for apache, and we need to forward
> this userid embedded as http headers in http request sent from reverse
> proxy to application server.
>
> I'll try that mod_info
>
> thanks
> Andres
>
> 2012/2/23 Eric Covener <cove...@gmail.com>:
>> On Thu, Feb 23, 2012 at 4:39 AM, Andres Aguado <andriu....@gmail.com> wrote:
>>> Hi all,
>>>
>>>    Let me ask a short cuestion for help about my virtual host, that i
>>> think it's not working
>>>
>>>   Here is my virtual host:
>>>
>>>   RequestHeader set NEW_HEADER env=%{ENV_VARIABLE}e
>>>   ProxyPass /path http://destination_apphost
>>>   ProxyPassReverse /path http://destination_apphost
>>>
>>>   So, when i connect to www.myvhost.com from my computer, an
>>> application will process my request and create an environment variable
>>> (ENV_VARIABLE) with information that i want to send to destination
>>> application host through http headers (NEW_HEADER).
>>>
>>> Do you know if this configuration should work?, because i'm sniffing
>>> traffic with WireShark and i'm not able to see NEW_HEADER anywhere
>>>
>>
>> What applicationsis running before the request is proxied?  The
>> operative part is to look at when mod_headers will try to read the
>> environment variable, which is probably before you'll set it.  You can
>> see when modules run in mod_info.
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
>> For additional commands, e-mail: users-h...@httpd.apache.org
>>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to