1 Declare the script in httpd.conf or equivalent Web server configuration file.
2 For example:
3
4 ScriptAlias /cgi/simple "/home/paulb/Software/Python/WebStack/examples/CGI/SimpleHandler.py"
5
6 The WebStack package must reside on the PYTHONPATH, along with the package
7 containing the application itself. Therefore, ensure that the handler uses the
8 appropriate entries in sys.path.
9
10 Ensure that the handler file for the application has the appropriate
11 permissions:
12
13 chmod u+x examples/CGI/SimpleHandler.py