RE: Reverse Proxy and header manipulation

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

 



> -----Message d'origine-----
> De : Octavian Rasnita [mailto:orasnita@xxxxxxxxx]
> Envoyé : dimanche 23 mai 2010 18:05
> À : users@xxxxxxxxxxxxxxxx
> Objet : Re:  Reverse Proxy and header manipulation
> 
> 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
> 
> 

Hi,

Just some ideas :
- do you have 'SSLOptions +StdEnvVars' in your config ?
- did you try with 'RequestHeader set ...' ?

Regards

Emmanuel



[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