1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/docs/CGI/NOTES.txt Sat Apr 24 20:34:47 2004 +0000
1.3 @@ -0,0 +1,13 @@
1.4 +Declare the script in httpd.conf or equivalent Web server configuration file.
1.5 +For example:
1.6 +
1.7 +ScriptAlias /cgi/simple "/home/paulb/Software/Python/WebStack/examples/CGI/SimpleHandler.py"
1.8 +
1.9 +The WebStack package must reside on the PYTHONPATH, along with the package
1.10 +containing the application itself. Therefore, ensure that the handler uses the
1.11 +appropriate entries in sys.path.
1.12 +
1.13 +Ensure that the handler file for the application has the appropriate
1.14 +permissions:
1.15 +
1.16 +chmod u+x examples/CGI/SimpleHandler.py