/ Zope / Apsis / Pound Mailing List / Archive / 2007 / 2007-07 / redirect http to https

[ << ] [ >> ]

[ Combining Pound with modsecurity / "Mathew ... ] [ backends periodically rendered DEAD / Gergely ... ]

redirect http to https
Philipp Michels <michels(at)rz.uni-freiburg.de>
2007-07-25 09:14:37 [ FULL ]
Hello,

i read the archive of the pound maillinglist but did not find a answer
which solves my problem.

We have running a zope server and use pound to do load balancing. At the
moment all requests to http://<zope_server>/manage
will be blocked from
the first pound instance with the line:

UrlGroup ".*/manage$"
EndGroup

I would like to setup a configuration so that all manage requests will
redirected to the 2nd pound instance which handels https requests. I
tried it that way:

request http://<zope_server>/manage
--> 1st pound (redirect) --> 2nd
pound --> response https://<zope_server>/manage

1st pound instance:

## Redirect Zope-Management-Interface to HTTPS pound backend
Service
  URL ".*/manage$"
  BackEnd
    Address 132.230.7.46 # 2nd pound instance
    Port    443
  End
End

2nd pound instance:

[...]
Client		300
AddHeader	"HTTPS: ON"
RewriteLocation 2

Service
  URL ".*/manage$"
  BackEnd
    Address 132.230.7.46
    Port    7081  # port for zope
  End
End


this configuration does not work i get the following error:

pound: response error read from 132.230.7.46:443: Success

I tried already the redirect option on 1st pound instance. This works
but i have to do the HTTP Authentification two times. First for
http://<zope_server> and second
for https://<zope_server>.

Any suggestions?

kind regards

Philipp Michels
[...]

MailBoxer