1 Currently, the WSGI examples use the WSGI CGI handler code found in PEP 333
2 and placed in the wsgi_cgi module. Deploying in other environments would
3 require slightly different "glue code" to be written.
4
5 --------
6
7 Declare the script in httpd.conf or equivalent Web server configuration file.
8 For example:
9
10 ScriptAlias /wsgi/simple "/home/paulb/Software/Python/WebStack/examples/WSGI/SimpleHandler.py"
11
12 The WebStack package must reside on the PYTHONPATH, along with the package
13 containing the application itself. Therefore, ensure that the handler uses the
14 appropriate entries in sys.path.
15
16 Ensure that the handler file for the application has the appropriate
17 permissions:
18
19 chmod u+x examples/WSGI/SimpleHandler.py