Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #400 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

HTTPRedirect, https, and proxies

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone: 0.9
Component: CherryPy Version: 0.8
Severity: normal Keywords:
Cc:

Description

I have a webapp that is supposed to be secured via SSL. To do so, I setup lighttpd with SSL on the front end, then had it proxy back to the TurboGears app on the backend. This works fine, up until I do something like the following:

raise cherrypy.HTTPRedirect(turbogears.url("home"))

Instead of taking me to:

 https://site.com/home

it takes me to:

 http://site.com/home

I'm guessing it's due to the fact that the connection from the proxy to the turbogears app is non-ssl, and somehow that's fudging things up. Still, if anyone has messed with this and had similar problems, any help you could give me would be much appreciated. Thanks!

Change History

comment:1 Changed 13 years ago by anonymous

  • Milestone set to 0.9

comment:2 Changed 13 years ago by plewis

There is a recipie on one way to make this work.

comment:3 Changed 13 years ago by godoy

  • Status changed from new to closed
  • Resolution set to fixed

The recipe provided makes this work. I use the Apache one and have tried the one with Pound. Also CherryPy?'s recipes on their wiki are also available for that.

Note: See TracTickets for help on using tickets.