httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bailleul <Emmanuel.Baill...@telindus.fr>
Subject RE: [users@httpd] Reverse Proxy and header manipulation
Date Mon, 24 May 2010 07:52:09 GMT
> -----Message d'origine-----
> De : Octavian Rasnita [mailto:orasnita@gmail.com]
> Envoyé : dimanche 23 mai 2010 18:05
> À : users@httpd.apache.org
> Objet : Re: [users@httpd] Reverse Proxy and header manipulation
> 
> From: "Tomer Okavi" <tomerok@gmail.com>
> > 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
Mime
View raw message