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"
Thanks
__
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
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
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
>
> if($_SERVER['HTTPS'])
> echo 'https';
> else
> echo 'Not Https';
>echo "";
> $port = $_SERVER['SERVER_PORT'];
> echo $port;
> echo "";
>
Hi, i was trying to check on my php variables using the following code on both
my servers
";
$port = $_SERVER['SERVER_PORT'];
echo $port;
echo "";
$protocol = $_SERVER["SERVER_PROTOCOL"];
echo $protocol;
?>
my output would be:
Not Https
80
HTTP/1.1
my stunnel config is : ---
[https-load]
On Monday 24 of October 2011 14:29:07 Danie Weideman wrote:
> Is it possible to loadbalance between two active master ldap servers?
> If so I would like for one to be always persistent.
Something like:
frontend FE_ldap
bind1.2.3.4:389
modetcp
defailt_server BE_ld
Hi
Is it possible to loadbalance between two active master ldap servers?
If so I would like for one to be always persistent.
Thanx in advance
Kind regards
Danie Weideman
On 24 October 2011 11:42, Iceskysl wrote:
> I’m testing a new web server setup which is having a couple of issues.
> Essentially, we have a web server, where the code uses the remote IP for
> some interesting things, and also some apache directories secured down to
> some certain IP’s (our office
hey all
I’m testing a new web server setup which is having a couple of issues.
Essentially, we have a web server, where the code uses the remote IP for
some interesting things, and also some apache directories secured down to
some certain IP’s (our office etc).
However, we’ve just chucked this be
Found my mistake - i was using underscores instead of dashes to mark
headers! This works:
frontend main *:80
# local stunnel - add profile
acl is_local_https src LOCALHOST
reqadd HTTP-X-SECURE-RPROXY:\ TRUEif is_local_https
On Mon, Oct 24, 2011 at 9:08 AM,
Hi,
I've recently moved from Apache to stunnel to provide SSL for haproxy.
I have a need for the application behind haproxy to "know" if the connection
has come in via HTTP or HTTPS. Previously, we have been injecting a custom
header (X-SECURE-RPROXY or similar) in Apache if the connection is sec
11 matches
Mail list logo