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

Changes between Version 1 and Version 2 of RedirectHttpsRequests


Ignore:
Timestamp:
03/05/06 00:46:37 (13 years ago)
Author:
plewis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RedirectHttpsRequests

    v1 v2  
    1 = Making HTTP and HTTPS Redirects Work = 
     1= Making HTTP and HTTPS Redirects Work With a Reverse Proxy = 
    22 
    33This guide is designed for TurboGears version 0.9. 
     
    1111== One Solution == 
    1212 
    13 One way to work around this is to have the proxy provider provide a hint to !CherryPy as to the original protocol. Most proxies have some way to set a custom  header to the request for passing it on.  So, the general solution is to add a special header to https requests, and then have a !CherryPy filter look for that header and modify the base url to something more appropriate. 
     13One way to work around this is to have the proxy provider provide a hint to !CherryPy as to the original protocol. Most proxies have some way to set a custom  header to the request before passing it on.  So, the general solution is to add a special header to https requests, and then have a !CherryPy filter look for that header and modify the base url to something more appropriate. 
    1414 
    1515=== Step One: Make the proxy set a custom header ===