Package cherrypy :: Module _cpmodpy :: Class ModPythonServer
[hide private]
[frames] | no frames]

Class ModPythonServer

source code

object --+
         |
        ModPythonServer

Instance Methods [hide private]
 
__init__(self, loc='/', port=80, opts=None, apache_path='apache', handler='cherrypy._cpmodpy::handler')
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
start(self) source code
 
stop(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  template = '\n# Apache2 server configuration file for running ...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, loc='/', port=80, opts=None, apache_path='apache', handler='cherrypy._cpmodpy::handler')
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

template

Value:
'''
# Apache2 server configuration file for running CherryPy with mod_pyth\
on.

DocumentRoot "/"
Listen %(port)s
LoadModule python_module modules/mod_python.so

...