[Web-SIG] Who is responsible for SCRIPT_NAME?
Robert Brewer
fumanchu at amor.org
Tue Feb 7 22:54:47 CET 2006
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
More information about the Web-SIG
mailing list