[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-web-sig
Subject:    [Web-SIG] Who is responsible for SCRIPT_NAME?
From:       fumanchu () amor ! org (Robert Brewer)
Date:       2006-02-07 21:54:47
Message-ID: 6949EC6CD39F97498A57E0FA55295B210171949A () ex9 ! hostedexchange ! local
[Download RAW message or body]

Phillip J. Eby wrote:
> > 1. If "the application" refers to the end app or framework
> > 2. "The application" could refer to the routing-middleware 
> 
> "Application" simply refers to any code that is reading an 
> 'environ' that it received from *its* server.  So *both*
> of these are "applications", and each should see the correct
> value of SCRIPT_NAME.

OK. Thanks for the clarification. Based on this, I can now go modify
CherryPy's WSGI server, so that it can serve multiple WSGI applications
in the same process, and set a different SCRIPT_NAME for each one, if
requested.


Robert Brewer
System Architect
Amor Ministries
fumanchu at amor.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic