On Monday 24 of October 2011 20:48:33 Amol wrote:
Hi, i was trying to check on my php variables using the following code on
both my servers
?php
if($_SERVER['HTTPS'])
echo 'https';
else
echo 'Not Https';
echo BR;
$port = $_SERVER['SERVER_PORT'];
echo $port;
echo BR;
in configuration.
From: Brane F. Gračnar brane.grac...@tsmedia.si
To: haproxy@formilux.org; Amol mandm_z...@yahoo.com
Sent: Monday, October 24, 2011 4:58 PM
Subject: Re: php $_server variable when using haproxy stunnel
On Monday 24 of October 2011 20:48:33 Amol wrote
On Monday 24 of October 2011 23:13:54 Amol wrote:
Thanks Brane for the reply
but setting these options in my haproxy config
reqidel ^Server-Protocol:
reqadd Server-Protocol:\ https if src 127.0.0.1
gives me these errors
$ sudo /etc/init.d/haproxy restart
* Restarting haproxy haproxy
From: Brane F. Gračnar brane.grac...@tsmedia.si
To: Amol mandm_z...@yahoo.com
Cc: haproxy@formilux.org haproxy@formilux.org
Sent: Monday, October 24, 2011 5:37 PM
Subject: Re: php $_server variable when using haproxy stunnel
On Monday 24 of October 2011 23:13:54 Amol wrote:
Thanks Brane
4 matches
Mail list logo