Changeset 9:8d4976c453c6

Show
Ignore:
Timestamp:
04/16/05 02:53:04 (3 years ago)
Author:
Allan Saddi <allan@saddi.com>
branch:
default
convert_revision:
svn:46762da8-4eb7-0310-94e9-d918b60927c8/flup/trunk@1766
Message:

Forgot to update the subclasses.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • flup/server/scgi.py

    r2 r9  
    2626 
    2727""" 
    28 scgi - an SCGI/WSGI gateway. (I might have to rename this module.) 
     28scgi - an SCGI/WSGI gateway. 
    2929 
    3030For more information about SCGI and mod_scgi for Apache1/Apache2, see 
     
    8888    mind running in multiple processes, go use SWAP. ;) 
    8989    """ 
    90     def __init__(self, application, environ=None, 
     90    def __init__(self, application, scriptName='', environ=None, 
    9191                 multithreaded=True, 
    9292                 bindAddress=('localhost', 4000), allowedServers=None, 
    9393                 loggingLevel=logging.INFO, **kw): 
    9494        """ 
     95        scriptName is the initial portion of the URL path that "belongs" 
     96        to your application. It is used to determine PATH_INFO (which doesn't 
     97        seem to be passed in). An empty scriptName means your application 
     98        is mounted at the root of your virtual host. 
     99 
    95100        environ, which must be a dictionary, can contain any additional 
    96101        environment variables you want to pass to your application. 
     
    108113        """ 
    109114        BaseSCGIServer.__init__(self, application, 
     115                                scriptName=scriptName, 
    110116                                environ=environ, 
    111117                                multithreaded=multithreaded, 
  • flup/server/scgi_fork.py

    r2 r9  
    2626 
    2727""" 
    28 scgi - an SCGI/WSGI gateway. (I might have to rename this module.) 
     28scgi - an SCGI/WSGI gateway. 
    2929 
    3030For more information about SCGI and mod_scgi for Apache1/Apache2, see 
     
    8888    mind running in multiple processes, go use SWAP. ;) 
    8989    """ 
    90     def __init__(self, application, environ=None, 
     90    def __init__(self, application, scriptName='', environ=None, 
    9191                 bindAddress=('localhost', 4000), allowedServers=None, 
    9292                 loggingLevel=logging.INFO, **kw): 
    9393        """ 
     94        scriptName is the initial portion of the URL path that "belongs" 
     95        to your application. It is used to determine PATH_INFO (which doesn't 
     96        seem to be passed in). An empty scriptName means your application 
     97        is mounted at the root of your virtual host. 
     98 
    9499        environ, which must be a dictionary, can contain any additional 
    95100        environment variables you want to pass to your application. 
     
    107112        """ 
    108113        BaseSCGIServer.__init__(self, application, 
     114                                scriptName=scriptName, 
    109115                                environ=environ, 
    110116                                multithreaded=False,