paulb@33 | 1 | Specifying the appropriate PYTHONPATH, invoke the application program. For
|
paulb@33 | 2 | example, in the WebStack distribution directory:
|
paulb@33 | 3 |
|
paulb@40 | 4 | PYTHONPATH=.:examples/Common python examples/BaseHTTPRequestHandler/SimpleApp.py
|
paulb@33 | 5 |
|
paulb@33 | 6 | The WebStack package must reside on the PYTHONPATH, along with the package
|
paulb@33 | 7 | containing the application itself.
|
paulb@627 | 8 |
|
paulb@627 | 9 | Secure Server
|
paulb@627 | 10 | -------------
|
paulb@627 | 11 |
|
paulb@627 | 12 | The server can be made secure (ie. to serve https URLs over SSL) by using the
|
paulb@627 | 13 | secure_deploy function and by providing key and certificate filenames. See
|
paulb@627 | 14 | this related article for more information:
|
paulb@627 | 15 |
|
paulb@627 | 16 | http://mail.python.org/pipermail/python-list/2006-September/402640.html
|