unfortunately that doesn't help as well but what i realized that adding setenv HTTPS on
in the /etc/apache2/site-available/default Virtual host setup gets me there, then the $_server[HTTPS] comes back as https ________________________________ From: Brane F. Gračnar <[email protected]> To: Amol <[email protected]> Cc: "[email protected]" <[email protected]> Sent: Tuesday, October 25, 2011 3:43 AM Subject: Re: php $_server variable when using haproxy & stunnel On Tuesday 25 of October 2011 05:19:39 Amol wrote: > Hi Brane, this time it worked (the server restarted fine after i added > those lines) can you please elaborate how adding these lines has affected > my configuration ? since i still see that on the clients that the php > variable $_SERVER['HTTPS'] is "Not Https" If you want also $_SERVER[HTTPS] variable, then also add reqidel ^HTTPS: reqadd HTTPS:\ yes This config statement clears and then adds HTTP request header with value "yes" :) lp, Brane

