Stephen Potenza
steve at potenzaconsulting.com
Thu May 26 18:22:22 EDT 2005
I realized that once I re-read your email again more carefully... made the changes and it works perfectly. Thank you for your help! Graham Dumpleton wrote: > You are running up against the last case I mentioned, namely: > >> Further, even if "Directory" is used, if both the handler and >> the "steve" package are in a subdirectory of the directory for >> which PythonHandler is defined, it will not find "steve" as only >> the top most PythonHandler directory is added to the module search >> path. > > > Ie., because PythonHandler is for '/var/www', only that directory > is added to the Python module search path, not the "python" subdirectory. > Change the Directory directive to "var/www/python" and it should > work. Alternatively, move "steve" into '/var/www'. Ie., a module > import from a handler does not implicitly look in the same directory > as the handler first like when using Python normally.
|