# HG changeset patch # User paulb # Date 1082838850 0 # Node ID 663e2e70ca64005eb1793bb4ba87fcf3a820960b # Parent 7fbe8eca11c33ee0986e224441a67ffb97fe4af2 [project @ 2004-04-24 20:34:10 by paulb] Added PYTHONPATH notes to the documentation. diff -r 7fbe8eca11c3 -r 663e2e70ca64 docs/ModPython/NOTES.txt --- a/docs/ModPython/NOTES.txt Sat Apr 24 20:33:57 2004 +0000 +++ b/docs/ModPython/NOTES.txt Sat Apr 24 20:34:10 2004 +0000 @@ -14,10 +14,14 @@ defined for mod_python, and that the handler should have a distinct name from other handlers employed. -Using such a definition in httpd.conf, only server resources residing directly -below "/simple" in the URL "hierarchy" with names ending in ".simple" would be -associated with the Simple WebStack application's resources. Therefore, the -following URL paths would access the application: +The WebStack package must reside on the PYTHONPATH, along with the package +containing the application itself. Therefore, ensure that the handler uses the +appropriate entries in sys.path. + +Using the above definition in httpd.conf, only server resources residing +directly below "/simple" in the URL "hierarchy" with names ending in ".simple" +would be associated with the Simple WebStack application's resources. +Therefore, the following URL paths would access the application: /simple/home.simple /simple/tasks.simple/my-tasks