Re: Reverse proxy - Getting CGI environment variable on backend server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 9, 2010 at 2:14 PM, Amit Panwar <amit.p@xxxxxxxxxxxx> wrote:
> Hi All,
>
> I'm using reverse proxy to forward request to my internal apache server,
> which is working fine.
> Here is my configuration on front apache server:
>
>   ProxyRequests Off
>   ProxyPassInterpolateEnv On
>   ProxyPass /someapp http://internal_server/someapp interpolate
>   ProxyPassReverse /someapp http://internal_server/someapp interpolate
>
> I want to access the CGI environment variables on my backend servers.
>
> Actually I want to setup a shibboleth environment my Shibboleth Service
> provider is running on my front end apache server and shibboleth protected
> application on internal server. After authentication Server provider set
> some attributes on front end server's environment and I want those
> attributes to be accessible to my application running on backend apache
> server. So is it possible to forward some environment variable from front
> server to backend servers and if yes then how?
>
> Thanks in advance
> ap1285
>
>

Convert them into additional request headers:

RequestHeader set X-Shib-Attribute %{Shib-Attribute}e

Cheers

Tom

---------------------------------------------------------------------
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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux