Hi all,
I use TG2 behind an Apache server configured as a reverse proxy and
serving pages through HTTPS. It works fine except that the use of
'redirect' function makes the redirection using HTTP. How can I force
redirect to use HTTPS ?
Currently the Apache server redirect all HTTP queries to HTTPS, so my
system is functionnal but some information are exchanged through HTTP
and I want to avoid this because :
- some information is exchanged without encryption
- there are two redirections in case redirect is used: TG2 send a
redirect to http:///some_url, then the client loads that redirection,
then the apache server tells the client to redirec to to
https://some_url, then the client can get the requested page. This is
quite heavy and useless.
Would the WSGI mode be the solution ? Do I miss something ? Is it a
"missing feature" of TG2 ?
Thanks
Damien
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.