Re: Reverse Proxy and header manipulation

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

 



From: "Tomer Okavi" <tomerok@xxxxxxxxx>
> Hi
> I'm using apache as front end for iis servers.
> I'm using mod_proxy and mod_proxy_balancer for the reverse proxy stuff and
> for load balancing requests beetween backend (IIS) servers.
> the front end apache is also doing ssl, backend communication is http
> (browser ----> https apache ------> http backend iis)
> i'm trying to pass some env variables like SSL_SESSION_ID to the backend
> servers via HTTP Headers.
> i tried  RequestHeader append SSL_SESSION_ID %{SSL_SESSION_ID}e with no
> luck.
> headers are set but with null values at the backend.
> 
> any help or pointers will be appreciated.
> 
> Thanks
> 
> Tomer.

Hi,

If you have %{SSL_SESSION_ID}e in that line, it means that you should already have defined the environment variable SSL_SESSION_ID. Have you defined it?

If you didn't, you could use just:

RequestHeader append SSL_SESSION_ID 1

You could create 2 virtual hosts, one that uses SSL and one that doesn't, and send this HTTP header only in the virtualhost that uses SSL.

Octavian


---------------------------------------------------------------------
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