HTTPS Question

Mar 24, 2009 at 4:43 PM
I have a Python application that I want to run with the Cherrypy WSGI Server.  My intention is to let that server run on a non standard port (say 9001) and then let IIS reverse proxy those requests to the cherrypy server. 

However, I am wondering how the rewriter handles HTTPS requests.  Currently, there are only a few pages in my app that need HTTPS.  Currently, if one of those pages is requested using HTTP, I will issue a HTTP header redirect to the HTTPS page.  Will that still work with the rewriter?  Also, will the converse work?  If HTTPS is used on a page that doesn't need it, I want to redirect them to the HTTP version.

Thanks.