Package cherrypy :: Package test :: Module modfastcgi :: Class ModFCGISupervisor
[hide private]
[frames] | no frames]

Class ModFCGISupervisor

source code

        object --+            
                 |            
 helper.Supervisor --+        
                     |        
helper.LocalSupervisor --+    
                         |    
helper.LocalWSGISupervisor --+
                             |
                            ModFCGISupervisor

Instance Methods [hide private]
 
__str__(self)
str(x)
source code
 
start(self, modulename)
Load and start the HTTP server.
source code
 
start_apache(self) source code
 
stop(self)
Gracefully shutdown a server that is serving forever.
source code
 
sync_apps(self)
Hook a new WSGI app into the origin server.
source code

Inherited from helper.LocalWSGISupervisor: get_app

Inherited from helper.LocalSupervisor: __init__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  httpserver_class = 'cherrypy.process.servers.FlupFCGIServer'
  using_apache = True
  using_wsgi = True
  template = '\n# Apache2 server conf file for testing CherryPy ...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

start(self, modulename)

source code 

Load and start the HTTP server.

Overrides: helper.LocalSupervisor.start
(inherited documentation)

stop(self)

source code 

Gracefully shutdown a server that is serving forever.

Overrides: helper.LocalSupervisor.stop

sync_apps(self)

source code 

Hook a new WSGI app into the origin server.

Overrides: helper.LocalSupervisor.sync_apps
(inherited documentation)

Class Variable Details [hide private]

template

Value:
'''
# Apache2 server conf file for testing CherryPy with mod_fastcgi.
# fumanchu: I had to hard-code paths due to crazy Debian layouts :(
ServerRoot /usr/lib/apache2
User #1000
ErrorLog %(root)s/mod_fastcgi.error.log

DocumentRoot "%(root)s"
...