Cameron Simpson wrote:
On 04Apr2009 16:08, Randy Syring ra...@rcs-comp.com wrote:
How tightly knit is the IIS i.e. do you have control over it? Maybe this
rewrite thing should be set up in IIS instead, it seems the more obvious
place for such control except that the rewrite config would no
W liście Randy Syring z dnia poniedziałek, 6 kwietnia 2009:
I would like my application to have control over the HTTPS-HTTP
redirects and would rather not force that logic into the forward facing
web server if at all possible. That just seems like an extra
configuration step that wouldn't
Using nginx as front end to Apache/mod_wsgi as an example:
On nginx side you would use:
proxy_set_header X-Url-Scheme $scheme;
and on Apache/mod_wsgi side, with Django 1.0 as an example, in WSGI
script file we would have:
import os, sys
sys.path.append('/usr/local/django')
Graham,
Excellent, thank you! That confirms for me the concept is correct, now
all I have to do is work on an IIS implementation. FUN!
--
Randy Syring
RCS Computers Web Solutions
502-644-4776
http://www.rcs-comp.com
Whether, then, you eat or drink or
A last note: paste.deploy.config.PrefixMiddleware does some fixup for cases
like this, including looking at X-Forwarded-Scheme and X-Forwarded-Proto for
the protocol (both names, because there's nothing approaching consensus on
what to name these headers).
2009/4/6 Randy Syring
On 04Apr2009 16:08, Randy Syring ra...@rcs-comp.com wrote:
I have a Python application that I want to run with the CherryPy WSGI
Server. My intention is to let the CherryPy server run on a non
standard port (say 9001) and then let IIS (yes, I know what you are
thinking, but that is what