From: Leo Catalinas <>
Date: Thu, 29 May 2008 20:02:55 +0200


I am new to HAProxy.

I am using Stunnel + Haproxy like described in the Architecture Manual (section 3.1).

Everything works ok, but I need to force several pages to be only served through HTTPS and never with HTTP (some forms with private data, etc..).

Until now, I did it with Apache RewriteRule and some PHP checks..

Now, the Apache servers always receives HTTP and never HTTPS because this is always handled by stunnel and forwarded as HTTP.

I figure that there is HAProxy's job in this case.

The problem is that I don't know how to write a rule that forces these redirections. For example:

all traffic on ->

None of these rules work for me.

Help is very appreciated :)

Thank you for this great software!!


Leonardo Catalinas Gállego
Personal de Tecnología y Sistemas IBD.

Centro de Gestión iberCaja Directo.
C/ Bari 49, 50014 Zaragoza
Tlf. +034 976 748 814

La información incluida en el presente correo electrónico es 
CONFIDENCIAL, siendo para el uso exclusivo del destinatario 
arriba mencionado. Si usted lee este mensaje y no es el 
destinatario señalado, el empleado o el agente responsable 
de entregar el mensaje al destinatario, o ha recibido esta 
comunicación por error, le informamos que está totalmente 
prohibida cualquier divulgación, distribución o reproducción 
de esta comunicación, y le rogamos que nos lo notifique, nos 
devuelva el mensaje original a la dirección arriba mencionada 
y borre el mensaje.

Received on 2008/05/29 20:02

This archive was generated by hypermail 2.2.0 : 2008/05/29 20:15 CEST