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 3 and Version 4 of RedirectHttpsRequests


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

--

Legend:

Unmodified
Added
Removed
Modified
  • RedirectHttpsRequests

    v3 v4  
    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 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. 
     13One way to work around this is to have the proxy give 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 ===